/* mayrr. account gateway */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 100dvh;
}
.auth-visual {
  min-width: 0;
  min-height: 880px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 50px 11%;
  background: #172a76;
  border-right: 1px solid #344582;
}
.auth-visual .wordmark {
  font-size: 2.2rem;
}
.auth-visual .wordmark::after {
  color: #86a0ff;
}
.auth-visual-copy {
  margin-top: 110px;
}
.auth-visual-copy .eyebrow {
  font-size: 0.75rem;
  color: #a9bbee;
  letter-spacing: 0.16em;
  margin-bottom: 35px;
}
.auth-visual h1 {
  font-family: Arial, sans-serif;
  font-size: clamp(3rem, 4.7vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: #fff;
}
.auth-visual-copy > p:last-child {
  color: #b3c3ec;
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-top: 30px;
}
.auth-index {
  margin-top: 70px;
  width: 100%;
  max-width: 360px;
}
.auth-index > div {
  padding: 18px 0;
  border-top: 1px solid #3a4f8d;
  color: #c3d0f3;
  font-size: 0.8125rem;
  display: flex;
  gap: 30px;
}
.auth-index > div > span {
  font-family: Consolas, monospace;
  font-size: 0.75rem;
  color: #91a7df;
  padding-top: 3px;
}
.auth-visual-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  font-family: Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #91a7df;
  margin-top: auto;
  padding-top: 65px;
  width: 100%;
}
.auth-content {
  display: flex;
  flex-direction: column;
  padding: 45px 10%;
  min-width: 0;
  background: #0d0f14;
}
.back-home {
  font-size: 0.75rem;
  color: var(--text-3);
  display: flex;
  gap: 12px;
  align-self: flex-start;
}
.back-home:hover {
  color: #b6c6ff;
}
.login-box {
  max-width: 410px;
  width: 100%;
  margin: auto;
  padding: 60px 0;
}
.login-box > .eyebrow {
  font-size: 0.75rem;
  margin-bottom: 23px;
  color: #8898b9;
  letter-spacing: 0.13em;
}
.login-box h2 {
  font-size: 2.65rem;
  font-weight: 450;
  letter-spacing: -0.055em;
}
.auth-subtitle {
  color: #a1aec8;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 18px;
  margin-bottom: 32px;
}
.auth-form .field {
  margin-bottom: 23px;
}
.auth-form .field > span {
  font-size: 0.8125rem;
}
.auth-form .field .field-help {
  font-size: 0.75rem;
  color: #8d9cba;
}
.auth-form .btn-full {
  margin-top: 4px;
  min-height: 48px;
  justify-content: space-between;
  padding-inline: 18px;
}
.auth-form input {
  min-height: 49px;
  font-size: 0.9375rem;
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 70px;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #9aacd5;
  font-size: 0.75rem;
  padding: 6px;
}
.password-toggle:hover {
  color: white;
}
.auth-msg {
  font-size: 0.875rem;
  line-height: 1.6;
  border-radius: 5px;
}
.auth-msg:not(:empty) {
  padding: 14px 16px;
  background: #192237;
  border: 1px solid #384d82;
  margin-top: 20px;
}
.auth-msg.err {
  color: var(--danger);
  border-color: #70423f;
}
.auth-msg.ok {
  color: #b6c7ff;
}
.auth-note {
  font-size: 0.75rem;
  line-height: 1.75;
  color: #8291ae;
  border-top: 1px solid #2b354b;
  margin-top: 28px;
  padding-top: 22px;
}
.auth-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.75rem;
  color: #7f8eab;
}
.auth-footer a {
  color: #a6b9ec;
}
.auth-content .tabs {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #354365;
  border-radius: 0;
  padding: 0;
  margin-bottom: 30px;
  gap: 26px;
}
.auth-content .tab-btn {
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  flex: initial;
  font-size: 0.8125rem;
  color: #8e9ebd;
  min-height: 44px;
}
.auth-content .tab-btn.active {
  border-color: var(--accent);
  background: transparent;
  box-shadow: none;
  color: white;
}
@media (max-width: 1000px) {
  .auth-visual {
    padding: 38px 10%;
    min-height: 820px;
  }
  .auth-content {
    padding: 36px 9%;
  }
  .auth-visual-copy {
    margin-top: 85px;
  }
  .auth-visual h1 {
    font-size: 3.7rem;
  }
  .auth-index {
    margin-top: 50px;
  }
  .auth-visual-footer {
    flex-direction: column;
    gap: 8px;
  }
  .login-box h2 {
    font-size: 2.3rem;
  }
}
@media (max-width: 700px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    display: none;
  }
  .auth-content {
    padding: 28px 24px;
    min-height: 100dvh;
  }
  .login-box {
    padding: 45px 0;
    max-width: 420px;
  }
  .login-box h2 {
    font-size: 2.45rem;
  }
  .auth-subtitle {
    font-size: 0.875rem;
  }
  .auth-content > .back-home {
    margin-bottom: 15px;
  }
  .auth-footer {
    padding-top: 20px;
  }
}
