/*
 * The central's sign-in page (the abandoned Laravel live's login.css, brought over on
 * Francisco's order 2026-10-27): the GlobalTrack mark over a drawn map on the left, the
 * form on the right. Its own document (no app CSS). Tokens: ink #1B2430, muted #5F6B7A,
 * line #D7DDE5, accent #0F7B6C (dark #0B5F53, soft #DFF1EC), danger #B42318.
 */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body.gt-login { background: #fff; color: #1B2430; font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
.gt-login a { color: #0B5F53; }
.gt-login a:hover { color: #0F7B6C; }
.noscript { padding: 16px; background: #FCEBEA; color: #B42318; text-align: center; }

.login { display: flex; min-height: 100vh; }

/* ---- The map side --------------------------------------------------------- */
.login-side { position: relative; flex: 0 0 44%; background: #1B2430; color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 56px 56px 40px; }
.login-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.login-map text { font-family: "Instrument Sans", system-ui, sans-serif; }
.login-mark, .login-owner { position: relative; margin: 0; }
.login-mark strong { display: block; font-size: 44px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.login-mark span { display: block; margin-top: 10px; font-size: 16px; color: #9AA7B5; }
.login-owner { font-size: 13px; color: #8B98A7; }

/* The one moment: the trail draws itself, each position appears as the line reaches it, then the vehicle. */
.login-trail { stroke-dasharray: 1; stroke-dashoffset: 1; }
.login-pos, .login-marker { opacity: 0; }
.go .login-trail { animation: login-draw 2.4s cubic-bezier(.45, 0, .2, 1) .3s forwards; }
.go .login-pos { animation: login-pop .25s ease-out forwards; }
.go .login-marker { animation: login-pop .35s ease-out 2.75s forwards; }
/* the loop (login JS): the drawing fades out before each restart */
.login-trail, .login-pos, .login-marker { transition: opacity .4s ease-in; }
.fade .login-trail, .fade .login-pos, .fade .login-marker { opacity: 0 !important; }
@keyframes login-draw { to { stroke-dashoffset: 0; } }
@keyframes login-pop { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .login-trail { animation: none; stroke-dashoffset: 0; }
  .login-pos, .login-marker { animation: none; opacity: 1; }
}

/* ---- The form side -------------------------------------------------------- */
.login-main { flex: 1; display: flex; flex-direction: column; padding: 28px 40px; }
.login-langs { align-self: flex-end; display: inline-flex; border: 1px solid #D7DDE5; border-radius: 7px; overflow: hidden; }
.login-langs a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; font-size: 13px; font-weight: 500; color: #5F6B7A; text-decoration: none; border-right: 1px solid #D7DDE5; }
.login-langs a:last-child { border-right: 0; }
.login-langs a:hover { background: #F3F5F8; color: #1B2430; }
.login-langs a[aria-current] { background: #DFF1EC; color: #0B5F53; }
.login-form-wrap { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 360px; margin: 0 auto; padding: 32px 0; }
.login-form-wrap h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.login-lead { margin: 6px 0 28px; color: #5F6B7A; font-size: 15px; }
.login-error { display: flex; gap: 10px; padding: 12px; border: 1px solid #F1B9B5; background: #FCEBEA; border-radius: 8px; font-size: 13.5px; margin: 0 0 18px; }
.login-error svg { flex: none; color: #B42318; margin-top: 2px; }
.login-error strong { display: block; color: #B42318; font-weight: 600; }
.login-f { margin-bottom: 16px; }
.login-f label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.login-in { width: 100%; height: 44px; border: 1px solid #D7DDE5; border-radius: 7px; padding: 0 12px; font: inherit; font-size: 15px; color: #1B2430; background: #fff; }
.login-in:focus { outline: 0; border-color: #0F7B6C; box-shadow: 0 0 0 3px #DFF1EC; }
.login-in[aria-invalid="true"] { border-color: #B42318; }
.login-in[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px #FCEBEA; }
.login-pw { position: relative; }
.login-pw .login-in { padding-right: 46px; }
.login-eye { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; border-radius: 6px; color: #5F6B7A; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.login-eye:hover { background: #F3F5F8; color: #1B2430; }
.login-eye[aria-pressed="true"] { color: #0B5F53; }
.login-caps { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 12.5px; color: #93370D; }
.login-caps[hidden] { display: none; }
/* "Manter conectado": ours (the Laravel had none), in the form's own style */
.login-remember { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 13px; color: #5F6B7A; cursor: pointer; }
.login-remember input { width: 16px; height: 16px; margin: 0; accent-color: #0F7B6C; }
.login-submit { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; margin-top: 8px; border: 1px solid #0F7B6C; border-radius: 7px; background: #0F7B6C; color: #fff; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.login-submit:hover { background: #0B5F53; border-color: #0B5F53; }
.login-help { margin: 20px 0 0; font-size: 13px; color: #5F6B7A; }
.login-langs a:focus-visible, .login-eye:focus-visible, .login-submit:focus-visible { outline: 2px solid #0F7B6C; outline-offset: 2px; }

/* ---- Phone and narrow windows: the map becomes a band on top ------------- */
@media (max-width: 900px) {
  .login { flex-direction: column; }
  .login-side { flex: 0 0 220px; padding: 28px 24px 20px; }
  .login-mark strong { font-size: 32px; }
  .login-mark span { font-size: 14px; }
  .login-owner { display: none; }
  .login-main { padding: 16px 24px 24px; }
  .login-form-wrap { justify-content: flex-start; padding-top: 24px; }
  .login-form-wrap h1 { font-size: 26px; }
}
/* the internal door says what it is (Francisco 2026-11-17); same look as the portal's band (login.css .brand .realm) */
.login-realm { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #c0392b; }
