﻿[hidden] {
    display: none !important;
}

body.privacy-modal-open {
    overflow: hidden;
}

/* Banner Overlay & Container */
.privacy-consent-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99998;
    padding: 18px;
    background: rgba(8, 13, 20, 0.85);
    backdrop-filter: blur(8px);
}

.privacy-consent-container {
    width: 100%;
    max-width: 1250px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 24px;
    background: #0d1520;
    border: 1px solid #1f2d40;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.privacy-consent-content {
    min-width: 0;
}

.privacy-consent-content h2 {
    margin: 0 0 10px;
    color: #f5f6f8;
    font-size: 24px;
    line-height: 1.25;
}

.privacy-consent-content p {
    margin: 0 0 10px;
    color: #a3b1c2;
    font-size: 15px;
    line-height: 1.6;
}

.privacy-consent-content a {
    color: #d1a855;
    font-weight: 700;
    text-decoration: underline;
}

.privacy-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* Primary Gold Button */
.privacy-consent-button {
    min-width: 150px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 11px 20px;
    color: #0d1520;
    background: #d1a855;
    border: 1px solid #d1a855;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition: all 0.2s ease;
}

.privacy-consent-button:hover {
    background: #c89b3c;
    border-color: #c89b3c;
}

/* Secondary Button Customization */
.privacy-consent-button.privacy-consent-secondary {
    color: #f5f6f8;
    background: #182333;
    border-color: #27374d;
}

.privacy-consent-button.privacy-consent-secondary:hover {
    background: #202d42;
    border-color: #314461;
}

.privacy-consent-button:focus-visible,
.privacy-modal-close:focus-visible,
.privacy-footer-link:focus-visible,
.privacy-media-button:focus-visible,
.privacy-switch input:focus-visible + .privacy-switch-slider {
    outline: 3px solid #d1a855;
    outline-offset: 3px;
}

.privacy-gpc-message {
    padding: 10px 12px;
    background: #131c2a;
    border-left: 4px solid #d1a855;
    color: #f5f6f8;
    font-weight: 700;
}

/* Modal Dialog */
.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
}

.privacy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 12, 0.85);
    backdrop-filter: blur(4px);
}

.privacy-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #0d1520;
    border: 1px solid #1f2d40;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.privacy-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid #1f2d40;
}

.privacy-modal-header h2 {
    margin: 0 0 8px;
    color: #f5f6f8;
    font-size: 25px;
    line-height: 1.25;
}

.privacy-modal-header p {
    margin: 0;
    color: #a3b1c2;
    font-size: 15px;
    line-height: 1.6;
}

.privacy-modal-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    color: #f5f6f8;
    background: #182333;
    border: 1px solid #2e3e56;
    border-radius: 50%;
    cursor: pointer;
    font-size: 26px;
    line-height: 40px;
    transition: all 0.2s ease;
}

.privacy-modal-close:hover {
    color: #d1a855;
    background: #202d42;
    border-color: #d1a855;
}

.privacy-category-list {
    padding: 0 24px;
}

.privacy-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid #1f2d40;
}

.privacy-category:last-child {
    border-bottom: 0;
}

.privacy-category-text {
    flex: 1;
    min-width: 0;
}

.privacy-category-text h3 {
    margin: 0 0 7px;
    color: #f5f6f8;
    font-size: 19px;
}

.privacy-category-text p {
    margin: 0;
    color: #a3b1c2;
    font-size: 14px;
    line-height: 1.55;
}

/* Switch Controls */
.privacy-switch {
    position: relative;
    flex: 0 0 auto;
    width: 54px;
    height: 30px;
}

.privacy-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.privacy-switch-slider {
    position: absolute;
    inset: 0;
    background: #2a384c;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
}

.privacy-switch-slider::before {
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    content: "";
    transition: 0.2s;
}

.privacy-switch input:checked + .privacy-switch-slider {
    background: #d1a855;
}

.privacy-switch input:checked + .privacy-switch-slider::before {
    transform: translateX(24px);
}

.privacy-switch input:disabled + .privacy-switch-slider {
    cursor: not-allowed;
    opacity: 0.5;
}

.privacy-modal-status {
    min-height: 22px;
    margin: 0;
    padding: 0 24px;
    color: #ef4444;
    font-size: 14px;
    font-weight: 700;
}

.privacy-modal-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px 24px;
    border-top: 1px solid #1f2d40;
}

.privacy-footer-link {
    padding: 0;
    color: #a3b1c2;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.privacy-footer-link:hover {
    color: #d1a855;
}

.privacy-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 315px;
    box-sizing: border-box;
    padding: 30px;
    background: #131c2a;
    border: 1px solid #1f2d40;
    color: #f5f6f8;
    text-align: center;
}

.privacy-media-placeholder-inner {
    max-width: 560px;
}

.privacy-media-placeholder h3 {
    margin: 0 0 10px;
    color: #f5f6f8;
}

.privacy-media-placeholder p {
    margin: 0 0 16px;
    color: #a3b1c2;
    line-height: 1.6;
}

.privacy-media-button {
    min-height: 46px;
    padding: 10px 18px;
    color: #0d1520;
    background: #d1a855;
    border: 1px solid #d1a855;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.privacy-media-button:hover {
    background: #c89b3c;
}

.privacy-responsive-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.privacy-responsive-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.privacy-form-notice {
    padding: 12px;
    background: #131c2a;
    border-left: 4px solid #d1a855;
    color: #a3b1c2;
    font-size: 14px;
    line-height: 1.55;
}

.privacy-form-notice a {
    color: #d1a855;
    font-weight: 700;
    text-decoration: underline;
}

@media (min-width: 900px) {
    .privacy-consent-container {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
    }

    .privacy-consent-content {
        flex: 1;
    }

    .privacy-consent-actions {
        flex: 0 0 490px;
        margin-top: 0;
    }

    .privacy-consent-button {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .privacy-consent-banner {
        padding: 10px;
    }

    .privacy-consent-container {
        padding: 18px;
    }

    .privacy-consent-actions,
    .privacy-modal-footer {
        flex-direction: column;
    }

    .privacy-consent-button {
        width: 100%;
    }

    .privacy-modal {
        padding: 10px;
    }

    .privacy-modal-dialog {
        max-height: calc(100vh - 20px);
    }

    .privacy-modal-header,
    .privacy-category-list,
    .privacy-modal-footer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .privacy-modal-status {
        padding-right: 18px;
        padding-left: 18px;
    }

    .privacy-category {
        align-items: flex-start;
    }
}