/* BDN Cookie Banner & Preferences Modal Styling (EU RGPD / GDPR Compliant) */

.bdn-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 520px;
    margin: 0 auto;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(252, 203, 6, 0.3);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(252, 203, 6, 0.1);
    z-index: 999990;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.bdn-cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

.bdn-cookie-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fccb06;
    margin-bottom: 8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bdn-cookie-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 16px;
}

.bdn-cookie-content p a {
    color: #fccb06;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.bdn-cookie-content p a:hover {
    color: #ffffff;
}

.bdn-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.bdn-btn-cookie {
    padding: 10px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.825rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bdn-btn-cookie-accept {
    background-color: #fccb06;
    color: #000000;
}

.bdn-btn-cookie-accept:hover {
    background-color: #e0b505;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 203, 6, 0.3);
}

.bdn-btn-cookie-reject {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bdn-btn-cookie-reject:hover {
    background-color: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
}

.bdn-btn-cookie-settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    margin-left: auto;
}

.bdn-btn-cookie-settings:hover {
    color: #fccb06;
    border-color: #fccb06;
}

/* Modal de Definições de Cookies */
.bdn-cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 999995;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bdn-cookie-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bdn-cookie-modal {
    background: #121212;
    border: 1px solid rgba(252, 203, 6, 0.3);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.bdn-cookie-modal-overlay.active .bdn-cookie-modal {
    transform: scale(1);
}

.bdn-cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.bdn-cookie-modal-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: #fccb06;
    margin: 0;
    text-transform: uppercase;
}

.bdn-cookie-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.bdn-cookie-modal-close:hover {
    color: #ffffff;
}

.bdn-cookie-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
}

.bdn-cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bdn-cookie-category-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
}

.bdn-cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.bdn-cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.bdn-cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .3s;
    border-radius: 24px;
}

.bdn-cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .bdn-cookie-slider {
    background-color: #fccb06;
}

input:checked + .bdn-cookie-slider:before {
    transform: translateX(20px);
    background-color: #000000;
}

input:disabled + .bdn-cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.bdn-cookie-category p {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.4;
}

.bdn-cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .bdn-cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 18px;
    }
    .bdn-cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    .bdn-btn-cookie {
        width: 100%;
        text-align: center;
    }
    .bdn-btn-cookie-settings {
        margin-left: 0;
    }
}
