:root {
  --navy: #06265f;
  --navy-2: #031d4d;
  --royal: #0d64d8;
  --blue: #1689e7;
  --orange: #ff6b35;
  --ink: #0b2147;
  --muted: #66758f;
  --line: #dbe6f2;
  --paper: #fff;
  --soft: #f7fbff;
  --shadow: 0 24px 70px rgba(7, 45, 98, 0.16);
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(125deg, #eef8ff 0%, #f9fcff 48%, #fff3ea 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
.auth-orbit {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
  z-index: -1;
}
.auth-orbit-one {
  width: 620px;
  height: 620px;
  left: -300px;
  top: 14%;
  background: radial-gradient(
    circle,
    rgba(22, 137, 231, 0.22),
    transparent 67%
  );
  animation: authFloat 12s ease-in-out infinite alternate;
}
.auth-orbit-two {
  width: 540px;
  height: 540px;
  right: -260px;
  bottom: -220px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.18),
    transparent 67%
  );
  animation: authFloat 15s ease-in-out -4s infinite alternate-reverse;
}
.auth-header {
  width: min(1180px, calc(100% - 48px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-brand img {
  width: 154px;
  height: 54px;
  object-fit: contain;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #31567f;
  font-size: 12px;
  font-weight: 800;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.back-link span {
  font-size: 18px;
  color: var(--orange);
}
.back-link:hover {
  color: var(--royal);
  transform: translateX(-3px);
}
.auth-layout {
  width: min(1060px, calc(100% - 48px));
  min-height: calc(100vh - 140px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(390px, 460px);
  gap: 100px;
  align-items: center;
  padding: 36px 0 60px;
}
.auth-intro {
  max-width: 510px;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #31567f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.section-kicker span {
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}
.auth-intro h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.auth-intro > p {
  max-width: 430px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.auth-proof {
  display: flex;
  gap: 42px;
  margin-top: 40px;
}
.auth-proof div {
  display: grid;
  gap: 3px;
}
.auth-proof strong {
  font-size: 24px;
  color: #0a4b9d;
}
.auth-proof span {
  font-size: 10px;
  color: #75859a;
}
.auth-quote {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 360px;
  margin-top: 45px;
  padding-top: 18px;
  border-top: 1px solid rgba(123, 157, 190, 0.35);
}
.auth-quote > span {
  font-family: Georgia, serif;
  color: var(--orange);
  font-size: 38px;
  line-height: 0.8;
}
.auth-quote p {
  margin: 0;
  color: #42617f;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
}
.auth-panel {
  position: relative;
  padding: 31px;
  border: 1px solid rgba(170, 199, 225, 0.75);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.auth-panel::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--royal));
  border-radius: 0 0 4px 4px;
}
.auth-panel-head {
  display: flex;
  align-items: center;
  gap: 13px;
}
.auth-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.08em;
}
.auth-mark span {
  color: var(--orange);
  margin: 0 2px;
}
.auth-panel-head small {
  display: block;
  color: #7d91a8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.auth-panel h2 {
  margin: 3px 0 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 300;
  line-height: 1.1;
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 28px 0 23px;
  padding: 4px;
  border-radius: 10px;
  background: #edf5fb;
}
.auth-tab {
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #70839a;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 800;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}
.auth-tab.active {
  background: #fff;
  color: var(--royal);
  box-shadow: 0 4px 12px rgba(8, 70, 130, 0.1);
}
.auth-form {
  display: none;
  gap: 14px;
}
.auth-form.active {
  display: grid;
  animation: formIn 0.3s ease;
}
.auth-form label {
  display: grid;
  gap: 7px;
  color: #42617f;
  font-size: 11px;
  font-weight: 800;
}
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"],
.auth-form input[type="tel"] {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #cfdeec;
  border-radius: 9px;
  background: #fbfdff;
  color: var(--ink);
  outline: none;
  font-size: 13px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.auth-form input:focus {
  border-color: var(--royal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 137, 231, 0.12);
}
.auth-form input::placeholder {
  color: #a1afbf;
}
.name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 58px !important;
}
.password-toggle {
  position: absolute;
  right: 8px;
  top: 7px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: #edf6ff;
  color: var(--royal);
  font-size: 10px;
  font-weight: 800;
  padding: 0 8px;
}
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.check-label {
  display: flex !important;
  align-items: center;
  grid-template-columns: none !important;
  gap: 7px !important;
  color: #71849a !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}
.check-label input {
  accent-color: var(--royal);
  width: 14px;
  height: 14px;
  margin: 0;
}
.form-link {
  color: var(--royal);
  font-size: 10px;
  font-weight: 800;
}
.terms-label {
  display: flex !important;
  align-items: flex-start;
  grid-template-columns: none !important;
  gap: 8px !important;
  color: #71849a !important;
  font-size: 10px !important;
  line-height: 1.5;
  font-weight: 700 !important;
}
.terms-label a {
  color: var(--royal);
}
.auth-submit {
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), #ff4f3d);
  color: #fff;
  box-shadow: 0 12px 25px rgba(255, 88, 50, 0.22);
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.auth-submit span {
  display: inline-block;
  margin-left: 7px;
  transition: transform 0.2s ease;
}
.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(255, 88, 50, 0.3);
}
.auth-submit:hover span {
  transform: translateX(4px);
}
.auth-status {
  min-height: 18px;
  margin: 0;
  text-align: center;
  color: #227b5b;
  font-size: 11px;
  font-weight: 700;
}
.auth-note {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 25px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e0eaf3;
  color: #8091a5;
  font-size: 10px;
}
.auth-note span {
  color: #2b9b6e;
  font-weight: 900;
}
.auth-footer {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 22px;
  display: flex;
  justify-content: space-between;
  color: #8b9aac;
  font-size: 10px;
}
@keyframes authFloat {
  0% {
    transform: translate3d(-14px, 10px, 0) scale(0.94);
  }
  100% {
    transform: translate3d(24px, -18px, 0) scale(1.08);
  }
}
@keyframes formIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 800px) {
  .auth-header {
    height: 72px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 28px;
  }
  .auth-intro {
    max-width: 620px;
  }
  .auth-intro h1 {
    font-size: 52px;
  }
  .auth-quote {
    display: none;
  }
  .auth-panel {
    max-width: 540px;
    width: 100%;
    justify-self: center;
  }
  .auth-footer {
    padding-top: 0;
  }
}
@media (max-width: 520px) {
  .auth-header,
  .auth-layout,
  .auth-footer {
    width: min(100% - 28px, 1060px);
  }
  .auth-header {
    height: 66px;
  }
  .auth-brand img {
    width: 135px;
  }
  .back-link {
    font-size: 10px;
  }
  .auth-layout {
    padding: 24px 0 40px;
  }
  .auth-intro h1 {
    font-size: 43px;
  }
  .auth-intro > p {
    font-size: 13px;
    margin-top: 18px;
  }
  .auth-proof {
    gap: 24px;
    margin-top: 24px;
  }
  .auth-proof strong {
    font-size: 20px;
  }
  .auth-panel {
    padding: 22px 18px;
    border-radius: 17px;
  }
  .auth-panel::before {
    left: 18px;
    right: 18px;
  }
  .auth-panel h2 {
    font-size: 25px;
  }
  .auth-tabs {
    margin-top: 22px;
  }
  .name-grid {
    grid-template-columns: 1fr;
  }
  .auth-footer {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .auth-orbit-one,
  .auth-orbit-two,
  .auth-form.active {
    animation: none;
  }
}

/* === mobile-responsive:start (generated) === */
/* Phones and tablets: lift tiny text to a readable size (desktop sizes unchanged). */
@media (max-width:1024px){
  .auth-proof span{font-size:11.5px}
  .auth-panel-head small{font-size:11px}
  .password-toggle{font-size:11.5px}
  .check-label{font-size:11.5px}
  .form-link{font-size:11.5px}
  .terms-label{font-size:11.5px}
  .auth-note{font-size:11.5px}
  .auth-footer{font-size:11.5px}
  .back-link{font-size:11.5px}
  .auth-footer{font-size:11px}
  [style*="font-size:9px"],[style*="font-size: 9px"]{font-size:11px!important}
  [style*="font-size:10px"],[style*="font-size: 10px"]{font-size:11.5px!important}
}
html,body{overflow-x:clip}
@media (max-width:720px){
  input,select,textarea{font-size:16px!important} /* below 16px iOS zooms the page on focus */
}
/* === mobile-responsive:end === */
