.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1055;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
    padding: 1rem 1.25rem;
    animation: cookieConsentIn 0.25s ease-out;
}

.cookie-consent-banner[hidden] {
    display: none !important;
}

@keyframes cookieConsentIn {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1 1 420px;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #4b5563;
}

.cookie-consent-text a {
    color: var(--bs-primary, #1d4ed8);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.cookie-consent-actions .btn {
    white-space: nowrap;
}

.cookie-category {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category .form-check {
    margin-bottom: 0.35rem;
}

@media (max-width: 575.98px) {
    .cookie-consent-banner {
        padding: 0.9rem 1rem;
        max-height: 80vh;
        overflow-y: auto;
    }

    .cookie-consent-actions {
        margin-left: 0;
        width: 100%;
    }

    .cookie-consent-actions .btn:not(.btn-link) {
        flex: 1 1 auto;
    }
}
