/* La identidad de paradigmateatro.com, tomada de la web el 3-sep-2026:
   Barlow, fondo blanco, texto gris, barra casi negra, acento coral y botones
   negros SIN redondear. Ese «sin redondear» no es un descuido: la web no
   redondea nada, y unas esquinas suaves aquí harían que esto pareciera otra
   cosa distinta de la escuela. */

:root {
  --tinta:      #100e1c;   /* la barra de navegación de la web */
  --texto:      #5f5f5f;
  --texto-tenue:#918f9d;
  --papel:      #ffffff;
  --papel-suave:#f9f9f9;
  --linea:      #e4e3e8;
  --acento:     #fa6161;   /* el coral de los enlaces */
  --bien:       #2e7d5b;
  --mal:        #b3261e;
  --aviso:      #9a6700;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Barlow, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--texto);
  background: var(--papel);
}

a { color: var(--acento); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- cabecera y navegación, como en la web --- */
.cabecera {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--linea);
}
.cabecera img { height: 46px; width: auto; display: block; }
.cabecera .quien { color: var(--texto-tenue); font-size: .9rem; }

.navegacion { background: var(--tinta); }
.navegacion ul {
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  margin: 0; padding: 0 1.5rem; list-style: none;
}
.navegacion a {
  display: block; padding: .95rem 0;
  color: #fff; text-transform: uppercase;
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
}
.navegacion a:hover { color: var(--acento); text-decoration: none; }
.navegacion a.aqui { color: var(--acento); }

main { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

/* Los títulos de sección de la web llevan una raya coral corta debajo. */
h1, h2, h3 { color: #313131; font-weight: 500; margin: 0 0 1rem; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.35rem; margin-top: 2.5rem; }
h1::after, h2::after {
  content: ""; display: block; width: 54px; height: 2px;
  background: var(--acento); margin-top: .55rem;
}

/* --- tablas: el grueso de esta aplicación --- */
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
th {
  text-align: left; padding: .6rem .7rem;
  border-bottom: 2px solid var(--tinta);
  text-transform: uppercase; font-size: .74rem; letter-spacing: .05em; color: #313131;
}
td { padding: .6rem .7rem; border-bottom: 1px solid var(--linea); }
tbody tr:hover { background: var(--papel-suave); }
td.numero, th.numero { text-align: right; font-variant-numeric: tabular-nums; }

.vacio { color: var(--texto-tenue); font-style: italic; padding: 2rem 0; }

/* --- formularios y botones --- */
label { display: block; margin: .9rem 0 .3rem; font-size: .85rem; color: #313131; }
input, select, textarea {
  width: 100%; padding: .55rem .6rem;
  border: 1px solid var(--linea); border-radius: 0;
  font: inherit; color: var(--texto); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--acento); outline-offset: -2px; }

.boton, button {
  display: inline-block; padding: .6rem 1.4rem;
  background: var(--tinta); color: #fff;
  border: 0; border-radius: 0;
  font: inherit; font-size: .85rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.boton:hover, button:hover { background: var(--acento); text-decoration: none; }
.boton.tenue { background: transparent; color: var(--texto); border: 1px solid var(--linea); }
.boton.tenue:hover { border-color: var(--acento); color: var(--acento); background: transparent; }

/* --- avisos --- */
.aviso { padding: .8rem 1rem; margin: 1rem 0; border-left: 3px solid var(--acento); background: var(--papel-suave); }
.aviso.error { border-color: var(--mal); color: var(--mal); }
.aviso.bien  { border-color: var(--bien); color: var(--bien); }

/* --- estados de asistencia --- */
.estado { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.estado.asiste { color: var(--bien); }
.estado.falta { color: var(--mal); }
.estado.justificada { color: var(--aviso); }
.estado.retraso { color: var(--texto-tenue); }
.estado.sin { color: var(--texto-tenue); font-style: italic; text-transform: none; letter-spacing: 0; }

/* --- entrada --- */
.entrada { max-width: 340px; margin: 12vh auto; padding: 0 1.5rem; }
.entrada img { height: 58px; margin-bottom: 2rem; }
.entrada h1::after { display: none; }

.fichas { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0; }
.ficha { flex: 1 1 190px; padding: 1.1rem; border: 1px solid var(--linea); }
.ficha .cifra { font-size: 2rem; color: var(--tinta); line-height: 1.1; }
.ficha .rotulo { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--texto-tenue); }

@media (max-width: 640px) {
  .navegacion ul { gap: 1rem; }
  .cabecera { flex-direction: column; align-items: flex-start; gap: .5rem; }
}
