/**
 * 🍪 COOKIE-BANNER.CSS - Style bandeau cookies Valorizo
 */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 32px));
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
    padding: 16px 20px;
    z-index: 99999;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cookie-banner-text a {
    color: #6366f1;
    font-weight: 600;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid #1e3a5f;
    background: transparent;
    color: #1e3a5f;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.cookie-btn-accept-all {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

.cookie-btn-customize {
    background: #f1f5f9;
    color: #64748b;
    border-color: #e2e8f0;
}

.cookie-btn-accept {
    background: #1e3a5f;
    color: #fff;
    border-color: #1e3a5f;
}

.cookie-btn-decline {
    border-color: #94a3b8;
    color: #64748b;
}

.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.12);
}

.cookie-banner-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.cookie-banner-modal-content {
    background: #ffffff;
    border-radius: 16px;
    width: min(420px, calc(100% - 32px));
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    overflow: hidden;
}

.cookie-banner-modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.cookie-banner-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
}

.cookie-banner-modal-body {
    padding: 18px 22px;
    display: grid;
    gap: 12px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #1e293b;
}

.cookie-banner-modal-footer {
    padding: 16px 22px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media (max-width: 820px) {
    .cookie-banner {
        bottom: 12px;
        padding: 14px 16px;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cookie-banner-buttons {
        justify-content: stretch;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}
