/* QoCRM GDPR cookie consent banner
 * CNIL guidance: Accept/Refuse buttons of equal prominence (no dark patterns).
 * The banner is hidden by default and only revealed via .qcc-visible.
 */

.qcc-banner {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483646;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #e4e4e7;
    box-shadow: 0 -2px 16px rgba(10, 10, 15, 0.08);
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    color: #0a0a0f;
    box-sizing: border-box;
}

.qcc-banner.qcc-visible {
    display: flex;
    justify-content: center;
}

.qcc-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 1100px;
    flex-wrap: wrap;
}

.qcc-text {
    flex: 1 1 320px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #0a0a0f;
    min-width: 0;
}

.qcc-text strong {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
}

.qcc-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.qcc-btn {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    line-height: 1;
}

.qcc-btn--accept {
    background: #5046e5;
    color: #ffffff;
    border-color: #5046e5;
}

.qcc-btn--accept:hover {
    background: #4338ca;
    border-color: #4338ca;
}

.qcc-btn--refuse {
    background: #ffffff;
    color: #0a0a0f;
    border-color: #6b6b7b;
}

.qcc-btn--refuse:hover {
    background: #f4f4f5;
    border-color: #0a0a0f;
}

.qcc-link {
    color: #7c3aed;
    text-decoration: none;
    font-size: inherit;
}

.qcc-link:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .qcc-banner {
        padding: 14px 16px;
    }
    .qcc-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .qcc-actions {
        width: 100%;
    }
    .qcc-btn {
        flex: 1 1 0;
        text-align: center;
    }
}
