/* ==========================================
   ESTILOS PARA SISTEMA DE COOKIES - RGPD
   ========================================== */

/* Estilos del aviso de cookies */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-top: 3px solid #cc0000;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    background: #cc0000;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-title {
    color: #cc0000;
    margin-bottom: 5px;
    font-weight: bold;
}

.cookie-message {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.cookie-link {
    color: #cc0000;
    font-weight: bold;
    text-decoration: none;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-cookie-settings,
.btn-cookie-reject,
.btn-cookie-accept {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cookie-settings {
    background: #6c757d;
    color: white;
}

.btn-cookie-reject {
    background: transparent;
    color: #6c757d;
    border: 2px solid #6c757d;
}

.btn-cookie-accept {
    background: #cc0000;
    color: white;
    border: 2px solid #cc0000;
}

.btn-cookie-settings:hover {
    background: #5a6268;
}

.btn-cookie-reject:hover {
    background: #6c757d;
    color: white;
}

.btn-cookie-accept:hover {
    background: #a30000;
    border-color: #a30000;
}

/* Estilos del modal de cookies */
.cookie-modal .modal-content {
    border-radius: 15px;
    border: 2px solid #cc0000;
}

.cookie-modal .modal-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #dee2e6;
}

.cookie-modal .modal-title {
    color: #cc0000;
    font-weight: bold;
}

/* Estilos del footer de cookies */
.cookie-footer {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

.cookie-footer a {
    color: #cc0000;
    text-decoration: none;
}

.cookie-footer a:hover {
    text-decoration: underline;
}

.footer-cookie-link {
    display: inline-block;
    margin: 0 10px;
    padding: 5px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-cookie-link:hover {
    background: #cc0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(204, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-text {
        min-width: 100%;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-notice {
        padding: 15px 10px;
    }
}

/* Animaciones */
@keyframes slideUpCookie {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.cookie-notice {
    animation: slideUpCookie 0.5s ease-out;
}

.cookie-notice.hiding {
    animation: slideDownCookie 0.5s ease-in;
}