/* Estilos propios de privacidad.html (antes estaban dentro de la página) */
/* 1. CONFIGURACIÓN GLOBAL Y RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #525659;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
}

/* 2. REGLA ESTRICTA DE IMPRESIÓN (MILIMÉTRICA A4) */
@page { 
    size: A4; 
    margin: 0; 
}

@media print {
    body { 
        background-color: white; 
    }
    .page { 
        margin: 0 !important; 
        box-shadow: none !important; 
        border: none !important; 
        page-break-after: always;
    }
    .no-print { 
        display: none !important; 
    }
}

/* 3. ESTRUCTURA DE LA HOJA A4 CON POSICIONES ABSOLUTAS */
.page {
    width: 210mm;
    height: 297mm;
    background: white;
    margin: 10mm 0;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    overflow: hidden;
}

.header {
    position: absolute;
    top: 15mm;
    left: 20mm;
    right: 20mm;
    height: 25mm;
    border-bottom: 3px solid #0033a0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    color: #0033a0;
    font-size: 18pt;
    text-transform: uppercase;
    margin: 0;
}

.header h2 {
    color: #ff6600;
    font-size: 11pt;
    margin: 0;
}

.content {
    position: absolute;
    top: 45mm;
    left: 20mm;
    right: 20mm;
    bottom: 25mm;
    font-size: 10.5pt;
    line-height: 1.6;
    text-align: justify;
    color: #333;
}

.footer {
    position: absolute;
    bottom: 10mm;
    left: 20mm;
    right: 20mm;
    height: 10mm;
    border-top: 1px solid #ff6600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 8pt;
    color: #777;
}

/* 4. TIPOGRAFÍA Y ESTILOS INTERNOS */
h3 {
    color: #0033a0;
    font-size: 12pt;
    margin-top: 15px;
    margin-bottom: 5px;
    border-left: 4px solid #ff6600;
    padding-left: 8px;
}

p { margin-bottom: 10px; }
ul { margin-left: 20px; margin-bottom: 10px; }
li { margin-bottom: 5px; }

/* TABLA DE DATOS */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 9.5pt;
}
th, td {
    border: 1px solid #b3c6e6;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #0033a0;
    color: white;
}
tr:nth-child(even) { background-color: #f2f6fc; }

/* ESQUEMA GRÁFICO HTML */
.diagram-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
    width: 100%;
}
.diagram-box {
    border: 2px solid #0033a0;
    background-color: #e6f0ff;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 9pt;
    width: 120px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
.diagram-arrow {
    font-size: 24px;
    color: #ff6600;
    margin: 0 10px;
    font-weight: bold;
}


