/* ============================================================================
   AfiaSync Cookie Consent Banner
   GDPR/ePrivacy-compliant cookie consent
   ============================================================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 20px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s ease;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cookie-consent-banner.visible {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

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

.cookie-consent-text a {
    color: #a78bfa;
    text-decoration: underline;
    text-decoration-color: rgba(167, 139, 250, 0.3);
    transition: text-decoration-color 0.2s;
}

.cookie-consent-text a:hover {
    text-decoration-color: #a78bfa;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.1s;
    font-family: inherit;
}

.cookie-consent-btn:hover {
    opacity: 0.9;
}

.cookie-consent-btn:active {
    transform: scale(0.97);
}

.cookie-consent-accept {
    background: #7F56D9;
    color: #fff;
}

.cookie-consent-reject {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #4a4a6a;
}

.cookie-consent-reject:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .cookie-consent-banner {
        padding: 16px;
    }
}
