/**
 * Cookie Consent Banner Styles
 * 3D design with gradients for GDPR/LGPD compliance
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 -4px 6px rgba(0, 0, 0, 0.05),
        0 -10px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    animation: slideUp 0.3s ease-out;
}

.cookie-consent-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-consent-text {
    flex: 1;
    color: #1e293b;
    font-size: 0.875rem;
    line-height: 1.5;
}

.cookie-consent-text p {
    margin: 0 0 0.5rem 0;
}

.cookie-consent-text strong {
    color: #0f172a;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cookie-consent-text a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(30, 64, 175, 0.3);
    transition: border-color 0.2s ease;
}

.cookie-consent-text a:hover {
    border-bottom-color: #1e40af;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    align-items: center;
}

.cookie-consent-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-consent-manage {
    color: #64748b;
    text-decoration: none;
    font-size: 0.8125rem;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.cookie-consent-manage:hover {
    color: #1e40af;
    text-decoration: underline;
}

.cookie-consent-accept {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: 1px solid rgba(30, 64, 175, 0.3);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(30, 64, 175, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cookie-consent-accept:hover {
    transform: translateY(-2px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(30, 64, 175, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cookie-consent-accept:active {
    transform: translateY(0);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cookie-consent-reject {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #475569;
    border: 1px solid #cbd5e1;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cookie-consent-reject:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cookie-consent-reject:active {
    transform: translateY(0);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .cookie-consent-text {
        font-size: 0.8125rem;
    }
}

/* Dark overlay for emphasis (optional) */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9998;
    display: none;
}

.cookie-consent-overlay.show {
    display: block;
}
