/* Portal de clientes de GIVEL PAYROLL (sobre panel.css) */
.portal .barra img { width: 190px; }
.portal main { max-width: 1120px; }
.boton.verde, .portal .boton { background: #16624F; }
.portal .boton.claro { background: #fff; color: #0B5187; border: 1px solid #0B5187; }
.entrada-portal { max-width: 520px; margin: 24px auto; }
.entrada-portal h1 { font-size: 26px; margin-bottom: 6px; }
.oauth { display: grid; gap: 10px; margin: 18px 0 6px; }
.oauth .boton { display: flex; align-items: center; justify-content: center; gap: 10px; color: #1d2b36; border-color: #c8d3dc; }
.separador { text-align: center; color: #7a8995; font-size: 13px; position: relative; margin: 16px 0; }
.separador::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #dfe6ec; }
.separador span { position: relative; background: #fff; padding: 0 10px; }
.pestanas { display: flex; gap: 6px; margin: 10px 0 14px; flex-wrap: wrap; }
.pestanas a { padding: 7px 14px; border-radius: 999px; border: 1px solid #c8d3dc; text-decoration: none; color: #1d2b36; font-size: 14px; }
.pestanas a.activa { background: #0B5187; border-color: #0B5187; color: #fff; }
label.casilla { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 6px 0; }
.titulo-fila { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cot-columnas { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.estimado { position: sticky; top: 92px; }
.estimado .cifra { display: grid; margin: 0 0 14px; }
.estimado .cifra span { font-size: 13px; color: #5b6b78; }
.estimado .cifra b { font-size: 26px; color: #0B5187; font-family: Inter, Arial, sans-serif; }
.estimado .cifra small { color: #7a8995; font-size: 12px; }
.estimado .nota { font-size: 12.5px; }
.estimado .boton { width: 100%; }
.campos.cuatro { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.servicios .serv { padding: 4px 0; border-bottom: 1px solid #EEF3F6; }
.servicios .serv:last-child { border-bottom: 0; }
.servicios .serv-cant { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 8px 26px; padding: 8px 12px; background: #F4F8FB; border-left: 3px solid #9FC1D8; border-radius: 0 6px 6px 0; }
.servicios .serv-cant[hidden] { display: none; }
.servicios .serv-cant label { margin: 0; font-size: 13.5px; color: #33475a; }
.servicios .serv-cant input { width: 80px; }
.servicios .serv-auto { flex-basis: 100%; font-size: 12.5px; color: #5b6b78; }
.servicios .serv-auto a { font-weight: 600; }
.hoja-contrato { max-height: 70vh; overflow: auto; border: 1px solid #dfe6ec; border-radius: 8px; padding: 22px; background: #fff; font-size: 14px; }
.pie-portal { margin-top: 32px; font-size: 13px; text-align: center; }
@media (max-width: 860px) { .cot-columnas { grid-template-columns: 1fr; } .estimado { position: static; } .campos.cuatro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.codigo-otp { font-size: 26px; letter-spacing: 8px; text-align: center; font-family: Inter, Arial, sans-serif; }
.fila-disp { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e3e9ee; }
/* Ayudas «?» junto a los campos */
.ayuda { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-left: 5px; border-radius: 50%;
  background: #D9E9F3; color: #0B5187; font: 700 11px/1 Inter, Arial, sans-serif; cursor: help; vertical-align: 1px; flex: none; }
.ayuda:focus { outline: 2px solid #0B5187; outline-offset: 1px; }
.ayuda::after { content: attr(data-ayuda); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(calc(-50% + var(--dx, 0px))); width: max-content; max-width: min(260px, calc(100vw - 24px));
  background: #172B3A; color: #fff; font: 400 13px/1.45 "Source Sans 3", Arial, sans-serif; padding: 8px 11px; border-radius: 6px; white-space: normal;
  text-align: left; box-shadow: 0 6px 18px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 30; pointer-events: none; }
.ayuda:hover::after, .ayuda:focus::after, .ayuda.abierta::after { opacity: 1; visibility: visible; }
/* Constancia de situación fiscal */
.constancia { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; border: 1.5px dashed #9FC1D8; border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; background: #F7FBFD; }
.constancia.arrastre { border-color: #0B5187; background: #EAF3F9; }
.constancia .texto { flex: 1; min-width: 220px; font-size: 14px; }
.constancia .texto b { font-family: Inter, Arial, sans-serif; font-size: 14px; }
.constancia .texto small { display: block; color: #5b6b78; font-size: 12.5px; }
.constancia input[type=file] { display: none; }
.constancia-estado { font-size: 13.5px; margin: -6px 0 12px; }
.constancia-estado.ok { color: #0E4637; } .constancia-estado.error { color: #B3261E; }
input.leido { background: #F1F8F5; border-color: #8CC2AE; }
/* Recorrido guiado */
.rec-capa { position: fixed; inset: 0; z-index: 40; }
.rec-foco { position: fixed; z-index: 41; border-radius: 10px; box-shadow: 0 0 0 9999px rgba(15,30,42,.55); outline: 2px solid #fff; pointer-events: none; transition: all .25s; }
.rec-globo { position: fixed; z-index: 42; width: min(360px, calc(100vw - 20px)); background: #fff; border-radius: 10px; padding: 16px 18px; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.rec-globo h3 { margin: 0 0 6px; font-size: 16px; color: #0B5187; }
.rec-globo .rec-texto { margin: 0 0 14px; font-size: 14px; }
.rec-globo .rec-paso { margin: 0 0 4px; font-size: 12px; color: #7a8995; }
.rec-botones { display: flex; justify-content: space-between; gap: 8px; }
.rec-botones .boton { padding: 7px 12px; font-size: 13px; width: auto; }
/* Estados de cobro */
.chip.por_confirmar { background: #FFF1D6; color: #8A5A00; } .chip.pagado { background: #D9E9F3; color: #0B5187; }
.chip.facturado { background: #E3F0EC; color: #0E4637; } .chip.cancelado { background: #EEF1F3; color: #5A6772; }
/* Seguimiento de la vacante (etapas) */
.tracker { display: flex; list-style: none; padding: 0; margin: 14px 0 18px; counter-reset: paso; }
.tracker li { flex: 1; position: relative; text-align: center; font-size: 12.5px; color: #7a8995; padding-top: 30px; }
.tracker li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: #E3E9EE; z-index: 1; }
.tracker li::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 3px; background: #E3E9EE; }
.tracker li:first-child::before { display: none; }
.tracker li.hecha, .tracker li.actual { color: #172B3A; font-weight: 600; }
.tracker li.hecha span { background: #16624F; } .tracker li.hecha::before, .tracker li.actual::before { background: #16624F; }
.tracker li.actual span { background: #0B5187; box-shadow: 0 0 0 5px #D9E9F3; }
@media (max-width: 600px) { .tracker li { font-size: 10.5px; } }
