/* ── Cookie consent banner ───────────────────────────────────
   Fixed to the bottom of the viewport, above page content but below modal backdrops.
   Markup: Components/Shared/CookieConsentBanner.razor · behaviour: js/consent.js */

.cookie-consent {
    position: fixed;
    left: var(--space-md);
    right: var(--space-md);
    bottom: var(--space-md);
    z-index: 900;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.cookie-consent[hidden] { display: none; }

.cookie-consent__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.cookie-consent__text strong {
    display: block;
    color: var(--color-text);
}

.cookie-consent__actions {
    display: flex;
    flex-shrink: 0;
    gap: var(--space-sm);
}

@media (max-width: 768px) {
    .cookie-consent { flex-direction: column; align-items: stretch; }
    .cookie-consent__actions .btn-calculate { flex: 1; }
}
