.auth-screen {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #101114;
  letter-spacing: 0;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
}

.auth-main {
  min-width: 0;
  padding: 80px 32px 48px;
}

.auth-content {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.auth-mobile-brand { display: none; }

.auth-content-register { max-width: 680px; }

.auth-main-login {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

.auth-login-support {
  margin: auto 0 0;
  padding-top: 32px;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 440px;
  padding: 5px;
  gap: 0;
  margin: 0 auto 28px;
  background: #eeebf5;
  border-radius: 999px;
}

.auth-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px;
  color: #424047;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
}

.auth-tabs a:first-child { border-radius: 999px 0 0 999px; }
.auth-tabs a:last-child { border-radius: 0 999px 999px 0; }

.auth-tabs a[aria-current="page"] {
  background: #592cbd;
  color: #fff;
  box-shadow: 0 2px 5px #49238e26;
}

.auth-screen .auth-title {
  margin: 0 0 28px;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 28px;
  line-height: 1.25;
  font-family: var(--heading-font);
  font-weight: 900;
}

.auth-screen .auth-card {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auth-screen .field { margin-bottom: 18px; }
.auth-screen .field label { color: #101114; font-size: 14px; }
.auth-screen .field input,
.auth-screen .field select {
  min-width: 0;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #d8d8dc;
  background: #fff;
  font: inherit;
  font-size: 16px;
  border-radius: 8px;
}
.auth-screen .input-wrap input { padding-right: 64px; }
.auth-screen .icon-btn { right: 14px; color: #4a4652; font-size: 12px; }
.auth-screen .field input:focus,
.auth-screen .field select:focus {
  outline: 2px solid #592cbd;
  outline-offset: 2px;
}
.auth-screen .btn {
  min-height: 54px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: #46c8da;
  color: #0c1419;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.auth-screen .btn:hover { background: #35bacc; }
.auth-screen .btn.is-submitting {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: wait;
}
.auth-screen .btn.is-submitting::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid rgba(12, 20, 25, .25);
  border-top-color: #0c1419;
  border-radius: 50%;
  animation: auth-submit-spin .75s linear infinite;
}
@keyframes auth-submit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .auth-screen .btn.is-submitting::before { animation: none; }
}
.auth-screen .status { overflow-wrap: anywhere; }
.auth-screen .form-grid { gap: 12px; }
.auth-screen .register-choice-section h2 { font-size: 17px; }
.auth-screen .auth-footer a,
.auth-screen .field-help a,
.auth-screen .register-support a { color: #592cbd; }
.auth-screen .site-footer { display: none; }
.auth-screen a:focus-visible,
.auth-screen button:focus-visible { outline: 2px solid #592cbd; outline-offset: 3px; }

.auth-brand-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #592cbd;
}

.auth-brand-panel::before,
.auth-brand-panel::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
}
.auth-brand-panel::before { background: #46c8da; top: -110px; left: -90px; }
.auth-brand-panel::after { background: #fff; right: -180px; bottom: -210px; }
.auth-brand-logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px;
  color: #fff;
  text-decoration: none;
}
.auth-brand-logo img {
  display: block;
  object-fit: contain;
  filter: grayscale(1) invert(1) contrast(10);
  mix-blend-mode: screen;
}
.auth-brand-logo span { font-size: 19px; line-height: 1.05; font-weight: 700; }
.auth-brand-copyright {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 40px;
  left: 24px;
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .auth-layout { grid-template-columns: minmax(0, 1fr); }
  .auth-main { padding: 36px 20px 56px; }
  .auth-brand-panel { display: none; }
  .auth-mobile-brand {
    display: inline-block;
    margin-bottom: 24px;
    color: #592cbd;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  .auth-screen .auth-title { font-size: 25px; }
  .auth-screen .form-grid.two-col,
  .auth-screen .form-grid.three-col { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
