[hidden] {
    display: none !important;
}

body.privacy-modal-open {
    overflow: hidden;
}

.privacy-consent-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99998;
    padding: 18px;
    background: rgba(0, 0, 0, 0.68);
}

.privacy-consent-container {
    width: 100%;
    max-width: 1250px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border: 2px solid #1c1c1c;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.privacy-consent-content {
    min-width: 0;
}

.privacy-consent-content h2 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 24px;
    line-height: 1.25;
}

.privacy-consent-content p {
    margin: 0 0 10px;
    color: #333333;
    font-size: 15px;
    line-height: 1.6;
}

.privacy-consent-content a {
    color: #0645ad;
    font-weight: 700;
    text-decoration: underline;
}

.privacy-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.privacy-consent-button {
    min-width: 150px;
    min-height: 48px;
    box-sizing: border-box;
    padding: 11px 20px;
    color: #ffffff;
    background: #1d3557;
    border: 2px solid #1d3557;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.privacy-consent-button:hover {
    background: #14263f;
    border-color: #14263f;
}

.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 #ffbf47;
    outline-offset: 3px;
}

.privacy-gpc-message {
    padding: 10px 12px;
    background: #f3f6fa;
    border-left: 4px solid #1d3557;
    font-weight: 700;
}

.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(0, 0, 0, 0.74);
}

.privacy-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.38);
}

.privacy-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid #dddddd;
}

.privacy-modal-header h2 {
    margin: 0 0 8px;
    color: #111111;
    font-size: 25px;
    line-height: 1.25;
}

.privacy-modal-header p {
    margin: 0;
    color: #444444;
    font-size: 15px;
    line-height: 1.6;
}

.privacy-modal-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    color: #111111;
    background: #ffffff;
    border: 2px solid #222222;
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    line-height: 34px;
}

.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 #dddddd;
}

.privacy-category:last-child {
    border-bottom: 0;
}

.privacy-category-text {
    flex: 1;
    min-width: 0;
}

.privacy-category-text h3 {
    margin: 0 0 7px;
    color: #111111;
    font-size: 19px;
}

.privacy-category-text p {
    margin: 0;
    color: #444444;
    font-size: 14px;
    line-height: 1.55;
}

.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: #777777;
    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: #1d6f42;
}

.privacy-switch input:checked + .privacy-switch-slider::before {
    transform: translateX(24px);
}

.privacy-switch input:disabled + .privacy-switch-slider {
    cursor: not-allowed;
    opacity: 0.7;
}

.privacy-modal-status {
    min-height: 22px;
    margin: 0;
    padding: 0 24px;
    color: #7a1f1f;
    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 #dddddd;
}

.privacy-footer-link {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.privacy-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 315px;
    box-sizing: border-box;
    padding: 30px;
    background: #eeeeee;
    border: 1px solid #cccccc;
    text-align: center;
}

.privacy-media-placeholder-inner {
    max-width: 560px;
}

.privacy-media-placeholder h3 {
    margin: 0 0 10px;
}

.privacy-media-placeholder p {
    margin: 0 0 16px;
    line-height: 1.6;
}

.privacy-media-button {
    min-height: 46px;
    padding: 10px 18px;
    color: #ffffff;
    background: #1d3557;
    border: 2px solid #1d3557;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.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: #f4f6f8;
    border-left: 4px solid #1d3557;
    color: #222222;
    font-size: 14px;
    line-height: 1.55;
}

.privacy-form-notice a {
    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;
    }
}
