/* Shared styles for legal pages (terms and privacy) */
.legal-container {
    max-width: 21cm; /* Tamaño A4 */
    margin: 2rem auto;
    padding: 2.54cm 2.54cm; /* Márgenes estándar documento */
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.5;
    color: #000000;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.legal-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 2rem 0;
    text-transform: uppercase;
}

.legal-section {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 1.5rem 0 1rem 0;
}

.legal-text {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    text-align: justify;
    line-height: 1.5;
}

.legal-list {
    margin: 0 0 1rem 0;
    padding: 0;
    list-style-position: inside; /* Mantiene los bullets alineados con el texto */
}

.legal-list li {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    text-align: justify;
    line-height: 1.5;
    padding: 0;
    text-indent: -1.2em; /* Sangría negativa para el bullet */
    padding-left: 1.2em; /* Espacio para compensar la sangría negativa */
}

.legal-link {
    color: #000000;
    text-decoration: underline;
}

.legal-link:hover {
    color: #444444;
}

.legal-text strong {
    font-weight: bold;
}

/* Impresión */
@media print {
    body {
        background: white;
    }
    
    .legal-container {
        margin: 0;
        padding: 2.54cm;
        box-shadow: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .legal-container {
        margin: 1rem auto;
        padding: 1.5cm;
    }
}

@media (max-width: 480px) {
    .legal-container {
        margin: 0;
        padding: 1cm;
    }
    
    .legal-title {
        font-size: 1.1rem;
    }
    
    .legal-section {
        font-size: 1rem;
    }
    
    .legal-text, 
    .legal-list li {
        font-size: 0.95rem;
    }
} 