/**
 * Banner de Cookies - Kayros Sorteos Perú
 * Cumplimiento GDPR y Ley de Protección de Datos Perú
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 58, 95, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-white);
    padding: var(--space-6);
    z-index: 99999;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: none; /* Oculto por defecto, JavaScript lo muestra */
}

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

.cookie-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-2);
    color: var(--text-white);
}

.cookie-text p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--kayros-gold);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: var(--kayros-gold-light);
}

.cookie-buttons {
    display: flex;
    gap: var(--space-3);
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: var(--text-white);
    padding: var(--space-3) var(--space-8);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-cookie-accept:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-cookie-reject:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-cookie-config {
    background: transparent;
    color: var(--kayros-gold);
    border: 2px solid var(--kayros-gold);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-cookie-config:hover {
    background: var(--kayros-gold);
    color: var(--kayros-blue);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
    }

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

    .cookie-buttons button {
        width: 100%;
    }

    .cookie-banner {
        padding: var(--space-5);
    }
}

/* Icono de cookies */
.cookie-icon {
    font-size: 24px;
    margin-right: var(--space-3);
    display: inline-block;
    vertical-align: middle;
}
