/* ============================================================================
   Julie AI — Cookie Consent Banner (GDPR/CCPA)
   ============================================================================ */

#julie-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: #1e293b;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);

    /* Start hidden, slide up when shown */
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease;
    pointer-events: none;
}

#julie-cookie-banner.cb-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

#julie-cookie-banner.cb-hiding {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cb-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.cb-text {
    flex: 1;
    font-size: 13.5px;
    line-height: 1.55;
    color: #94a3b8;
    min-width: 0;
}

.cb-text strong {
    color: #f1f5f9;
    font-weight: 600;
}

.cb-text a {
    color: #00D4FF;
    text-decoration: none;
}

.cb-text a:hover {
    text-decoration: underline;
}

.cb-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}

.cb-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: opacity 0.15s ease, transform 0.15s ease;
    font-family: inherit;
}

.cb-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.cb-btn:active {
    transform: translateY(0);
}

.cb-btn-essential {
    background: #374151;
    color: #d1d5db;
}

.cb-btn-accept {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .cb-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px 16px;
        padding-bottom: max(14px, env(safe-area-inset-bottom));
    }

    .cb-actions {
        flex-direction: row;
        justify-content: stretch;
    }

    .cb-btn {
        flex: 1;
        text-align: center;
    }
}
