:root {
  --navy: #07164d;
  --navy-deep: #030f45;
  --blue: #418bf3;
  --blue-hover: #2f72dc;
  --purple: #775af6;
  --page: #030f45;
  --panel: #ffffff;
  --text: #030f45;
  --muted: #030f45;
  --border: #dde2eb;
  --shadow: 0 4px 16px rgba(24, 36, 74, 0.14);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "PT Sans", Arial, sans-serif;
  color: var(--text);
  background: #030f45;
}
body {
  margin-top: 25px;
}
.app {
  display: block;
} /* MAIN AREA */
.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 34px;
  position: relative;
  overflow: hidden;
}
.content:before,
.content:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.content:before {
  width: 360px;
  height: 360px;
  top: -180px;
  right: -90px;
  background: radial-gradient(circle, rgba(65, 139, 243, 0.08), transparent 70%);
}
.content:after {
  width: 440px;
  height: 440px;
  left: -240px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(119, 90, 246, 0.07), transparent 70%);
}
.login-wrap {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  background: var(--panel);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(18, 34, 76, 0.16);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.welcome {
  background-color: #3157d5;
  color: #fff;
  padding: 58px 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.dash-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.dash-icon svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}
.welcome h1 {
  margin: 0 0 16px;
  font-size: 2.25rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.welcome p {
  margin: 0;
  font-size: 1.07rem;
  line-height: 1.65;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 1;
}
.welcome-note {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.83);
  position: relative;
  z-index: 1;
}
.form-panel {
  padding: 58px 48px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.form-panel .kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  color: #6f75a1;
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.form-panel h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  color: #030f45;
}
.subcopy {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1rem;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 7px;
  color: #242c55;
}
.input-shell {
  position: relative;
}
.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 0 45px 0 14px;
  font: inherit;
  font-size: 1rem;
  color: #1e254d;
  outline: none;
  transition:
    border 0.18s,
    box-shadow 0.18s;
}
.field input:focus {
  border-color: #5d80ef;
  box-shadow: 0 0 0 3px rgba(65, 139, 243, 0.12);
}
.field-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  color: #969cab;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
}
button.field-icon {
  cursor: pointer;
}
button.field-icon:hover {
  color: var(--blue);
}
.options {
  font-size: 0.8rem;
}
.options-stacked .remember {
  display: flex;
  justify-content: center;
  width: 100%;
}
.options-stacked {
  display: block;
  width: 100%;
}
.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555c72;
}
.remember input {
  accent-color: var(--blue);
}
a {
  color: #267ef1;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  font:
    700 1.06rem "PT Sans",
    Arial,
    sans-serif;
  background: #3157d5;
  box-shadow: 0 7px 18px rgba(49, 87, 213, 0.24);
  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    box-shadow 0.16s ease;
}
.submit:hover {
  background: #2748b8;
  box-shadow: 0 9px 21px rgba(49, 87, 213, 0.31);
  transform: translateY(-1px);
}
.submit:active {
  transform: translateY(0);
}
.options-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
  margin-top: 28px;
  margin-bottom: 16px;
  text-align: center;
  font-size: 12px;
}
.options-bottom .remember,
.options-bottom .options-bottom .remember {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: #555c72;
}
.options-bottom {
  display: inline-block;
  text-align: center;
}
.contact {
  text-align: center;
  color: #7c8290;
  font-size: 0.9rem;
}
.footer {
  text-align: center;
  padding: 0 24px 24px;
  color: #8a8f9c;
  font-size: 0.8rem;
}
.footer a {
  color: #69718d;
}
.nav-dot {
  width: 10px;
  height: 10px;
}
@media (max-width: 760px) {
  .app {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .content {
    padding: 30px 18px;
  }
  .login-wrap {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .welcome {
    min-height: auto;
    padding: 34px 30px;
  }
  .welcome h1 {
    font-size: 1.8rem;
  }
  .welcome p {
    font-size: 1rem;
  }
  .welcome-note {
    display: none;
  }
  .dash-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }
  .form-panel {
    padding: 34px 30px 36px;
  }
  .options-bottom {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 430px) {
  .hamburger {
    display: none;
  }
  .content {
    padding: 20px 12px;
  }
  .welcome,
  .form-panel {
    padding-left: 22px;
    padding-right: 22px;
  }
  .form-panel h2 {
    font-size: 1.75rem;
  }
}
img {
  max-width: 100%;
  height: auto;
} /* Legal link and full-height external-page dialog */
.footer {
  padding-bottom: 28px;
}
.footer-copy {
  margin-bottom: 10px;
}
.footer .legal-link {
  display: inline-block;
  padding: 5px 10px;
  color: #b8c8ee;
  font-weight: 700;
}
.legal-link:focus-visible {
  outline: 2px solid #418bf3;
  outline-offset: 3px;
}
html.legal-open,
html.legal-open body {
  overflow: hidden;
}
#legal-dialog {
  position: fixed;
  inset: 0;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  width: min(1050px, 100%);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  background: #fff;
  color: #fff;
  overflow: hidden;
}
#legal-dialog[open] {
  display: flex;
  flex-direction: column;
}
#legal-dialog::backdrop {
  background: rgba(3, 15, 69, 0.76);
  backdrop-filter: blur(4px);
}
.legal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  min-height: 64px;
  padding: 10px 16px;
  background: #030f45;
}
.legal-header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
}
.legal-header a {
  margin-left: auto;
  color: #fff;
  font-size: 0.85rem;
}
.legal-close {
  flex: 0 0 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #3157d5;
  color: #fff;
  font:
    700 1.7rem/1 "PT Sans",
    Arial,
    sans-serif;
  cursor: pointer;
}
.legal-close:hover {
  background: #2748b8;
}
.legal-header :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.legal-frame {
  display: block;
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
} /* Footer spacing update: keep copyright + legal links 30px below login box */
.content {
  min-height: auto;
  padding-bottom: 0;
}
.footer {
  margin-top: 30px;
  padding-top: 0;
}
.remember-above {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.2;
}

.login-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  color: #267ef1;
  font:
    400 12px/1.2 "PT Sans",
    Arial,
    sans-serif;
  white-space: nowrap;
}
.login-help a {
  font: inherit;
  color: inherit;
}
@media (min-width: 761px) {
  .form-panel {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media (max-width: 360px) {
  .form-panel {
    padding-left: 12px;
    padding-right: 12px;
  }
  .login-help {
    gap: 6px;
  }
}
.logo, .copyright{
 display:none;
}
