.gdpr-section {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 10050;
    padding: 0 16px 16px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.gdpr-section.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gdpr-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 24px;
    border: 1px solid rgba(0, 50, 133, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
    font-family: "Open Sans", Arial, sans-serif;
    color: #0f172a;
}

.gdpr-main {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: end;
}

.gdpr-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #003285;
}

.gdpr-text h2,
.gdpr-panel-head h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
}

.gdpr-text p,
.gdpr-panel-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
}

.gdpr-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 14px;
}

.gdpr-link {
    color: #003285;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gdpr-link:hover,
.gdpr-link:focus-visible {
    color: #0a4ead;
}

.gdpr-actions,
.gdpr-panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.gdpr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gdpr-button--primary {
    background: #003285;
    border-color: #003285;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 50, 133, 0.18);
}

.gdpr-button--primary:hover,
.gdpr-button--primary:focus-visible {
    background: #0a4ead;
    border-color: #0a4ead;
}

.gdpr-button--secondary {
    background: #ffffff;
    border-color: rgba(0, 50, 133, 0.18);
    color: #003285;
}

.gdpr-button--secondary:hover,
.gdpr-button--secondary:focus-visible {
    background: #eef5ff;
}

.gdpr-button--ghost {
    background: transparent;
    border-color: transparent;
    color: #003285;
}

.gdpr-button--ghost:hover,
.gdpr-button--ghost:focus-visible {
    background: #f8fbff;
}

.gdpr-panel {
    display: grid;
    gap: 14px;
}

.gdpr-panel-head {
    padding-bottom: 4px;
}

.gdpr-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 50, 133, 0.1);
    border-radius: 14px;
    background: #f8fbff;
}

.gdpr-option-text {
    display: grid;
    gap: 4px;
}

.gdpr-option-text strong {
    font-size: 15px;
    color: #0f172a;
}

.gdpr-option-text span {
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
}

.gdpr-option-badge {
    flex: none;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.gdpr-switch {
    position: relative;
    display: inline-flex;
    flex: none;
    cursor: pointer;
}

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

.gdpr-switch-ui {
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    transition: background-color 0.2s ease;
}

.gdpr-switch-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease;
}

.gdpr-switch input:checked + .gdpr-switch-ui {
    background: #003285;
}

.gdpr-switch input:checked + .gdpr-switch-ui::after {
    transform: translateX(20px);
}

.gdpr-switch input:disabled + .gdpr-switch-ui {
    opacity: 0.45;
    cursor: not-allowed;
}

body.gdpr-open {
    padding-bottom: 120px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 991px) {
    .gdpr-main {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gdpr-actions,
    .gdpr-panel-actions {
        justify-content: stretch;
    }

    .gdpr-actions .gdpr-button,
    .gdpr-panel-actions .gdpr-button {
        flex: 1 1 calc(50% - 5px);
    }

    .gdpr-actions .gdpr-button--ghost,
    .gdpr-panel-actions .gdpr-button--ghost {
        flex-basis: 100%;
    }

    body.gdpr-open {
        padding-bottom: 220px;
    }
}

@media (max-width: 575px) {
    .gdpr-content {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .gdpr-text h2,
    .gdpr-panel-head h3 {
        font-size: 20px;
    }

    .gdpr-option {
        align-items: flex-start;
        flex-direction: column;
    }

    .gdpr-actions .gdpr-button,
    .gdpr-panel-actions .gdpr-button {
        flex-basis: 100%;
    }
}
