/* planilla.css */

/* Cuerpo y centrado */
body {
    font-family: Calibri, sans-serif;
    font-size: 10px;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
}

/* Contenedor de la hoja */
.sheet-container {
    width: 279.4mm; /* 11 pulgadas */
    height: 215.9mm; /* 8.5 pulgadas */
    padding: 20mm;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Tablas */
table {
    border-collapse: collapse;
    width: 100%;
}

td {
    border: 1px solid black;
    padding: 2px;
    vertical-align: top;
}

.no-border-cell {
    border: none !important;
}

/* Encabezados */
.header-title {
    text-align: center;
    font-weight: bold;
}

.main-title { font-size: 30px; }
.sub-title { font-size: 26px; }
.month-header {
    font-size: 24px;
    text-align: center;
}

.table-header {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

/* Celdas de datos */
.data-cell { text-align: center; font-size: 14px; }
.text-cell { font-size: 14px; text-align: left; }
.number-cell { font-size: 14px; text-align: right; }

/* Filas de totales */
.total-row {
    font-size: 14px;
    font-weight: bold;
    text-align: right;
}

/* Texto especial */
.text-cell-ult { font-size: 15px; text-align: left; }

/* Ajustes para impresi¨Žn */
@media print {
    body { box-shadow: none; background: none; padding: 0; }
    .sheet-container { width: 100%; height: auto; box-shadow: none; }
}
