/* ==============================================================
   BEMAX - COOKIE MANAGER CSS (LGPD)
   Design Premium, Glassmorphism e Responsivo
   ============================================================== */

:root {
    --cookie-bg: rgba(255, 255, 255, 0.85);
    --cookie-teal: #00877a;
    --cookie-teal-dark: #006b61;
    --cookie-text: #1e293b;
    --cookie-text-light: #64748b;
    --cookie-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--cookie-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--cookie-shadow);
    z-index: 999999;
    transform: translateY(120%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-content {
    flex: 1;
    padding-right: 32px;
}

.cookie-content h4 {
    margin: 0 0 8px 0;
    color: var(--cookie-text);
    font-size: 1.1rem;
    font-weight: 700;
}

.cookie-content p {
    margin: 0;
    color: var(--cookie-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--cookie-teal);
    text-decoration: underline;
    font-weight: 600;
}

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

.cookie-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.cookie-btn-accept {
    background-color: var(--cookie-teal);
    color: white;
}

.cookie-btn-accept:hover {
    background-color: var(--cookie-teal-dark);
    transform: translateY(-2px);
}

.cookie-btn-reject {
    background-color: transparent;
    color: var(--cookie-text-light);
    border: 1px solid #e2e8f0;
}

.cookie-btn-reject:hover {
    background-color: #f8fafc;
    color: var(--cookie-text);
}

/* Responsividade */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 24px 24px 0 0;
        padding: 24px;
        text-align: center;
    }

    .cookie-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

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

    .cookie-btn {
        width: 100%;
    }
}
