.wp-block-wallpaper-cursor-box {
    box-sizing: border-box;
    width: 100%;
    margin: 24px 0;
}

.wp-block-wallpaper-cursor-box *,
.wp-block-wallpaper-cursor-box *::before,
.wp-block-wallpaper-cursor-box *::after {
    box-sizing: border-box;
}

.wp-block-wallpaper-cursor-box .cursor-box {
    position: relative;
    display: flex;
    width: min(100%, 442px);
    height: 98px;
    margin-right: auto;
    margin-left: auto;
    background: #e2e3ec;
    border: 2px dashed #babccb;
    border-radius: 15px;
    transition: border-color .3s ease-in-out, background-color .3s ease-in-out;
}

.wp-block-wallpaper-cursor-box .cursor-box:hover {
    border-color: #8f3ffb;
}

.wp-block-wallpaper-cursor-box .wallpaper-cursor-box-zone {
    position: relative;
    display: flex;
    width: 50%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    overflow-wrap: anywhere;
    color: #aeafbf;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: color .3s ease-in-out;
}

.wp-block-wallpaper-cursor-box .wallpaper-cursor-box-zone:hover {
    color: #8f3ffb;
}

.wp-block-wallpaper-cursor-box .wallpaper-cursor-box-pointer {
    border-left: 1px dashed #babccb;
}

.wp-block-wallpaper-cursor-box .item-eye {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    margin: auto;
    padding: 0;
    color: #cdcfde;
    font-size: 16px;
    line-height: 1;
    background: #aeafbf;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
    transition: color .3s ease-in-out, background-color .3s ease-in-out, transform .2s ease;
}

.wp-block-wallpaper-cursor-box .item-eye:hover,
.wp-block-wallpaper-cursor-box .item-eye:focus-visible {
    color: #8f3ffb;
    outline: 0;
    transform: scale(1.04);
}

.wp-block-wallpaper-cursor-box .item-eye.active {
    color: #fff;
    background: #8f3ffb;
}

.wp-block-wallpaper-cursor-box .item-eye i {
    display: inline-block;
    color: currentColor;
    font-size: inherit;
    line-height: 1;
}

.wp-block-wallpaper-cursor-box .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wallpaper-cursor-box-media-field {
    margin-bottom: 18px;
}

.wallpaper-cursor-box-media-label {
    display: block;
    margin-bottom: 8px;
    color: #1e1e1e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.wallpaper-cursor-box-media-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.wallpaper-cursor-box-media-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    overflow: hidden;
    background: #f0f0f1;
    border: 1px solid #dcdcde;
    border-radius: 6px;
}

.wallpaper-cursor-box-media-thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wallpaper-cursor-box-media-empty {
    margin: 0 0 8px;
    color: #757575;
    font-size: 13px;
}

.wallpaper-cursor-box-media-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dark-theme .wp-block-wallpaper-cursor-box .cursor-box {
    background: rgba(48, 51, 62, .92);
    border-color: rgba(186, 188, 203, .48);
}

.dark-theme .wp-block-wallpaper-cursor-box .cursor-box:hover {
    border-color: #a56bff;
}

.dark-theme .wp-block-wallpaper-cursor-box .wallpaper-cursor-box-zone {
    color: rgba(220, 224, 238, .72);
}

.dark-theme .wp-block-wallpaper-cursor-box .wallpaper-cursor-box-zone:hover {
    color: #b88aff;
}

.dark-theme .wp-block-wallpaper-cursor-box .wallpaper-cursor-box-pointer {
    border-left-color: rgba(186, 188, 203, .42);
}

.dark-theme .wp-block-wallpaper-cursor-box .item-eye {
    color: rgba(236, 238, 248, .82);
    background: rgba(174, 175, 191, .42);
}

.dark-theme .wp-block-wallpaper-cursor-box .item-eye.active {
    color: #fff;
    background: #8f3ffb;
}

@media (max-width: 567px) {
    .wp-block-wallpaper-cursor-box .cursor-box {
        height: 78px;
    }

    .wp-block-wallpaper-cursor-box .wallpaper-cursor-box-zone {
        padding: 10px 14px;
        font-size: 18px;
    }
}
