
:root{
  --mono:'IBM Plex Mono', ui-monospace, monospace;
  --sans:'IBM Plex Sans', system-ui, sans-serif;
  --accent:#ffb020; --accent-ink:#1a1206;
  color-scheme: dark;
}
*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
  color:#fff;
  overflow:hidden;
}

.login-screen{
  position:relative;
  width:100vw;
  height:100vh;
  min-height:560px;
  display:flex;
  align-items:center;
  justify-content:center;
  /* Fallback color is the photo's own average sky-blue tone (sampled
     from bermudair-login-bg.jpg), not a dark navy — so on the rare
     occasion the browser paints a frame before the (now preloaded)
     photo has fully decoded, it reads as "the sky, still loading"
     rather than a jarring dark flash that then pops to bright blue. */
  background:#9cd9f3;
  padding:24px;
}

/* Login card — deliberately transparent (no fill color) so the
   background photo shows straight through; only a hairline border
   marks its edge, and text carries its own shadow for legibility
   since it's no longer sitting on a solid panel. */
.login-card{
  position:relative;
  z-index:2;
  width:100%;
  max-width:400px;
  background:transparent;
  border:1px solid rgba(255,255,255,0.35);
  border-radius:16px;
  padding:38px 36px 32px;
  text-align:center;
  box-shadow:0 20px 60px rgba(0,0,0,0.25);
}

.login-logo{
  height:34px;
  width:auto;
  margin:0 auto 22px;
  display:block;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,0.55)) drop-shadow(0 0 14px rgba(255,255,255,0.25));
}

.login-eyebrow{
  font-family:var(--mono);
  font-size:11px;
  font-weight:600;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#eef2fb;
  text-shadow:0 1px 2px rgba(0,0,0,0.9), 0 2px 9px rgba(0,0,0,0.6);
  margin:0 0 6px;
}

.login-title{
  font-size:24px;
  font-weight:700;
  margin:0 0 26px;
  color:#ffffff;
  text-shadow:0 1px 3px rgba(0,0,0,0.95), 0 2px 12px rgba(0,0,0,0.65);
}

.login-field{
  text-align:left;
  margin-bottom:18px;
}

.login-field label{
  display:block;
  font-family:var(--mono);
  font-size:10.6px;
  font-weight:600;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:#f2f5fb;
  text-shadow:0 1px 2px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.6);
  margin-bottom:7px;
}

.login-field select{
  width:100%;
  font-family:var(--sans);
  font-size:14px;
  font-weight:500;
  color:#161a22;
  background:#ffffff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:9px;
  padding:11px 14px;
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666'><path d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%23666' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:16px;
  cursor:pointer;
}
.login-field select:focus{ outline:2px solid var(--accent); outline-offset:1px; }

.login-field input[type="text"],
.login-field input[type="password"]{
  width:100%;
  font-family:var(--sans);
  font-size:14px;
  font-weight:500;
  color:#161a22;
  background:#ffffff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:9px;
  padding:11px 14px;
  box-sizing:border-box;
}
.login-field input[type="text"]:focus,
.login-field input[type="password"]:focus{ outline:2px solid var(--accent); outline-offset:1px; }
.login-field input.field-error{ outline:2px solid #ff5a63; outline-offset:1px; }

.login-error{
  margin:0 0 16px;
  padding:9px 12px;
  border-radius:8px;
  background:rgba(255,90,99,0.16);
  border:1px solid rgba(255,90,99,0.55);
  color:#ffffff;
  font-size:12.5px;
  font-weight:600;
  text-shadow:0 1px 2px rgba(0,0,0,0.6);
  text-align:left;
}

.login-btn{
  width:100%;
  font-family:var(--sans);
  font-size:14.5px;
  font-weight:700;
  color:var(--accent-ink);
  background:linear-gradient(145deg,rgba(255,190,70,.96),rgba(255,154,20,.70));
  border:1px solid rgba(255,255,255,.38);
  border-radius:13px;
  padding:13px 14px;
  cursor:pointer;
  letter-spacing:.2px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 10px 28px rgba(0,0,0,.30);
  backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%);
  transition:filter .12s,transform .16s ease,box-shadow .2s ease;
}
.login-btn:hover{ filter:brightness(1.06);transform:translateY(-1px);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 14px 32px rgba(0,0,0,.34); }
.login-btn:active{ transform:translateY(0) scale(.985); }

/* Landing-page launcher buttons (release 8.82): Weight & Balance and Load Checker share one
   style -- the suite's liquid-glass surface (translucent gradient, top sheen, backdrop blur),
   tinted with the same amber accent, a bit transparent so the airline background shows through. */
.launcher-btn{
  position:relative;overflow:hidden;isolation:isolate;
  color:#000;text-shadow:0 1px 0 rgba(255,255,255,.35);
  background:linear-gradient(145deg,rgba(255,190,70,.62),rgba(255,154,20,.34));
  border:1px solid rgba(255,255,255,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.50),inset 0 -1px 0 rgba(255,255,255,.10),0 10px 28px rgba(0,0,0,.26);
  backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);
}
.launcher-btn::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.30),transparent 42%,rgba(255,255,255,.06));
}
.launcher-btn:hover{ filter:brightness(1.08); border-color:rgba(255,255,255,.60); }
.launcher-btn + .launcher-btn{ margin-top:12px; }

.login-note{
  margin:16px 0 0;
  font-size:11.5px;
  color:#ffffff;
  text-shadow:0 1px 2px rgba(0,0,0,0.95), 0 2px 8px rgba(0,0,0,0.7);
}

.powered-badge{
  position:relative;
  z-index:2;
  margin-top:22px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(10,14,20,0.55);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:999px;
  padding:8px 16px;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.powered-badge img{ height:16px; width:auto; display:block; }
.powered-badge span{
  font-family:var(--mono);
  font-size:10.6px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#f2f5fb;
  white-space:nowrap;
}

.login-center-col{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.login-footer{
  position:absolute;
  left:0; right:0; bottom:22px;
  z-index:2;
  text-align:center;
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:#eef2fb;
  text-shadow:0 1px 2px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.65);
}

@media (max-height: 620px){
  .login-footer{ display:none; }
}
