/* Componentes propios de esta herramienta. El resto de la piel viene de
   styles.css, compartida con el resto de la caja de Herramentia. */

.slots {
  display: grid;
  gap: .6rem;
  margin: 1.1rem 0 .4rem;
}
@media (min-width: 720px) { .slots { grid-template-columns: repeat(3, 1fr); } }

.slot {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .75rem .85rem;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
}
.slot strong { display: block; font-size: .92rem; font-weight: 600; }
.slot-sub {
  display: block;
  font-size: .78rem;
  opacity: .62;
  margin-top: .12rem;
  word-break: break-word;
}
.slot-estado { font-size: 1rem; line-height: 1.35; opacity: .45; }
.slot-ok { border-color: rgba(254, 240, 138, .45); background: rgba(254, 240, 138, .06); }
.slot-ok .slot-estado { opacity: 1; color: #fef08a; }

.bloque { margin-top: 1.6rem; }
.bloque h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 .7rem;
  letter-spacing: -.01em;
}

.campos { display: grid; gap: .7rem; }
@media (min-width: 640px) { .campos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .campos { grid-template-columns: repeat(3, 1fr); } }

.campo { display: flex; flex-direction: column; gap: .25rem; font-size: .82rem; }
.campo > span { opacity: .72; }
.campo > span em { font-style: normal; opacity: .55; }
.campo input {
  font: inherit;
  font-size: .95rem;
  padding: .5rem .6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: inherit;
}
.campo input:focus { outline: 2px solid rgba(254, 240, 138, .5); outline-offset: 1px; }
.campo small { font-size: .72rem; opacity: .5; }
.campo-falta input { border-color: rgba(254, 240, 138, .38); }

.check {
  display: block;
  border-left: 3px solid rgba(255, 255, 255, .18);
  padding: .55rem 0 .55rem .85rem;
  margin: 0 0 .9rem;
}
/* La hoja compartida pone algunos párrafos en línea; aquí cada parte de
   la comprobación tiene que ir en su propia línea o el título se come el
   principio del detalle. */
.check > p { display: block; width: 100%; }
.check > h4 { display: flex; width: 100%; }
.check h4 {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .95rem;
  font-weight: 650;
  margin: 0 0 .3rem;
}
.check p { margin: 0 0 .3rem; font-size: .9rem; line-height: 1.55; }
.check .nota { font-size: .84rem; opacity: .72; }
.check .meses {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .76rem;
  opacity: .8;
  line-height: 1.7;
}
.check-marca {
  width: .55rem; height: .55rem; border-radius: 50%;
  background: currentColor; flex: none;
}
.check-ok { border-left-color: rgba(134, 239, 172, .55); }
.check-ok .check-marca { color: #86efac; }
.check-revisar { border-left-color: rgba(252, 165, 165, .7); }
.check-revisar .check-marca { color: #fca5a5; }
.check-info { border-left-color: rgba(147, 197, 253, .55); }
.check-info .check-marca { color: #93c5fd; }

.tag {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .1rem .38rem;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .18);
  opacity: .65;
  font-weight: 600;
}

.aviso {
  font-size: .85rem;
  line-height: 1.6;
  padding: .6rem .8rem;
  border-radius: 8px;
  background: rgba(254, 240, 138, .07);
  border: 1px solid rgba(254, 240, 138, .2);
  margin: .7rem 0 0;
}

.bloque-plazo p { font-size: .9rem; line-height: 1.6; margin: 0 0 .35rem; }
.bloque-plazo .nota { opacity: .7; font-size: .84rem; }

.nota { font-size: .85rem; opacity: .74; line-height: 1.6; }
