/* ==========================================================
   BUNNYTIK GDPR
   ========================================================== */

.bh-gdpr-overlay,
.bh-gdpr-overlay * {
    box-sizing: border-box;
}

.bh-gdpr-overlay {
    position: fixed;
    inset: 0;
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.bh-gdpr-overlay[hidden],
.bh-gdpr-preferences[hidden],
.bh-gdpr-actions button[hidden] {
    display: none !important;
}

.bh-gdpr-modal {
    width: 100%;
    max-width: 450px;
    padding: 32px;
    text-align: center;
    background: #111111;
    border: 1px solid rgba(255, 17, 123, 0.30);
    border-radius: 18px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.65);
    animation: bhGdprIn 0.3s ease;
}

@keyframes bhGdprIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bh-gdpr-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    background: rgba(255, 17, 123, 0.10);
    border: 1px solid rgba(255, 17, 123, 0.25);
    border-radius: 50%;
}

.bh-gdpr-modal h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
}

.bh-gdpr-description {
    margin: 0 0 22px;
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.65;
}

.bh-gdpr-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bh-gdpr-actions button {
    width: 100%;
    min-height: 45px;
    padding: 12px 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

#bh-gdpr-accept,
#bh-gdpr-save {
    border: 0;
    background: #ff117b;
    color: #ffffff;
}

#bh-gdpr-accept:hover,
#bh-gdpr-save:hover {
    background: #ff2d8c;
}

#bh-gdpr-reject {
    color: #ffffff;
    background: #202020;
    border: 1px solid #383838;
}

#bh-gdpr-reject:hover {
    background: #2b2b2b;
}

#bh-gdpr-customize {
    color: #aaaaaa;
    background: transparent;
    border: 1px solid #333333;
}

#bh-gdpr-customize:hover {
    color: #ffffff;
    border-color: #ff117b;
}

.bh-gdpr-preferences {
    margin: 20px 0;
    text-align: left;
    border-top: 1px solid #292929;
}

.bh-gdpr-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #292929;
}

.bh-gdpr-option strong {
    color: #ffffff;
    font-size: 13px;
}

.bh-gdpr-option p {
    margin: 5px 0 0;
    color: #999999;
    font-size: 12px;
    line-height: 1.5;
}

.bh-gdpr-always {
    color: #ff117b;
    font-size: 11px;
    white-space: nowrap;
    font-weight: 700;
}

.bh-gdpr-switch {
    position: relative;
    display: inline-block;
    width: 43px;
    height: 24px;
    flex-shrink: 0;
}

.bh-gdpr-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.bh-gdpr-switch span {
    position: absolute;
    inset: 0;
    background: #444444;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.bh-gdpr-switch span::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: 0.2s;
}

.bh-gdpr-switch input:checked + span {
    background: #ff117b;
}

.bh-gdpr-switch input:checked + span::before {
    transform: translateX(19px);
}

.bh-gdpr-switch input:focus-visible + span {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.bh-gdpr-modal small {
    display: block;
    margin-top: 20px;
    color: #666666;
    font-size: 11px;
}

@media (max-width: 480px) {
    .bh-gdpr-modal {
        padding: 27px 21px;
        border-radius: 15px;
    }

    .bh-gdpr-modal h2 {
        font-size: 22px;
    }
}