/* Explain: Styles for the cookie banner and preferences dialog. */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 16px; pointer-events: none; }
.cookie-banner-inner {
    pointer-events: auto; width: min(1100px, 100%); margin-inline: auto; display: flex; align-items: center; gap: 28px;
    max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px 26px;
    background: var(--surface-color); border: 1px solid var(--border-color); border-radius: 18px;
    box-shadow: 0 22px 55px -14px rgba(2, 12, 30, .4);
}
.cookie-banner-copy { flex: 1; min-width: 0; }
.cookie-banner-copy h2 { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.cookie-banner-copy h2 i { color: var(--accent-color); }
.cookie-banner-copy p { margin-top: 8px; font-size: 12px; line-height: 1.8; color: var(--text-muted); }
.cookie-banner-copy a { color: var(--primary-color); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex-shrink: 0; }
.cookie-category {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
    padding: 18px 0; border-top: 1px solid var(--border-color);
}
label.cookie-category { cursor: pointer; }
.cookie-category-text { display: block; min-width: 0; }
.cookie-category-text strong { display: block; font-size: 13px; font-weight: 700; }
.cookie-category-text span { display: block; margin-top: 5px; font-size: 11px; line-height: 1.75; color: var(--text-muted); }
.cookie-category .toggle { flex-shrink: 0; margin-top: 2px; }
.cookie-dialog-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--border-color); }
.consent-check { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; line-height: 1.75; color: var(--text-muted); cursor: pointer; }
.consent-check input { flex-shrink: 0; margin-top: 3px; }
.consent-check a { color: var(--primary-color); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.map-consent {
    position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; padding: 28px 24px 68px; text-align: center; background: var(--surface-raised);
}
.map-consent > i { font-size: 30px; color: var(--accent-color); }
.map-consent h3 { font-size: 16px; font-weight: 800; letter-spacing: -.025em; }
.map-consent p { max-width: 430px; font-size: 12px; line-height: 1.8; color: var(--text-muted); }
.map-consent-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; font-weight: 700; color: var(--primary-color); text-decoration: underline; text-underline-offset: 3px; }
.contact-map-badge { z-index: 2; }
@media (max-width: 900px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
    .cookie-banner-actions { justify-content: stretch; }
    .cookie-banner-actions .btn { flex: 1 1 150px; }
}
@media (max-width: 640px) {
    .cookie-banner { padding: 10px; }
    .cookie-banner-actions .btn { flex-basis: 100%; }
    .cookie-dialog-actions { grid-template-columns: 1fr; }
}