/* ===== BANNER DE COOKIES - TRES MONOS INK ===== */
/* Cumplimiento RGPD/GDPR */

:root {
    --cookie-primary: #d4af37;
    --cookie-dark: #222222;
    --cookie-secondary: #333333;
    --cookie-light: #f9f9f9;
    --cookie-white: #ffffff;
}

/* Banner de Cookies */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: auto;
    background: var(--cookie-white);
    color: var(--cookie-dark);
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s ease-in-out;
    font-family: 'Montserrat', sans-serif;
    border-radius: 12px;
    max-width: 420px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cookie-consent-banner.show {
    transform: translateX(0);
}

.cookie-consent-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-consent-text {
    width: 100%;
}

.cookie-consent-text h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--cookie-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 8px;
}

.cookie-consent-text a {
    color: var(--cookie-primary);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
    border-bottom: 1px solid var(--cookie-primary);
}

.cookie-consent-text a:hover {
    opacity: 0.7;
}

.cookie-consent-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.cookie-btn {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    letter-spacing: 0.3px;
    width: 100%;
    text-align: center;
}

.cookie-btn-accept {
    background-color: var(--cookie-primary);
    color: var(--cookie-dark);
    font-weight: 700;
}

.cookie-btn-accept:hover {
    background-color: #c49d2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.cookie-btn-reject {
    background-color: transparent;
    color: var(--cookie-secondary);
    border: 2px solid #ddd;
}

.cookie-btn-reject:hover {
    background-color: #f5f5f5;
    border-color: var(--cookie-secondary);
}

.cookie-btn-settings {
    background-color: transparent;
    color: var(--cookie-primary);
    border: 2px solid var(--cookie-primary);
}

.cookie-btn-settings:hover {
    background-color: var(--cookie-primary);
    color: var(--cookie-white);
}

/* Panel de Configuración de Cookies */
.cookie-settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--cookie-white);
    color: var(--cookie-dark);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.cookie-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--cookie-primary);
}

.cookie-settings-header h2 {
    font-size: 1.8rem;
    color: var(--cookie-dark);
    font-family: 'Oswald', sans-serif;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--cookie-dark);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.cookie-settings-close:hover {
    color: var(--cookie-primary);
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--cookie-light);
    border-radius: 8px;
    border-left: 4px solid var(--cookie-primary);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-header h3 {
    font-size: 1.2rem;
    color: var(--cookie-dark);
    font-weight: 600;
}

.cookie-category p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--cookie-primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-toggle-label {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

.cookie-settings-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.cookie-settings-actions button {
    flex: 1;
}

/* Badge de Revisión de Cookies - DESHABILITADO */
.cookie-review-badge {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .cookie-consent-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 0;
        padding: 25px 20px;
        transform: translateY(100%);
        background: var(--cookie-dark);
        color: var(--cookie-white);
        border: none;
    }

    .cookie-consent-banner.show {
        transform: translateY(0);
    }

    .cookie-consent-container {
        flex-direction: column;
        gap: 20px;
    }

    .cookie-consent-text h3 {
        color: var(--cookie-primary);
        font-size: 1.2rem;
    }

    .cookie-consent-text p {
        color: #ddd;
        font-size: 0.9rem;
    }

    .cookie-consent-text a {
        color: var(--cookie-primary);
        border-bottom: 1px solid var(--cookie-primary);
    }

    .cookie-consent-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cookie-btn {
        flex: 1;
        min-width: 140px;
    }

    .cookie-btn-reject {
        border-color: var(--cookie-white);
        color: var(--cookie-white);
    }

    .cookie-btn-reject:hover {
        background-color: var(--cookie-white);
        color: var(--cookie-dark);
        border-color: var(--cookie-white);
    }
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 20px 15px;
    }

    .cookie-consent-text h3 {
        font-size: 1.1rem;
    }

    .cookie-consent-text p {
        font-size: 0.85rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        min-width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .cookie-settings-panel {
        padding: 25px 20px;
        width: 95%;
        max-height: 90vh;
    }

    .cookie-settings-header h2 {
        font-size: 1.4rem;
    }

    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cookie-settings-actions {
        flex-direction: column;
    }

}

/* Animaciones */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

