/* =========================================================================
   Detalles propios de cada pantalla.
   ========================================================================= */

/* -- Login ---------------------------------------------------------------- */
.auth-links {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 10px; margin: 14px 0 18px; font-size: 14px;
}
.auth-submit { margin-top: 16px; }
.auth-secure { display: flex; gap: 6px; align-items: flex-start; margin-top: 18px; }
.auth-secure svg { width: 16px; height: 16px; flex: none; }

/* -- Fichaje -------------------------------------------------------------- */
.clock-screen { max-width: 560px; margin: 0 auto; }
.clock-face { padding: 28px 16px; text-align: center; }
.clock-face__time {
  font-size: clamp(56px, 10vw, 84px); font-weight: 800; letter-spacing: -2px; line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* -- Mis fichajes --------------------------------------------------------- */
.month-nav { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.month-summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* -- Comunicados ---------------------------------------------------------- */
.news-image { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius); }
.news-body { line-height: 1.6; }
.news-body img { height: auto; border-radius: var(--radius-sm); }

/* -- Perfil --------------------------------------------------------------- */
.profile { max-width: 760px; }
.profile-card { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.profile-card__name { font-size: 20px; font-weight: 700; }

/* -- Vacaciones: cálculo de días de la solicitud --------------------------- */
.leave-preview { min-height: 1.5em; font-size: 14px; }

/* -- Vacaciones: calendario de la nueva solicitud ------------------------- */
.leave-calendar { margin: 4px 0 6px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__title { font-weight: 700; }
.cal__nav {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--brand-text); font-size: 20px; cursor: pointer;
}
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__weekday { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal__day {
  min-height: 40px; border: 0; border-radius: var(--radius-sm); background: transparent;
  color: inherit; font: inherit; font-size: 15px; cursor: pointer;
}
.cal__day:hover:not(:disabled) { background: var(--brand-soft); }
.cal__day:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.cal__day:disabled { cursor: default; }
.cal__day.is-off { color: var(--muted); opacity: .55; }
.cal__day.is-holiday { text-decoration: line-through; }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--brand-bar); }
.cal__day.is-range { background: var(--brand-soft); }
.cal__day.is-range-off { background: var(--brand-soft); opacity: .45; }
.cal__day.is-selected { background: var(--brand); color: #fff; opacity: 1; font-weight: 700; }

/* -- Canal de denuncias ---------------------------------------------------- */
.case-code { font-size: clamp(26px, 6vw, 34px); font-weight: 800; letter-spacing: 2px; }
.case-message { padding: 10px 12px; border-radius: var(--radius-sm); background: var(--brand-soft); }
.case-message--reporter { background: var(--neutral-bg); }

/* -- Páginas de error ---------------------------------------------------- */
.simple-logo { display: block; height: 62px; margin-bottom: 26px; }

/* -- Apartado en preparación ---------------------------------------------- */
.coming-soon { max-width: 560px; text-align: center; padding: 36px 20px; }
.coming-soon .icon-box { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; }

/* Fichaje fuera de horario: motivo encima de los botones. */
.clock-reason { display: grid; gap: 6px; }
.clock-reason label, .clock-reason p { margin: 0; }
.clock-reason textarea { min-height: 64px; }
