/* ========================================================
   Cookie consent banner
   ======================================================== */

#cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 520px;
    margin: 0 auto;
    z-index: 9999;
    background: #ffffff;
    color: #1f2630;
    border: 1px solid #e3e7ee;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 12px 40px rgba(20, 30, 55, .18);
    font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    /* Hidden by default — shown via .is-visible */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

#cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#cookie-consent .cc-title {
    display: block;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
    color: #1a1f2b;
}

#cookie-consent p {
    margin: 0 0 14px;
    color: #4b5567;
}

#cookie-consent a.privacy-link {
    color: #6c63ff;
    text-decoration: underline;
    font-weight: 600;
}
#cookie-consent a.privacy-link:hover {
    color: #4a3fff;
}

#cookie-consent .cc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#cookie-consent button {
    appearance: none;
    border: 0;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    transition: all .15s ease;
    flex: 1 1 auto;
    min-width: 110px;
}

#cookie-consent .cc-accept {
    background: #6c63ff;
    color: #fff;
}
#cookie-consent .cc-accept:hover { background: #4a3fff; }

#cookie-consent .cc-reject {
    background: #f1f3f8;
    color: #1a1f2b;
}
#cookie-consent .cc-reject:hover { background: #e3e7ee; }

@media (max-width: 480px) {
    #cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px;
        border-radius: 12px;
    }
    #cookie-consent button {
        flex: 1 1 100%;
    }
}
