/* STARLINK PAYMENT SYSTEM v1.8.20 — Login branding and form refinement.
   Presentation only: preserves form IDs, input names, submission flow and authentication logic. */

/* Enlarged transparent Starlink artwork in the marked top-left branding area. */
#loginView .login-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: min(100%, 430px) !important;
  min-height: 150px !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  z-index: 3 !important;
}
#loginView .login-brand-image {
  display: block !important;
  width: min(100%, 405px) !important;
  max-height: 104px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: drop-shadow(0 0 13px rgba(0, 174, 255, .20)) !important;
}

/* HR-NET identity replaces the ADMIN CONSOLE eyebrow inside the login card. */
#loginView .login-hrnet-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 94px !important;
  margin: 0 auto 14px !important;
}
#loginView .login-hrnet-brand img {
  display: block !important;
  width: min(100%, 220px) !important;
  max-height: 94px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .20)) !important;
}
#loginView .login-form h2 {
  width: 100% !important;
  text-align: center !important;
  color: #f3f8ff !important;
  margin: 0 0 8px !important;
}
#loginView .login-form > .muted {
  width: 100% !important;
  text-align: center !important;
  color: #c2d3e9 !important;
  margin: 0 0 27px !important;
  line-height: 1.55 !important;
}

/* Keep labels legible while making the input surfaces fully dark, including autofill. */
#loginView .field-label {
  color: #e8f1fc !important;
  margin-top: 15px !important;
}
#loginView .input-wrap {
  background: linear-gradient(145deg, rgba(4, 22, 50, .96), rgba(5, 17, 40, .96)) !important;
  border: 1px solid rgba(94, 158, 218, .43) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}
#loginView .input-wrap input,
#loginView .input-wrap input:focus,
#loginView .input-wrap input:-webkit-autofill,
#loginView .input-wrap input:-webkit-autofill:hover,
#loginView .input-wrap input:-webkit-autofill:focus,
#loginView .input-wrap input:-webkit-autofill:active {
  background: transparent !important;
  background-color: transparent !important;
  color: #f4f8ff !important;
  -webkit-text-fill-color: #f4f8ff !important;
  caret-color: #f4f8ff !important;
  color-scheme: dark;
}
#loginView .input-wrap input:-webkit-autofill,
#loginView .input-wrap input:-webkit-autofill:hover,
#loginView .input-wrap input:-webkit-autofill:focus,
#loginView .input-wrap input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #061a37 inset !important;
  box-shadow: 0 0 0 1000px #061a37 inset !important;
  transition: background-color 9999s ease-out 0s !important;
}
#loginView .input-wrap input::placeholder {
  color: #90a9c8 !important;
  opacity: 1 !important;
}

/* Center the button label precisely; keep the arrow on the right edge. */
#loginView .login-submit {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0 48px !important;
}
#loginView .login-submit span:first-child {
  display: block !important;
  flex: 0 1 auto !important;
  width: 100% !important;
  text-align: center !important;
}
#loginView .login-submit span:last-child {
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
}

/* The compact Starlink brand is shown on phones where the artwork column is hidden. */
#loginView .mobile-login-brand {
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 auto 18px !important;
  color: #fff !important;
}
#loginView .mobile-login-brand-image {
  display: block !important;
  width: min(100%, 220px) !important;
  max-height: 65px !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  #loginView .mobile-login-brand { display: flex !important; }
  #loginView .login-hrnet-brand { min-height: 74px !important; margin-bottom: 11px !important; }
  #loginView .login-hrnet-brand img { width: min(100%, 174px) !important; max-height: 74px !important; }
  #loginView .login-form h2 { font-size: 27px !important; }
}
@media (max-width: 600px) {
  #loginView .login-form { padding: 25px 21px !important; }
  #loginView .login-form > .muted { margin-bottom: 20px !important; }
  #loginView .login-submit { padding: 0 42px !important; }
  #loginView .login-submit span:last-child { right: 14px !important; }
}
