﻿.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0bb6a8 0%, #0a9d91 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050; /* Mayor que el z-index de Bootstrap modals */
    border-top: 3px solid #ffffff;
}

    .cookie-popup.show {
        transform: translateY(0);
    }

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

    .cookie-text h5 {
        margin-bottom: 8px;
        color: #ffffff;
        font-weight: 600;
        letter-spacing: 1px; /* Respeta tu estilo de letter-spacing */
    }

    .cookie-text p {
        color: #f8f9fa;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .cookie-text a {
        color: #ffffff;
        text-decoration: underline;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .cookie-text a:hover {
            color: #e9ecef;
            text-decoration: underline;
        }

.cookie-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 5px; /* Mantiene el estilo Bootstrap */
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 100px;
}

    .cookie-btn.btn-success {
        background-color: #28a745;
        border-color: #28a745;
        color: white;
    }

        .cookie-btn.btn-success:hover {
            background-color: #218838;
            border-color: #1e7e34;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
        }

    .cookie-btn.btn-outline-light {
        background-color: transparent;
        border-color: #f8f9fa;
        color: #f8f9fa;
    }

        .cookie-btn.btn-outline-light:hover {
            background-color: #f8f9fa;
            border-color: #f8f9fa;
            color: #0bb6a8;
            transform: translateY(-2px);
        }

    .cookie-btn.btn-outline-warning {
        background-color: transparent;
        border-color: #ffc107;
        color: #ffc107;
    }

        .cookie-btn.btn-outline-warning:hover {
            background-color: #ffc107;
            border-color: #ffc107;
            color: #212529;
            transform: translateY(-2px);
        }

/* Indicador de estado de cookies */
.cookie-status {
    position: fixed;
    top: 80px; /* Debajo de tu navbar */
    right: 20px;
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    z-index: 1040;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

    .cookie-status.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive para móviles */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: 80px;
    }

    .cookie-popup {
        padding: 15px;
    }
}

/* Animación de entrada */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-popup.animate-in {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
