/* Cookie Consent Banner - Moderno y Profesional */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 380px;
    background: #1a1a2e;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    font-family: 'Nunito', sans-serif;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.cookie-consent.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent-content {
    padding: 20px;
}

.cookie-consent h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
}

.cookie-consent p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 15px 0;
    color: #ccc;
}

.cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-consent-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.cookie-consent-btn-primary {
    background: #b02c98;
    color: white;
}

.cookie-consent-btn-primary:hover {
    background: #8a2274;
    transform: scale(1.02);
}

.cookie-consent-btn-secondary {
    background: transparent;
    border: 1px solid #b02c98;
    color: #b02c98;
}

.cookie-consent-btn-secondary:hover {
    background: rgba(176, 44, 152, 0.1);
}

.cookie-consent-link {
    color: #b02c98;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 5px;
}

.cookie-consent-link:hover {
    text-decoration: underline;
}

.cookie-settings-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    padding-top: 15px;
}

.cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.cookie-setting-item label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #b02c98;
}

.cookie-setting-item input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-save-btn {
    width: 100%;
    margin-top: 10px;
    background: #b02c98;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-save-btn:hover {
    background: #8a2274;
}

/* Versión móvil */
@media (max-width: 768px) {
    .cookie-consent {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
        border-radius: 12px;
    }
    
    .cookie-consent-content {
        padding: 16px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-consent-btn {
        width: 100%;
    }
}

/* Estilo minimalista para escritorio - menos intrusivo */
@media (min-width: 769px) {
    .cookie-consent {
        max-width: 360px;
        backdrop-filter: blur(0px);
    }
}

/* Animación sutil */
@keyframes cookieSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-consent.show {
    animation: cookieSlideIn 0.3s ease forwards;
}