/* =====================================================================
 *  Páginas sin menú: ingreso al sistema, portal del cliente y constancia
 * ===================================================================== */

/* ---------- Ingreso ---------- */
.ingreso { min-height: 100vh; display: flex; flex-wrap: wrap; }
.ingreso-marca { flex: 1 1 420px; background: linear-gradient(160deg, var(--c-morado-osc) 0%, #3F2D59 100%); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: 3rem; gap: 2rem; }
.ingreso-marca h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; }
.ingreso-marca p { color: rgba(255,255,255,.82); max-width: 26rem; font-size: 1.05rem; }
.ingreso-marca .logo { width: 42px; height: 42px; }
.franja-puntos { display: flex; gap: .5rem; }
.franja-puntos span { width: 44px; height: 8px; border-radius: 4px; }
.ingreso-form { flex: 1 1 420px; display: flex; align-items: center; justify-content: center; padding: 2.5rem 1rem; }
.ingreso-form .card { width: 100%; max-width: 410px; border-radius: 1rem; }
.nota-segura { background: var(--bs-info-bg-subtle); border-radius: .5rem; padding: .6rem .8rem; font-size: .85rem; color: var(--bs-secondary-color); }
@media (max-width: 767.98px) {
  .ingreso-marca { padding: 1.5rem; flex-basis: 100%; }
  .ingreso-marca .grande { display: none; }
}

/* ---------- Portal del cliente ---------- */
.portal { max-width: 560px; margin: 0 auto; padding: 1.25rem 1rem 2.5rem; }
.portal-cab { background: var(--c-morado-osc); color: #fff; }
.portal-cab .cont { max-width: 560px; margin: 0 auto; padding: .9rem 1rem; display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; }
.portal-cab img { width: 28px; height: 28px; }
.portal .seccion { background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); border-radius: .9rem; padding: 1.1rem; }
[data-bs-theme="light"] .portal .seccion { background: #fff; }
.portal .seccion h2 { font-size: 1.05rem; color: var(--c-morado-osc); margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
[data-bs-theme="dark"] .portal .seccion h2 { color: #C9BBDD; }
.portal .form-control, .portal .form-select { min-height: 48px; font-size: 1rem; }
.portal .form-label { font-weight: 600; }
.portal .btn-lg { min-height: 52px; font-weight: 700; }
.progreso { height: 6px; border-radius: 3px; background: var(--tabla-encabezado); overflow: hidden; }
.progreso > div { height: 100%; background: var(--c-azul); }
.entrada-clave { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.5rem !important; font-weight: 700;
  letter-spacing: .15em; text-align: center; text-transform: uppercase; min-height: 60px !important; }
.icono-portal { width: 64px; height: 64px; border-radius: 18px; background: var(--bs-primary-bg-subtle); color: var(--c-azul-osc);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.check-listo { width: 76px; height: 76px; border-radius: 50%; background: var(--c-verde); color: #1F2A0A;
  display: inline-flex; align-items: center; justify-content: center; font-size: 2.6rem; }
.numero-sol { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 2.1rem; font-weight: 700; }
.resumen dt { font-size: .75rem; color: var(--bs-secondary-color); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; }
.resumen dd { margin-bottom: .7rem; }
.oculto-bot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Constancia (imprimible) ---------- */
.hoja-constancia { max-width: 760px; margin: 1.5rem auto; background: #fff; color: #2B2233; border-radius: .6rem;
  box-shadow: 0 4px 24px rgba(43,34,51,.12); padding: 2.2rem 2.4rem; }
.hoja-constancia .tabla-datos th { width: 34%; color: #6B6280; font-weight: 600; font-size: .9rem; }
.hoja-constancia .caja-num { border: 1.5px dashed #B9A8D3; background: #F3EFF9; border-radius: .6rem; padding: .8rem 1.1rem; }
@media print {
  @page { size: A4; margin: 2cm; }
  body { background: #fff !important; }
  .no-print { display: none !important; }
  .hoja-constancia { box-shadow: none; margin: 0; padding: 0; max-width: none; }
}
