@font-face {
  font-family: "Panel Inter";
  src: url("./Inter-var-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

html.custom-host-auth body {
  background: #f4f8ff !important;
  color: #0b132b;
  font-family: "Panel Inter", system-ui, sans-serif;
}

.custom-host-auth .ch-auth-layout {
  display: grid;
  grid-template-columns: minmax(19rem, 42%) minmax(0, 1fr);
  min-height: 100vh;
}

.custom-host-auth .ch-auth-cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  color: white;
  background: radial-gradient(ellipse at 53% 68%, #153977 0%, #0b132b 67%);
}

.ch-cover-wordmark { display: block; width: min(100%, 17rem); height: auto; }
.ch-cover-center { margin-block: auto; padding-block: 2rem; }
.ch-cover-center img { width: 9rem; height: auto; display: block; margin-bottom: 1.5rem; }
.ch-cover-center p { font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.05; }
.ch-cover-center span { color: #c4d9ff; font-size: 1.125rem; }

.custom-host-auth .ch-auth-layout .col-login-right {
  float: none !important;
  width: auto !important;
  min-height: 0 !important;
  padding: clamp(1.25rem, 5vw, 4rem) !important;
  display: grid !important;
  place-content: center;
  grid-template-columns: minmax(0, 32rem);
  background: #f4f8ff !important;
}

.custom-host-auth .ch-auth-layout .login-wrapper {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

html.custom-host-auth .ch-auth-layout #loginForm {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(1.25rem, 4vw, 2.75rem) !important;
  color: #0b132b !important;
  background: white !important;
  border: 1px solid #dae6fa !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 12px 40px #0b132b12;
}

html.custom-host-auth .ch-auth-intro h1 {
  display: block !important;
  margin: 0 0 .5rem !important;
  color: #0b132b !important;
  font-size: clamp(1.55rem, 3vw, 2.25rem) !important;
  font-weight: 700;
  letter-spacing: -.04em;
  text-align: left !important;
}

.ch-auth-intro p { color: #475672; margin: 0 0 1.25rem; }
.ch-portal-nav { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: 1.4rem; padding: .25rem; border-radius: .65rem; background: #e6f0ff; }
.ch-portal-nav a { flex: 1; padding: .6rem .45rem; text-align: center; color: #1b3e79; font-weight: 650; border-radius: .45rem; }
.ch-portal-nav a[aria-current] { color: white; background: #2563eb; }
html.custom-host-auth #loginForm .mx-30 { margin-inline: 0 !important; }
html.custom-host-auth #loginForm .content-box-wrapper { padding: 0 !important; border: 0 !important; background: transparent !important; }
html.custom-host-auth #loginForm label { color: #0b132b !important; }
html.custom-host-auth #loginForm .form-control { color: #0b132b !important; background: white !important; min-height: 2.75rem; }
html.custom-host-auth #loginForm .btn { background: #2563eb !important; border-color: #2563eb !important; color: white !important; min-height: 2.75rem; }
.custom-host-auth :focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }

@media (max-width: 760px) {
  .custom-host-auth .ch-auth-layout { grid-template-columns: 1fr; align-content: start; }
  .custom-host-auth .ch-auth-cover { background: #f4f8ff; padding: 1.5rem 1.25rem .25rem; }
  .ch-cover-wordmark { width: 12rem; margin-inline: auto; }
  .ch-cover-center { display: none; }
}

html.cp-evergreen.cp-auth.custom-host-auth body .ch-auth-layout #loginForm button.btn.btn-login.btn-success { background: #2563eb !important; border-color: #2563eb !important; color: #fff !important; }
