/* Panel GaleónVDI Helm — Manual SLM 2026 (naranja #EE761E, grises #4B5253 / #9D9D9C, Rubik + Montserrat). */
@font-face { font-family: Rubik; src: url(/panel/a/Rubik.ttf); font-weight: 300 900; }
@font-face { font-family: Montserrat; src: url(/panel/a/Montserrat.ttf); font-weight: 300 900; }

:root {
  --naranja: #EE761E; --naranja-osc: #D9640F; --naranja-suave: #FDF1E7;
  --carbon: #4B5253; --gris: #9D9D9C; --linea: #E6E3E0; --fondo: #FAF8F6; --tinta: #24292A;
  --ok: #1E9E62; --mal: #C8372D; --radio: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: Montserrat, system-ui, sans-serif; color: var(--tinta); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .rubik { font-family: Rubik, system-ui, sans-serif; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ── Login A · Timón ─────────────────────────────── */
.login { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 100vh; }
.escena { position: relative; overflow: hidden; background: url(/panel/a/seda.jpg) center/cover; }
.contenedor { position: absolute; inset: 5% 3% 5% 34%; clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  background: #1d2122 url(/panel/a/aliee-circuito.jpg) center 20%/cover; box-shadow: 0 40px 80px -30px rgba(0,0,0,.35); }
.contenedor::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(238,118,30,0) 55%, rgba(238,118,30,.35)); }
.linea { position: absolute; left: 30%; top: 40%; bottom: 4%; width: 3px; background: linear-gradient(var(--naranja), rgba(238,118,30,0)); transform: skewX(-17deg); border-radius: 3px; }
.lema { position: absolute; left: 6%; top: 9%; max-width: 34%; }
.lema h2 { font-size: clamp(26px, 2.7vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.lema em { font-style: normal; color: var(--naranja); }
.tarjeta-marca { position: absolute; left: 6%; bottom: 7%; width: min(360px, 44%); padding: 18px 20px; border-radius: 18px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 20px 50px -20px rgba(36,41,42,.35); }
.tarjeta-marca small { font-family: Rubik; font-size: 13px; font-weight: 600; color: var(--carbon); letter-spacing: .06em; text-transform: uppercase; }
.tarjeta-marca p { font-family: Rubik; font-size: 22px; font-weight: 700; color: var(--naranja); margin-top: 8px; }
.tarjeta-marca span { font-size: 12.5px; color: var(--gris); }

.lado { display: flex; flex-direction: column; justify-content: center; padding: 6vh 7vw; gap: 40px; }
.cabeza { display: flex; flex-direction: column; gap: 20px; }
.cabeza img { height: 34px; width: auto; align-self: flex-start; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; background: var(--naranja-suave); color: var(--naranja-osc); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--naranja); }
.paso { display: flex; flex-direction: column; gap: 20px; animation: entra .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Encabezado de cada paso: etiqueta → título → descripción, con aire entre ellos. */
.paso > div:first-child { display: flex; flex-direction: column; gap: 12px; margin-bottom: 6px; }
.paso > div:first-child .progreso { margin-bottom: 2px; }
.titulo { font-size: 32px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.sub { color: var(--carbon); font-size: 15.5px; line-height: 1.6; }
.progreso { font-size: 12px; font-weight: 600; color: var(--naranja-osc); letter-spacing: .04em; text-transform: uppercase; }

.campo { position: relative; display: flex; align-items: center; height: 58px; border: 1.5px solid var(--linea); border-radius: var(--radio); background: #fff; transition: border-color .2s, box-shadow .2s; }
.campo:focus-within { border-color: var(--naranja); box-shadow: 0 0 0 4px rgba(238,118,30,.12); }
.campo svg { width: 20px; height: 20px; margin: 0 12px 0 16px; color: var(--gris); flex: none; }
.campo input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15.5px; padding-top: 14px; color: var(--tinta); text-overflow: ellipsis; }
.campo label { position: absolute; left: 48px; top: 9px; font-size: 11.5px; font-weight: 600; color: var(--carbon); }
.campo .ojo { align-self: stretch; display: flex; align-items: center; justify-content: center; width: 52px; border: 0; background: none; color: var(--gris); border-radius: 0 var(--radio) var(--radio) 0; transition: color .15s; }
.campo .ojo:hover, .campo .ojo[aria-pressed="true"] { color: var(--naranja); }
.campo .ojo:focus-visible { outline: 2px solid var(--naranja); outline-offset: -4px; }
.campo .ojo svg { margin: 0; width: 22px; height: 22px; }
/* Edge/IE ponen su propio ojo dentro del campo: se quita para que no haya dos. */
.campo input::-ms-reveal, .campo input::-ms-clear { display: none; }

.boton { width: 100%; height: 54px; border: 0; border-radius: var(--radio); background: var(--naranja); color: #fff; font-family: Rubik; font-size: 16px; font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(238,118,30,.65); transition: transform .15s, background .2s, opacity .2s; }
.boton:hover { background: var(--naranja-osc); }
.boton:active { transform: scale(.985); }
.boton:disabled { opacity: .55; cursor: progress; }
.enlace { align-self: flex-start; color: var(--naranja-osc); font-weight: 600; font-size: 13.5px; background: none; border: 0; }
.enlace:disabled { color: var(--gris); cursor: default; }
.nota { font-size: 12.5px; color: var(--gris); line-height: 1.5; }
.error { font-size: 13.5px; color: var(--mal); background: #FCEDEC; border-radius: 10px; padding: 10px 12px; line-height: 1.45; }

.codigo { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.codigo input { min-width: 0; width: 100%; height: 64px; border: 1.5px solid var(--linea); border-radius: 12px; text-align: center; font-family: Rubik; font-size: 28px; font-weight: 600; color: var(--tinta); outline: 0; }
.codigo input:focus { border-color: var(--naranja); box-shadow: 0 0 0 4px rgba(238,118,30,.12); }
.anillo { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--carbon); }
.anillo svg { width: 26px; height: 26px; transform: rotate(-90deg); }

.qr { display: grid; grid-template-columns: 148px 1fr; gap: 18px; align-items: center; padding: 16px; border: 1.5px solid var(--linea); border-radius: 16px; background: #fff; }
.qr .img svg { width: 148px; height: 148px; display: block; }
.qr ol { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--carbon); line-height: 1.45; }
.qr code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--fondo); padding: 6px 8px; border-radius: 8px; display: inline-block; margin-top: 4px; letter-spacing: .04em; word-break: break-all; }
.reglas { list-style: none; display: grid; gap: 6px; font-size: 13px; color: var(--gris); }
.reglas li::before { content: "○ "; }
.reglas li.ok { color: var(--ok); }
.reglas li.ok::before { content: "✓ "; }

.pie { display: flex; align-items: center; justify-content: space-between; }
.pie img { height: 22px; opacity: .85; }

@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .escena { height: 30vh; }
  .lema, .tarjeta-marca, .linea { display: none; }
  .lado { padding: 28px 22px; }
  .qr { grid-template-columns: 1fr; justify-items: center; }
}

/* ── Panel (después de entrar) ───────────────────── */
.app { min-height: 100vh; background: var(--fondo); }
.barra { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 28px; background: #fff; border-bottom: 1px solid var(--linea); }
.barra .izq { display: flex; align-items: center; gap: 14px; }
.barra img { height: 26px; }
.barra .der { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--carbon); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--naranja); color: #fff; display: grid; place-items: center; font-family: Rubik; font-weight: 600; font-size: 13px; }
.salir { height: 36px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--linea); background: #fff; color: var(--carbon); font-weight: 600; font-size: 13px; }
.salir:hover { border-color: var(--naranja); color: var(--naranja-osc); }
.contenido { max-width: 1100px; margin: 0 auto; padding: 40px 28px; display: flex; flex-direction: column; gap: 20px; }
.aviso { background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
