/* Libro de guardia (index.html): marca y letra legible. 20/11/2026.
   Pedido de Pablo: mejorar sin cambiar el formato, porque la guardia ya está acostumbrada.
   Se usa solo en PC. Esta hoja se carga DESPUÉS del CSS compilado (/assets/main-*.css) y de los
   estilos propios de index.html, y solo cambia letras y algunos tamaños:
   - letras del manual de marca: Ubuntu en el texto y Baloo 2 en los títulos;
   - ningún texto de menos de 13 px (antes había rótulos de 10 y 11 px);
   - el gris más apagado (--text-muted) pasa de #475569 a #97a6c0, para llegar al contraste mínimo.
   No cambia colores de estado (verde entró, naranja salió, rojo avisos) ni el lugar de nada.
   Para volver atrás alcanza con sacar el <link> a esta hoja en index.html. */

:root { --text-muted: #97a6c0; }

body, button, input, select, textarea { font-family: 'Ubuntu', 'Segoe UI', system-ui, sans-serif; }
.main__title, .sidebar__brand-title, .modal__title, h1, h2, h3 { font-family: 'Baloo 2', 'Ubuntu', 'Segoe UI', sans-serif; letter-spacing: 0; }
.main__title { font-size: 1.65rem; line-height: 1.15; }

/* Menú de la izquierda */
html body .guard-selector__label { font-size: 13px; }
html body .nav-badge { font-size: 13px; padding: 1px 9px; }
html body .sidebar__user-name { font-size: 14px; }
html body .sidebar__user-email { font-size: 13px; }
html body .sidebar__avatar { font-size: 14px; }
html body .sidebar .btn--ghost { font-size: 14px; min-height: 34px; padding-top: 0.3rem; padding-bottom: 0.3rem; }
/* Con la letra más grande el menú no entraba en 1366x768 y "Control de Motos" quedaba cortado.
   Se achican un poco los espacios (no las letras) para que entre entero también en 1280x720. */
html body .sidebar__header { padding-top: 0.8rem; padding-bottom: 0.8rem; }
html body .sidebar__nav { padding-top: 0.7rem; padding-bottom: 0.7rem !important; gap: 0.2rem; }
html body .sidebar__nav-item { padding-top: 0.45rem; padding-bottom: 0.45rem; }
html body .sidebar__footer { padding-top: 0.7rem; padding-bottom: 0.7rem; }
html body .sidebar__user { margin-bottom: 0.5rem; }
html body .sidebar__footer a.btn { margin-bottom: 0.35rem !important; }

/* Encabezado y cuadros de números */
html body .main__date { font-size: 14px; }
html body .stat-card__label { font-size: 13px; letter-spacing: 0.02em; }
html body .guardia-chip__cambiar { font-size: 14px; }

/* Tarjetas de los que están adentro */
html body .adentro-item__meta, html body .adentro-item__edad { font-size: 14px; }
html body .adentro-item__guardado, html body .adentro-ayuda, html body .adentro-count { font-size: 14px; }
html body .salida-info { font-size: 13.5px; }
html body .salida-dia { font-size: 13px; }
html body .btn--sm { font-size: 14px; }

/* Etiquetas (ENTRADA, SALIDA, CHASIS...) y tablas del día y del historial */
html body .badge { font-size: 13px; }
html body .table th { font-size: 13px; }
html body .table td { font-size: 14.5px; }
html body .table td b, html body .table td span { font-size: inherit; }

/* Textos que arma local-guardia.js con estilo en línea (acompañantes y cartelera) */
html body [style*="font-size: 11.5px"], html body [style*="font-size: 11px"], html body [style*="font-size: 12px"] { font-size: 13px !important; }
html body [style*="font-size: 11.5px"] span { font-size: inherit !important; }

/* Celdas y botones de las tablas que local-guardia.js arma con estilo en línea o reglas más específicas */
html body td[style*="font-size:0.85rem"] { font-size: 14px !important; }
html body .table .btn--sm, html body td .btn--sm { font-size: 14px !important; }
html body td .salida-info { font-size: 13.5px !important; }

/* Formularios de carga (ENTRÓ, visita, llave, novedad): etiquetas de cada campo y opciones */
html body .form-group label, html body .form-simple .form-group label { font-size: 15px !important; }
html body .tipo-selector__label, html body .form-simple .tipo-selector__label { font-size: 15px !important; }
html body .guard-selector__select { font-size: 14px; }
/* Buscadores de "los que siguen adentro" */
html body input.adentro-buscar { font-size: 15px !important; }

/* Detalles que encontró la revisión de QA del 20/11 */
html body .sugerencias__titulo { font-size: 13.5px; }
html body .form-simple #v-btn-add-acompanante, html body .form-simple #e-btn-add-acompanante { font-size: 14px !important; }
html body .modal-card__desc { font-size: 14px; }
html body td .btn-mas, html body .btn-mas { font-size: 1.1rem !important; }

/* Ventanitas (salida, borrar, elegir guardia): las etiquetas un poco más chicas que en los formularios
   grandes y menos espacio, para que "Confirmar salida" y "Cancelar" entren sin bajar en 1280x720. */
html body .modal-card .form-group label { font-size: 14px !important; }
@media (max-height: 760px) {
  html body .modal-card { padding: 1.2rem 1.5rem; }
  html body .modal-card__title { margin-bottom: 0.25rem; }
  html body .modal-card__desc { margin-bottom: 0.8rem; }
  html body .modal-card .form-group { margin-bottom: 0.5rem !important; }
  html body .modal-card__actions { margin-top: 0.8rem; }
  /* Menú: el logo un poco más chico para que "Control de Motos" entre entero en pantallas de 720 de alto. */
  html body .sidebar__logo-img { width: 118px; }
}
