.mentor-cockpit-login {
  --access-surface: #112848;
  --access-field: #162f51;
  --access-border: #597396;
  --access-muted: #c2d3eb;
  --access-yellow: #ffd21f;
  background: var(--access-surface);
  color: #f6f8fc;
  color-scheme: dark;
  font-family: system-ui, sans-serif;
}

.mentor-cockpit-login .mentor-login-old-background,
.mentor-cockpit-login .mentor-login-glow,
.mentor-cockpit-login .mentor-login-photo > :not(.mentor-login-legacy-content),
.mentor-cockpit-login .mentor-login-legacy-content > :not(dialog),
.mentor-cockpit-login .mentor-login-accent {
  display: none;
}

.mentor-cockpit-login .mentor-login-frame {
  display: block;
  min-height: 100dvh;
  padding: 0;
}

.mentor-cockpit-login .mentor-login-layout {
  display: grid;
  grid-template-columns: 53.125% minmax(0, 1fr);
  width: 100%;
  max-width: none;
  min-height: 100dvh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  opacity: 1 !important;
  transform: none !important;
}

.mentor-cockpit-login .mentor-login-photo {
  width: auto;
  padding: 0;
  background: #142f54 url('./airport-right-bank-v3.webp') center 72% / cover no-repeat;
}

.mentor-cockpit-login .mentor-login-photo::after {
  position: absolute;
  inset: 0;
  background: url('./atc-tracks.png') center / 100% 100% no-repeat;
  pointer-events: none;
  content: '';
}

.mentor-cockpit-login .mentor-login-legacy-content {
  display: contents;
}

.mentor-cockpit-login .mentor-login-panel {
  min-width: 0;
  padding: clamp(16px, 2.75dvh, 36px) clamp(30px, 5.6vw, 90px);
  background: radial-gradient(ellipse at 85% 0%, #1a375b 0%, transparent 62%), var(--access-surface);
  backdrop-filter: none;
}

.mentor-cockpit-login .mentor-login-content {
  max-width: 550px;
  opacity: 1 !important;
  transform: none !important;
}

.mentor-login-wordmark {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 30px);
}

.mentor-login-wordmark img {
  display: block;
  width: clamp(98px, min(10vw, 18dvh), 170px);
  height: auto;
}

.mentor-login-wordmark span {
  padding-left: clamp(14px, 1.6vw, 30px);
  border-left: 1px solid #8798ad;
  font-size: clamp(24px, 2.25vw, 38px);
  line-height: 1.1;
  font-weight: 550;
  letter-spacing: -.035em;
}

.mentor-login-heading {
  margin: clamp(16px, 3.2dvh, 38px) 0 clamp(16px, 2.5dvh, 28px);
}

.mentor-login-heading::before {
  display: block;
  width: clamp(34px, 3vw, 52px);
  height: 4px;
  margin-bottom: clamp(11px, 1.7dvh, 19px);
  border-radius: 4px;
  background: var(--access-yellow);
  content: '';
}

.mentor-login-heading h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, min(3.6vw, 6.5dvh), 60px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 760;
  text-wrap: balance;
}

.mentor-login-heading p {
  margin: 8px 0 0;
  color: #d8e3f2;
  font-size: clamp(16px, 1.3vw, 22px);
  line-height: 1.4;
}

.mentor-cockpit-login .mentor-login-content > div:not(.mentor-login-heading, .mentor-login-wordmark) {
  overflow: visible;
}

.mentor-cockpit-login .mentor-login-form {
  display: grid;
  gap: clamp(8px, 1.25dvh, 14px);
}

.mentor-cockpit-login .mentor-login-form > :not([hidden]) {
  margin-block: 0;
}

.mentor-cockpit-login .mentor-login-content form label {
  color: #f1f5fa;
  font-size: clamp(14px, 1.1vw, 19px);
  font-weight: 650;
  letter-spacing: normal;
  text-transform: none;
}

.mentor-cockpit-login .mentor-login-content input:not([type='checkbox']) {
  min-height: clamp(44px, 5.6dvh, 54px);
  border: 1px solid var(--access-border);
  border-radius: 8px;
  background: var(--access-field);
  color: #f6f8fc;
  font-size: clamp(16px, 1.05vw, 19px);
}

.mentor-cockpit-login .mentor-login-content input::placeholder {
  color: #a8bdd8;
  opacity: 1;
}

.mentor-cockpit-login .mentor-login-field input {
  padding-left: 16px;
}

.mentor-cockpit-login .mentor-login-field > div > span {
  display: none;
}

.mentor-cockpit-login .mentor-login-eye {
  display: grid;
  width: 38px;
  height: 38px;
  right: 7px;
  place-items: center;
  border-radius: 6px;
  color: #d8e4f3;
}

.mentor-cockpit-login .mentor-login-eye:hover {
  background: #2a486d;
  color: #fff;
}

.mentor-cockpit-login .mentor-login-content :is(input, button, a):focus-visible {
  outline: 2px solid var(--access-yellow);
  outline-offset: 2px;
}

.mentor-cockpit-login .mentor-login-form label:has(input[type='checkbox']) span {
  color: var(--access-muted);
  font-size: 14px;
  font-weight: 500;
}

.mentor-cockpit-login .mentor-login-form input[type='checkbox']:focus-visible + div {
  outline: 2px solid var(--access-yellow);
  outline-offset: 3px;
}

.mentor-cockpit-login .mentor-login-content form button[type='submit'] {
  min-height: clamp(46px, 6.3dvh, 64px);
  border-radius: 9px;
  background: var(--access-yellow);
  color: #171400;
  font-size: clamp(16px, 1.35vw, 23px);
  font-weight: 750;
  text-transform: none;
  letter-spacing: 0;
}

.mentor-cockpit-login .mentor-login-content form button[type='submit']:hover:not(:disabled) {
  background: #ffe061;
}

.mentor-cockpit-login .mentor-login-form button[type='submit'] > span {
  flex-direction: row-reverse;
}

.mentor-cockpit-login .mentor-login-divider {
  display: none;
}

.mentor-cockpit-login .mentor-login-trial {
  min-height: 44px;
  border-color: var(--access-border);
  border-radius: 9px;
  color: #f3f7fd;
  font-size: clamp(14px, .95vw, 17px);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.mentor-cockpit-login .mentor-login-trial:hover {
  border-color: var(--access-yellow);
  background: #1b3659;
  color: #fff;
}

.mentor-cockpit-login .mentor-login-actions {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 0;
}

.mentor-cockpit-login .mentor-login-actions button {
  min-height: 34px;
  color: var(--access-muted);
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}

.mentor-cockpit-login .mentor-login-content form :is(h3, .text-\[\#61748B\]) {
  color: #d8e3f2;
}

.mentor-cockpit-login .mentor-login-content form a {
  color: var(--access-yellow);
}

.mentor-login-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: clamp(8px, 1.35dvh, 15px);
  padding-top: clamp(8px, 1.35dvh, 15px);
  border-top: 1px solid #345375;
  color: var(--access-muted);
  font-size: 14px;
}

.mentor-login-footer a:first-child {
  color: var(--access-yellow);
  font-weight: 650;
}

.mentor-login-footer a:hover,
.mentor-cockpit-login .mentor-login-actions button:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .mentor-cockpit-login {
    scroll-padding-block: 16px;
  }

  .mentor-cockpit-login .mentor-login-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: min(18dvh, max(0px, 100dvh - 635px), 174px) 1fr;
  }

  .mentor-cockpit-login .mentor-login-photo {
    background-image: url('./airport-right-bank-mobile-v3.webp');
    background-position: center 35%;
  }

  .mentor-cockpit-login .mentor-login-photo::after {
    background-image: url('./atc-tracks-mobile.png');
    background-position: right top;
    background-size: min(100%, 500px) auto;
  }

  .mentor-cockpit-login .mentor-login-panel {
    justify-content: flex-start;
    padding: 17px clamp(18px, 5.8vw, 36px) 18px;
  }

  .mentor-login-heading h1 {
    font-size: clamp(32px, 8.2vw, 42px);
  }

  .mentor-cockpit-login .mentor-login-form {
    gap: clamp(7px, 1dvh, 9px);
  }

  .mentor-cockpit-login .mentor-login-content input:not([type='checkbox']) {
    min-height: 48px;
  }

  .mentor-cockpit-login .mentor-login-field input[autocomplete='current-password'] {
    padding-right: 54px;
  }

  .mentor-cockpit-login .mentor-login-eye {
    width: 44px;
    height: 44px;
    right: 2px;
  }

  .mentor-cockpit-login .mentor-login-form label:has(input[type='checkbox']) {
    min-height: 30px;
    justify-self: start;
    padding-inline-end: 12px;
  }

  .mentor-cockpit-login .mentor-login-content form button[type='submit'] {
    min-height: 48px;
  }

  .mentor-cockpit-login .mentor-login-trial {
    min-height: 46px;
  }

  .mentor-cockpit-login .mentor-login-actions button {
    min-height: 44px;
  }

  .mentor-login-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
  }
}

@media (max-width: 760px) and (max-height: 819px) {
  .mentor-cockpit-login .mentor-login-layout {
    grid-template-rows: min(17dvh, max(0px, 100dvh - 665px), 115px) 1fr;
  }

  .mentor-cockpit-login .mentor-login-panel {
    padding-block: 16px 12px;
  }
}

@media (max-height: 735px) {
  .mentor-login-wordmark img {
    width: clamp(86px, min(9vw, 14dvh), 128px);
  }

  .mentor-login-heading {
    margin: 13px 0 14px;
  }

  .mentor-login-heading::before {
    margin-bottom: 8px;
  }

  .mentor-login-heading p {
    margin-top: 5px;
  }
}

@media (max-width: 760px) and (max-height: 735px) {
  .mentor-cockpit-login .mentor-login-layout {
    grid-template-rows: clamp(0px, 100dvh - 615px, 74px) 1fr;
  }

  .mentor-cockpit-login .mentor-login-panel {
    padding-block: 13px 15px;
  }

  .mentor-cockpit-login .mentor-login-photo {
    background-position: center 9%;
  }

  .mentor-cockpit-login .mentor-login-photo::after {
    display: none;
  }

  .mentor-cockpit-login .mentor-login-form {
    gap: 7px;
  }

  .mentor-cockpit-login .mentor-login-form label:has(input[type='checkbox']) {
    min-height: 28px;
  }

  .mentor-cockpit-login .mentor-login-trial {
    min-height: 44px;
  }

  .mentor-cockpit-login .mentor-login-actions button {
    min-height: 38px;
  }

  .mentor-login-footer a {
    min-height: 26px;
  }
}

@media (max-height: 620px) {
  .mentor-cockpit-login .mentor-login-panel {
    padding-block: 10px 8px;
  }

  .mentor-login-heading {
    margin: 9px 0 10px;
  }

  .mentor-login-footer {
    margin-top: 6px;
    padding-top: 6px;
  }
}

@media (max-width: 760px) and (max-height: 620px) {
  .mentor-cockpit-login .mentor-login-layout {
    grid-template-rows: 0 1fr;
  }

  .mentor-cockpit-login .mentor-login-panel {
    padding-block: 8px 6px;
  }

  .mentor-login-wordmark img {
    width: 80px;
  }

  .mentor-login-heading h1 {
    font-size: clamp(29px, 7.8vw, 34px);
  }

  .mentor-cockpit-login .mentor-login-form {
    gap: 6px;
  }
}
