/* Portal clientes: fondo azul fuerte y tarjeta clara en relieve suave. */
.neu {
  --base: #e6eef8; --sombra: #bccbe0; --luz: #ffffff;
  --alto: 10px 10px 24px var(--sombra), -10px -10px 24px var(--luz);
  --bajo: 5px 5px 12px var(--sombra), -5px -5px 12px var(--luz);
  --hundido: inset 4px 4px 9px var(--sombra), inset -4px -4px 9px var(--luz);
  position: relative; min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; overflow-x: hidden;
  background: radial-gradient(1000px 620px at 80% 0%, #1b4a86 0%, transparent 65%), linear-gradient(160deg, #0b1b34, #14305a); background-color: #0e2240;
}
.neu .caja { position: relative; }
.neu-cab { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.neu-cab img { width: 172px; }
.neu-cab nav { display: flex; gap: 12px; flex-wrap: wrap; }
.neu-cab nav a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; padding: 9px 18px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2); box-shadow: 4px 4px 12px rgba(4,12,26,.4); transition: box-shadow .15s, color .15s; }
.neu-cab nav a:hover { background: rgba(255,255,255,.18); }
.neu-cab nav a[aria-current] { background: #fff; color: var(--azul); font-weight: 700; box-shadow: none; }
.neu-cuerpo { display: grid; place-items: center; padding-top: 18px; padding-bottom: 48px; }
.neu-pie { position: relative; text-align: center; color: #cfdcee; font-size: 14px; padding: 0 24px 24px; }


.neu-tarjeta { width: 100%; max-width: 410px; padding: 38px 36px 30px; border-radius: 28px; background: linear-gradient(145deg, #eef4fb, #e2ebf6); box-shadow: 0 28px 70px rgba(3,10,24,.5), inset 1px 1px 0 rgba(255,255,255,.9); }
.neu-tarjeta.ancha { max-width: 680px; }
.neu-icono { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #f3f8fd, #dce7f4); box-shadow: var(--alto); color: var(--azul); }
.neu-icono svg { width: 34px; height: 34px; }
.neu-tarjeta h1 { text-align: center; font-size: 27px; font-weight: 900; color: var(--noche); }
.neu-tarjeta > p { text-align: center; color: var(--gris); font-size: 16px; margin: 6px 0 26px; }
.neu-tarjeta form { gap: 18px; }

/* Campo hundido con etiqueta que sube y borde que se ilumina al escribir */
@property --giro { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.neu-campo { position: relative; padding: 2px; border-radius: 16px; isolation: isolate; }
.neu-campo::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; opacity: 0; background: conic-gradient(from var(--giro), var(--azul), var(--cielo), #bfe4f7, var(--azul)); transition: opacity .2s; }
.neu-campo:focus-within::before { opacity: 1; animation: giro 2.6s linear infinite; }
@keyframes giro { to { --giro: 360deg; } }
.neu-campo input, .neu-campo select, .neu-campo textarea { display: block; min-height: 58px; padding: 23px 16px 8px; border: 1px solid rgba(120,146,180,.38); border-radius: 14px; background: #e9f0f9; box-shadow: var(--hundido); }
.neu-campo textarea { min-height: 128px; padding-top: 28px; }
.neu-campo input:focus, .neu-campo select:focus, .neu-campo textarea:focus { outline: 0; border-color: transparent; background: #f1f6fc; }
.neu-campo label { position: absolute; left: 18px; top: 19px; font-size: 16px; font-weight: 400; color: #4c5d76; pointer-events: none; transition: top .15s, font-size .15s, color .15s; }
.neu-campo :is(input, textarea):focus + label, .neu-campo :is(input, textarea):not(:placeholder-shown) + label, .neu-campo select + label { top: 8px; font-size: 12.5px; font-weight: 500; }
.neu-campo:focus-within label { color: var(--azul); }
.neu-campo.con-ojo input { padding-right: 56px; }
.ojo { position: absolute; right: 9px; top: 9px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #4c5d76; display: grid; place-items: center; cursor: pointer; }
.ojo:hover { color: var(--azul); }
.ojo svg { width: 22px; height: 22px; }
.ojo .tachado { display: none; }
.ojo[aria-pressed="true"] .tachado { display: block; }

.neu-fila { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; font-size: 14.5px; }
.neu-fila label { display: flex; align-items: center; gap: 9px; color: #4c5d76; font-size: 14.5px; font-weight: 400; cursor: pointer; }
.neu-fila input { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--azul); }
.olvide { border: 0; background: none; padding: 4px 0; font: 500 14.5px/1.4 var(--texto); color: var(--azul); cursor: pointer; }
.olvide:hover { text-decoration: underline; }
.neu-boton { min-height: 56px; border: 0; border-radius: 16px; background: linear-gradient(145deg, #1273da, #0a56aa); color: #fff; font: 700 16.5px/1 var(--texto); cursor: pointer; box-shadow: 7px 7px 16px #b3c6df, -6px -6px 14px var(--luz); transition: box-shadow .15s, filter .15s; }
.neu-boton:hover { filter: brightness(1.06); }
.neu-boton:active { box-shadow: inset 4px 4px 10px rgba(5,40,86,.55), inset -3px -3px 8px rgba(255,255,255,.18); }
.neu-boton:disabled { opacity: .7; cursor: wait; }
.neu-otro { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; font-size: 14.5px; color: #4c5d76; }
.neu-otro a { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #f3f8fd, #dce7f4); box-shadow: var(--bajo); color: var(--azul); }
.neu-otro a:hover { box-shadow: var(--hundido); }
.neu-otro svg { width: 22px; height: 22px; }
.neu .mensaje { background: #fff3da; border-radius: 14px; }
.neu .nota { text-align: center; }

@media (max-width: 560px) { .neu-tarjeta { padding: 30px 20px 26px; } .neu-cab { justify-content: center; } .neu-cab nav a { padding: 8px 14px; font-size: 14.5px; } }
@media (prefers-reduced-motion: reduce) { .neu-campo:focus-within::before { animation: none; } }
.neu-cab nav { justify-content: center; }
@media (max-width: 560px) { .neu-cab nav { gap: 10px; } .neu-cab nav a { padding: 8px 12px; font-size: 13.5px; } .neu-fila, .neu-fila label, .olvide { font-size: 13.5px; } }
.neu .mensaje .boton { width: 100%; background: #fff; border-color: #bcd0e8; border-radius: 14px; }
.neu .mensaje .boton:hover { background: var(--azul); color: #fff; }
