.sp-bfc25f0d-wrapper {
    display: inline-block;
}

.sp-bfc25f0d-icon {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sp-bfc25f0d-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

body.admin-bar .sp-bfc25f0d-modal {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .sp-bfc25f0d-modal {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.sp-bfc25f0d-modal.is-open {
    display: flex;
}

.sp-bfc25f0d-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.sp-bfc25f0d-modal-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.sp-bfc25f0d-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.sp-bfc25f0d-modal-close:hover {
    color: #ccc;
}

.sp-bfc25f0d-search-form {
    display: flex;
    width: 100%;
    border-bottom: 2px solid #fff;
}

.sp-bfc25f0d-search-field {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    padding: 15px 0;
    outline: none;
    box-shadow: none;
}

.sp-bfc25f0d-search-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.sp-bfc25f0d-search-submit {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 0 20px;
    cursor: pointer;
}

.sp-bfc25f0d-search-submit:hover {
    color: #ccc;
}
