.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-consent-banner.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

.cookie-consent-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.cookie-consent-banner__text {
    flex: 1 1 280px;
    min-width: 0;
}

.cookie-consent-banner__title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 0.35rem;
    color: #0f172a;
}

.cookie-consent-banner__desc {
    margin: 0;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
}

.cookie-consent-banner__links {
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.cookie-consent-banner__links a {
    color: #4f46e5;
    text-decoration: underline;
}

.cookie-consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
}

.cookie-consent-btn {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.cookie-consent-btn--primary {
    background: #4f46e5;
    border: 1px solid #4f46e5;
    color: #fff;
}

.cookie-consent-btn--primary:hover {
    background: #4338ca;
    border-color: #4338ca;
    color: #fff;
}

.cookie-consent-btn--outline {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.cookie-consent-btn--outline:hover {
    background: #f8fafc;
    color: #0f172a;
}

.cookie-consent-btn--ghost {
    background: transparent;
    border: 1px solid transparent;
    color: #4f46e5;
    text-decoration: underline;
}

.cookie-consent-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.cookie-consent-category {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.cookie-consent-category--locked {
    background: #f8fafc;
}

.cookie-consent-category h6 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.cookie-consent-category p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

@media (max-width: 576px) {
    .cookie-consent-banner__actions {
        width: 100%;
    }

    .cookie-consent-banner__actions .cookie-consent-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}
