/**
 * EVACLEAN - Cookie Consent Banner
 * Arquivo: cookie-consent.css
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.cookie-banner--hiding {
    transform: translateY(100%);
}

.cookie-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 24px;
    background: #1e293b;
    border-top: 3px solid #6366f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.cookie-banner-icon {
    font-size: 1.6rem;
    color: #fbbf24;
    flex-shrink: 0;
}

.cookie-banner-text {
    flex: 1;
    min-width: 0;
}

.cookie-banner-text strong {
    display: block;
    color: #f1f5f9;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.cookie-banner-text p {
    color: #94a3b8;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-text a {
    color: #818cf8;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    color: #a5b4fc;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn--aceitar {
    background: #6366f1;
    color: #fff;
}

.cookie-btn--aceitar:hover {
    background: #4f46e5;
}

.cookie-btn--rejeitar {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #475569;
}

.cookie-btn--rejeitar:hover {
    background: #334155;
    color: #cbd5e1;
}

/* Mobile */
@media (max-width: 640px) {
    .cookie-banner-inner {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}
