/* Hangar login card, scoped to sit INSIDE a normal cx-1.net page
   (site header above, footer below). Navy band + centered white card.
   No body takeover, no font @import (site already loads Sora + Inter). */

.hg-login {
  position: relative; overflow: hidden;
  padding: 64px 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background:
    radial-gradient(1.6px 1.6px at 12% 20%, rgba(255,255,255,.75), transparent 55%),
    radial-gradient(1.2px 1.2px at 28% 66%, rgba(255,255,255,.5), transparent 55%),
    radial-gradient(1.8px 1.8px at 44% 26%, rgba(255,255,255,.6), transparent 55%),
    radial-gradient(1.2px 1.2px at 61% 74%, rgba(255,255,255,.45), transparent 55%),
    radial-gradient(1.6px 1.6px at 73% 33%, rgba(255,255,255,.65), transparent 55%),
    radial-gradient(1.2px 1.2px at 86% 60%, rgba(255,255,255,.5), transparent 55%),
    radial-gradient(700px 380px at 80% 112%, rgba(60,96,158,.5), transparent 70%),
    linear-gradient(160deg, #0E1630 0%, #12263D 55%, #1B3A5C 100%);
}

.hg-login .lf-container {
  width: 100%; max-width: 440px; background: #fff; border-radius: 20px;
  padding: 38px 40px 32px; box-sizing: border-box; position: relative; overflow: hidden;
  box-shadow: 0 34px 70px -20px rgba(3,10,24,.6), 0 0 0 1px rgba(255,255,255,.05);
}
.hg-login .lf-container::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #F19C41, #F7C98B);
}

.hg-login .logo-box { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 6px; }
.hg-login .logo-box img { display: block; margin: 0 auto; max-width: 240px; height: auto; }
.hg-login .hg-welcome {
  margin: 10px 0 0; font-size: .92rem; color: #5B6B7B; font-weight: 500; text-align: center;
}

.hg-login .input-group { margin-top: 20px; }
.hg-login .inner-input-flex { display: flex; flex-direction: column; align-items: stretch; gap: 7px; text-align: left; }
.hg-login .inner-input-flex label { font-weight: 600; font-size: .88rem; color: #12263D; width: auto; }
.hg-login .inner-input-flex input {
  width: 100%; box-sizing: border-box; padding: 12px 15px;
  font: 500 1rem 'Inter', sans-serif; color: #12263D;
  border: 1.5px solid #D7E1EA; border-radius: 12px; background: #F8FAFC;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.hg-login .inner-input-flex input:focus {
  outline: none; border-color: #3C609E; background: #fff;
  box-shadow: 0 0 0 4px rgba(60,96,158,.16);
}

.hg-login .subMit-btn-box { margin-top: 28px; }
.hg-login .subMit-btn-box input[type="submit"] {
  width: 100%; padding: 13px 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 1.04rem 'Inter', sans-serif; color: #12263D;
  background: linear-gradient(180deg, #F6AC5C, #F19C41);
  box-shadow: 0 10px 24px -8px rgba(241,156,65,.65);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.hg-login .subMit-btn-box input[type="submit"]:hover { transform: translateY(-1px); filter: brightness(1.04); }
.hg-login .subMit-btn-box input[type="submit"]:focus-visible { outline: 3px solid #3C609E; outline-offset: 2px; }

.hg-login .hg-help {
  margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #E6EDF3;
  text-align: center; font-size: .82rem; color: #8A99A8;
}
.hg-login .hg-help a { color: #3C609E; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hg-login .hg-help a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .hg-login { padding: 40px 14px; }
  .hg-login .lf-container { padding: 30px 22px 26px; }
}

/* Sponsor card (per-hangar, sits under the login card) — clean white card
   matching the login box, with an orange banner header. */
.hg-sponsor {
  width: 100%; max-width: 440px; margin: 20px auto 0; box-sizing: border-box;
  position: relative; overflow: hidden; border-radius: 18px; background: #fff;
  box-shadow: 0 24px 50px -22px rgba(3,10,24,.55), 0 0 0 1px rgba(255,255,255,.05);
  animation: hg-spon-in .55s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes hg-spon-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hg-spon-head {
  background: linear-gradient(120deg, #F19C41 0%, #E38A24 100%);
  padding: 14px 20px; display: flex; align-items: center; gap: 11px;
}
.hg-spon-head svg { width: 22px; height: 22px; color: #fff; flex: none; }
.hg-spon-head .hg-spon-eyebrow {
  margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff;
}

.hg-spon-body { padding: 22px 24px 24px; text-align: center; }
.hg-spon-name {
  font-family: 'Sora', 'Inter', sans-serif; font-weight: 700; font-size: 1.4rem; line-height: 1.15;
  color: #12263D; margin: 0 0 16px; letter-spacing: .01em;
}
.hg-spon-contact { display: flex; flex-direction: column; gap: 10px; }
.hg-spon-contact a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .96rem;
  color: #12263D; background: #F5F8FB; border: 1.5px solid #E2E9F0;
  transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.hg-spon-contact a:hover {
  background: #FDF3E5; border-color: #F1C58A; transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(241,156,65,.5);
}
.hg-spon-contact svg { width: 17px; height: 17px; flex: none; color: #E38A24; }

/* Sponsor logo under the CenterPilot logo (per-hangar) */
.hg-sponsor-logo {
  margin: 16px auto 2px; padding-top: 16px; border-top: 1px solid #EAF0F5;
  display: flex; justify-content: center;
}
.hg-sponsor-logo img { display: block; max-width: 220px; max-height: 82px; width: auto; height: auto; }
