/* CookieConsentBanner styles - loaded as a plain static asset so they apply in every environment
   regardless of Blazor CSS isolation scope-attribute propagation (same reasoning as
   environment-banner.css). Bottom, full-width bar - unlike EnvironmentBanner this one blocks real
   user action (visitors can't dismiss it without choosing), so it intentionally does NOT float
   free of the page like the top banner does; reserving its own strip avoids covering content. */

.cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    bottom: env(safe-area-inset-bottom);
    z-index: 10001;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #1f2937;
    color: #f3f4f6;
    border-top: 1px solid #374151;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);
    padding: 14px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13.5px;
    line-height: 1.45;
}

.cc-text {
    flex: 1 1 260px;
    min-width: 0;
    overflow-wrap: anywhere;
}

.cc-text a {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: underline;
}

.cc-actions {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

.cc-btn {
    /* 44px meets common touch-target guidance (iOS HIG / WCAG 2.5.5). */
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.cc-btn-reject {
    background: transparent;
    color: #f3f4f6;
    border: 1px solid #6b7280;
}

.cc-btn-reject:hover {
    background: rgba(255, 255, 255, 0.08);
}

.cc-btn-accept {
    background: #16a6a0;
    color: #fff;
    border: 1px solid #16a6a0;
}

.cc-btn-accept:hover {
    background: #128b86;
}

@media (max-width: 480px) {
    .cc-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cc-actions {
        justify-content: stretch;
    }

    .cc-btn {
        flex: 1;
    }
}
