/*
 * Professional authentication UI
 * Load after assets/style.css or assets/saas.css and add `auth-page` to <body>.
 * No remote fonts, images or third-party assets are required.
 */

body.auth-page {
  --auth-navy: #07182f;
  --auth-ink: #12233f;
  --auth-muted: #65738b;
  --auth-blue: #0969e8;
  --auth-blue-dark: #0753ba;
  --auth-cyan: #18bce8;
  --auth-green: #0c9460;
  --auth-red: #bd3048;
  --auth-amber: #a96200;
  --auth-line: #d9e4f2;
  --auth-soft: #f3f7fc;
  --auth-white: #fff;
  --auth-focus: rgba(9, 105, 232, .2);
  --auth-shadow: 0 28px 80px rgba(7, 36, 80, .16);
  min-height: 100vh;
  margin: 0;
  color: var(--auth-ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(24, 188, 232, .16), transparent 26rem),
    radial-gradient(circle at 94% 96%, rgba(9, 105, 232, .12), transparent 28rem),
    linear-gradient(145deg, #f8fbff 0%, #edf4fc 52%, #f7faff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.auth-page *,
body.auth-page *::before,
body.auth-page *::after {
  box-sizing: border-box;
}

body.auth-page button,
body.auth-page input,
body.auth-page select,
body.auth-page textarea {
  font: inherit;
}

body.auth-page a {
  color: var(--auth-blue-dark);
  text-underline-offset: 3px;
}

body.auth-page a:hover {
  color: var(--auth-blue);
}

/* Generic layout API for login, forgot-password and reset-password pages. */
.auth-page .auth-shell {
  width: min(1080px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 46px) 0;
  display: grid;
  place-items: center;
}

.auth-page .auth-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(390px, 1.08fr);
  overflow: hidden;
  border: 1px solid rgba(212, 226, 243, .94);
  border-radius: 32px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--auth-shadow);
}

.auth-page .auth-showcase {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(145deg, #061a3d 0%, #0758c7 62%, #18bce8 130%);
}

.auth-page .auth-showcase::before,
.auth-page .auth-showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.auth-page .auth-showcase::before {
  width: 320px;
  height: 320px;
  top: -150px;
  right: -110px;
  background: rgba(255, 255, 255, .13);
}

.auth-page .auth-showcase::after {
  width: 250px;
  height: 250px;
  bottom: -125px;
  left: -85px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(7, 24, 47, .12);
}

.auth-page .auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

.auth-page .auth-brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 15px;
  color: #fff;
  background: rgba(255, 255, 255, .15);
  box-shadow: 0 12px 28px rgba(0, 18, 57, .18);
  backdrop-filter: blur(12px);
}

.auth-page .auth-brand__mark svg,
.auth-page .auth-brand__mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.auth-page .auth-showcase__copy {
  position: relative;
  z-index: 1;
  max-width: 430px;
}

.auth-page .auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .11);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.auth-page .auth-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62e8ba;
  box-shadow: 0 0 0 5px rgba(98, 232, 186, .12);
}

.auth-page .auth-showcase h1 {
  margin: 19px 0 13px;
  color: #fff;
  font-size: clamp(2rem, 4.3vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.auth-page .auth-showcase p {
  margin: 0;
  color: rgba(239, 248, 255, .84);
  font-size: 1rem;
  line-height: 1.7;
}

.auth-page .auth-benefits {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.auth-page .auth-benefits li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, .92);
  font-size: .9rem;
  font-weight: 750;
}

.auth-page .auth-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #072f37;
  background: #7df0c8;
  font-size: .72rem;
  font-weight: 1000;
}

.auth-page .auth-content {
  min-width: 0;
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .98);
}

.auth-page .auth-card {
  width: min(100%, 460px);
  margin: 0 auto;
}

.auth-page .auth-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid #d1e4fb;
  border-radius: 17px;
  color: var(--auth-blue-dark);
  background: linear-gradient(145deg, #f6fbff, #e6f2ff);
  box-shadow: 0 12px 28px rgba(9, 105, 232, .11);
}

.auth-page .auth-card__icon svg {
  width: 25px;
  height: 25px;
}

.auth-page .auth-title {
  margin: 0;
  color: var(--auth-navy);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.auth-page .auth-subtitle {
  margin: 10px 0 25px;
  color: var(--auth-muted);
  font-size: .97rem;
}

.auth-page .auth-form {
  display: grid;
  gap: 16px;
}

.auth-page .auth-field {
  min-width: 0;
}

.auth-page .auth-field-row,
.auth-page .auth-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.auth-page .auth-label,
.auth-page .auth-field > label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 7px;
  color: #283952;
  font-size: .86rem;
  font-weight: 850;
}

.auth-page .auth-label__optional {
  color: var(--auth-muted);
  font-size: .74rem;
  font-weight: 650;
}

.auth-page .auth-input-wrap {
  position: relative;
}

.auth-page .auth-input,
.auth-page .auth-select,
.auth-page .auth-textarea {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #c9d7e9;
  border-radius: 14px;
  color: var(--auth-ink);
  background: #fff;
  box-shadow: 0 6px 18px rgba(8, 36, 78, .035);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.auth-page .auth-input::placeholder,
.auth-page .auth-textarea::placeholder {
  color: #98a5b7;
  opacity: 1;
}

.auth-page .auth-input:hover,
.auth-page .auth-select:hover,
.auth-page .auth-textarea:hover {
  border-color: #a9bfdc;
}

.auth-page .auth-input:focus,
.auth-page .auth-select:focus,
.auth-page .auth-textarea:focus {
  border-color: #4c91ec;
  box-shadow: 0 0 0 4px var(--auth-focus), 0 8px 22px rgba(8, 36, 78, .05);
}

.auth-page .auth-input[aria-invalid="true"] {
  border-color: #d9576d;
  box-shadow: 0 0 0 4px rgba(189, 48, 72, .11);
}

.auth-page .auth-input-wrap--icon .auth-input {
  padding-left: 44px;
}

.auth-page .auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: #71819a;
  transform: translateY(-50%);
  pointer-events: none;
}

.auth-page .auth-input-icon svg {
  width: 100%;
  height: 100%;
}

.auth-page .auth-input-wrap--action .auth-input {
  padding-right: 54px;
}

.auth-page .auth-input-action {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  color: #687892;
  background: transparent;
  transform: translateY(-50%);
}

.auth-page .auth-input-action:hover {
  color: var(--auth-blue-dark);
  background: #edf5ff;
}

.auth-page .auth-help,
.auth-page .auth-error-text {
  display: block;
  margin-top: 6px;
  color: var(--auth-muted);
  font-size: .78rem;
  line-height: 1.45;
}

.auth-page .auth-error-text {
  color: var(--auth-red);
  font-weight: 700;
}

.auth-page .auth-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.auth-page .auth-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  color: #495971;
  font-size: .84rem;
}

.auth-page .auth-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--auth-blue);
}

.auth-page .auth-link {
  color: var(--auth-blue-dark);
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
}

.auth-page .auth-link:hover {
  text-decoration: underline;
}

.auth-page .auth-button {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(145deg, var(--auth-blue), var(--auth-blue-dark));
  box-shadow: 0 13px 30px rgba(9, 105, 232, .23);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.auth-page .auth-button:hover {
  color: #fff;
  filter: saturate(1.08);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(9, 105, 232, .29);
}

.auth-page .auth-button:active {
  transform: translateY(0);
}

.auth-page .auth-button:disabled,
.auth-page .auth-button[aria-disabled="true"] {
  cursor: not-allowed;
  filter: grayscale(.25);
  opacity: .62;
  transform: none;
}

.auth-page .auth-button--secondary,
.auth-page .auth-provider-button {
  color: #263650;
  border-color: #cfdceb;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 36, 78, .06);
}

.auth-page .auth-button--secondary:hover,
.auth-page .auth-provider-button:hover {
  color: var(--auth-navy);
  border-color: #a9c2df;
  background: #f8fbff;
  box-shadow: 0 10px 26px rgba(8, 36, 78, .09);
}

.auth-page .auth-provider-button svg,
.auth-page .auth-provider-button img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.auth-page .auth-divider {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #7a879b;
  font-size: .76rem;
  font-weight: 750;
  text-align: center;
}

.auth-page .auth-divider::before,
.auth-page .auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--auth-line);
}

.auth-page .auth-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0 0 18px;
  padding: 13px 14px;
  border: 1px solid;
  border-radius: 14px;
  font-size: .86rem;
  font-weight: 700;
}

.auth-page .auth-alert::before {
  content: "i";
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 1000;
}

.auth-page .auth-alert--error {
  border-color: #f0bdc7;
  color: #8d2639;
  background: #fff1f3;
}

.auth-page .auth-alert--error::before {
  content: "!";
  color: #fff;
  background: var(--auth-red);
}

.auth-page .auth-alert--success {
  border-color: #a7dfca;
  color: #086442;
  background: #eafaf4;
}

.auth-page .auth-alert--success::before {
  content: "\2713";
  color: #fff;
  background: var(--auth-green);
}

.auth-page .auth-alert--info {
  border-color: #bcd7f8;
  color: #174e94;
  background: #eef6ff;
}

.auth-page .auth-alert--info::before {
  color: #fff;
  background: var(--auth-blue);
}

.auth-page .auth-footer-note {
  margin: 21px 0 0;
  color: var(--auth-muted);
  font-size: .84rem;
  text-align: center;
}

.auth-page .auth-showcase-note {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(239, 248, 255, .78);
  font-size: .78rem;
}

.auth-page .auth-legacy {
  padding: 10px 12px;
  border: 1px solid #dce6f2;
  border-radius: 13px;
  color: var(--auth-muted);
  background: #f8fbff;
  font-size: .79rem;
}

.auth-page .auth-legacy summary {
  cursor: pointer;
  color: #4f627c;
  font-weight: 800;
}

.auth-page .auth-legacy[open] summary {
  margin-bottom: 12px;
}

.auth-page .auth-security-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 19px;
  padding: 12px 13px;
  border: 1px solid #dce7f3;
  border-radius: 13px;
  color: #57677e;
  background: #f7faff;
  font-size: .78rem;
}

.auth-page .auth-security-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--auth-green);
}

/* Progress indicator for signup and password recovery flows. */
.auth-page .auth-steps {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.auth-page .auth-step {
  height: 5px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ebf4;
}

.auth-page .auth-step--active,
.auth-page .auth-step--done {
  background: linear-gradient(90deg, var(--auth-blue), var(--auth-cyan));
}

/* Legacy admin/login.php adapter: only activated by body.auth-page. */
.auth-page > .phone {
  width: min(1040px, calc(100% - 32px));
  max-width: none;
  min-height: 620px;
  margin: clamp(18px, 4vw, 46px) auto;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(390px, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(212, 226, 243, .94);
  border-radius: 32px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--auth-shadow);
}

.auth-page > .phone > .hero {
  min-height: 620px;
  padding: clamp(30px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 !important;
  color: #fff;
  background: linear-gradient(145deg, #061a3d 0%, #0758c7 62%, #18bce8 130%) !important;
  box-shadow: none !important;
}

.auth-page > .phone > .hero::before {
  width: 320px;
  height: 320px;
  inset: -155px -105px auto auto;
  background: rgba(255, 255, 255, .12);
}

.auth-page > .phone > .hero::after {
  width: 230px;
  height: 230px;
  right: auto;
  bottom: -110px;
  left: -80px;
  background: rgba(7, 24, 47, .13);
}

.auth-page > .phone > .hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.auth-page > .phone > .hero p {
  position: relative;
  z-index: 1;
  max-width: 370px;
  margin: 13px 0 0;
  color: rgba(239, 248, 255, .84) !important;
  font-size: 1rem;
  line-height: 1.65;
}

.auth-page > .phone > .wrap {
  min-width: 0;
  padding: clamp(26px, 5vw, 56px);
  display: flex;
  align-items: center;
}

.auth-page > .phone > .wrap > .card {
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.auth-page > .phone .title {
  margin: 0 0 22px;
  color: var(--auth-navy);
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  letter-spacing: -.04em;
}

.auth-page > .phone label {
  display: block;
  margin-bottom: 7px;
  color: #283952;
  font-size: .86rem;
  font-weight: 850;
}

.auth-page > .phone .input {
  min-height: 50px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #c9d7e9 !important;
  border-radius: 14px;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(8, 36, 78, .035) !important;
}

.auth-page > .phone .input:hover {
  border-color: #a9bfdc !important;
}

.auth-page > .phone .input:focus {
  border-color: #4c91ec !important;
  box-shadow: 0 0 0 4px var(--auth-focus) !important;
}

.auth-page > .phone .btn.full {
  min-height: 50px;
  margin-top: 5px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--auth-blue), var(--auth-blue-dark));
  box-shadow: 0 13px 30px rgba(9, 105, 232, .23);
}

.auth-page > .phone .pill {
  display: block;
  margin: 0 0 18px;
  padding: 13px 14px;
  border: 1px solid;
  border-radius: 14px;
  font-size: .86rem;
  line-height: 1.45;
}

.auth-page > .phone .pill.bad {
  border-color: #f0bdc7;
  color: #8d2639;
  background: #fff1f3;
}

/* Existing saas.css adapter for signup.php, change_password.php and recovery. */
.saas-page.auth-page {
  --saas-navy: var(--auth-navy);
  --saas-ink: var(--auth-ink);
  --saas-muted: var(--auth-muted);
  --saas-blue: var(--auth-blue);
  --saas-blue-dark: var(--auth-blue-dark);
  --saas-cyan: var(--auth-cyan);
  --saas-green: var(--auth-green);
  --saas-red: var(--auth-red);
  --saas-line: var(--auth-line);
  --saas-soft: var(--auth-soft);
  --saas-shadow: 0 22px 64px rgba(7, 36, 80, .11);
}

.saas-page.auth-page .saas-topbar {
  border-bottom-color: rgba(211, 225, 242, .8);
  background: rgba(248, 251, 255, .82);
  backdrop-filter: blur(18px);
}

.saas-page.auth-page .saas-brand__mark {
  box-shadow: 0 10px 26px rgba(9, 105, 232, .22);
}

.saas-page.auth-page .saas-main {
  padding-top: clamp(28px, 5vw, 52px);
}

.saas-page.auth-page .saas-card {
  border-color: rgba(211, 225, 242, .95);
  border-radius: 25px;
  background: rgba(255, 255, 255, .96);
}

.saas-page.auth-page .saas-input,
.saas-page.auth-page .saas-select,
.saas-page.auth-page .saas-textarea {
  min-height: 50px;
  border-color: #c9d7e9;
  border-radius: 14px;
}

.saas-page.auth-page .saas-input:hover,
.saas-page.auth-page .saas-select:hover,
.saas-page.auth-page .saas-textarea:hover {
  border-color: #a9bfdc;
}

.saas-page.auth-page .saas-button {
  min-height: 50px;
  border-radius: 14px;
}

.saas-page.auth-page .saas-plan-choice {
  min-height: 72px;
  border-radius: 15px;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.saas-page.auth-page .saas-plan-choice:hover {
  border-color: #a9bfdc;
  transform: translateY(-1px);
}

.saas-page.auth-page .saas-check input {
  flex: 0 0 auto;
}

/* Native autofill stays legible and visually consistent. */
.auth-page input:-webkit-autofill,
.auth-page input:-webkit-autofill:hover,
.auth-page input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--auth-ink);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  caret-color: var(--auth-ink);
  transition: background-color 9999s ease-out 0s;
}

/* Keyboard accessibility. */
.auth-page :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--auth-focus);
  outline-offset: 3px;
}

.auth-page .auth-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 820px) {
  .auth-page .auth-layout,
  .auth-page > .phone {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .auth-page .auth-showcase,
  .auth-page > .phone > .hero {
    min-height: auto;
    padding: 28px clamp(22px, 6vw, 38px);
    justify-content: flex-start;
  }

  .auth-page .auth-showcase__copy {
    margin-top: 36px;
  }

  .auth-page .auth-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-page .auth-content,
  .auth-page > .phone > .wrap {
    padding: clamp(26px, 7vw, 46px);
  }

  .auth-page > .phone > .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }
}

@media (max-width: 600px) {
  .auth-page .auth-shell {
    width: 100%;
    padding: 0;
  }

  .auth-page .auth-layout,
  .auth-page > .phone {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .auth-page .auth-showcase,
  .auth-page > .phone > .hero {
    border-radius: 0 0 25px 25px !important;
  }

  .auth-page .auth-showcase__copy {
    margin-top: 28px;
  }

  .auth-page .auth-showcase h1 {
    font-size: 2rem;
  }

  .auth-page .auth-benefits {
    grid-template-columns: 1fr;
  }

  .auth-page .auth-field-row,
  .auth-page .auth-form-row,
  .saas-page.auth-page .saas-form__row,
  .saas-page.auth-page .saas-plan-choices {
    grid-template-columns: 1fr;
  }

  .auth-page .auth-content,
  .auth-page > .phone > .wrap {
    padding: 30px 20px 38px;
  }

  .auth-page .auth-meta-row {
    align-items: flex-start;
  }

  .saas-page.auth-page .saas-main {
    padding-top: 24px;
  }
}

@media (max-width: 380px) {
  .auth-page .auth-content,
  .auth-page > .phone > .wrap {
    padding-right: 16px;
    padding-left: 16px;
  }

  .auth-page .auth-meta-row {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-page *,
  .auth-page *::before,
  .auth-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-contrast: more) {
  .auth-page .auth-input,
  .auth-page .auth-select,
  .auth-page .auth-textarea,
  .auth-page .auth-card,
  .saas-page.auth-page .saas-input,
  .saas-page.auth-page .saas-card {
    border-color: #60718a;
  }

  .auth-page .auth-button {
    background: #064fae;
  }
}

@media print {
  body.auth-page {
    background: #fff;
  }

  .auth-page .auth-layout,
  .auth-page > .phone {
    box-shadow: none;
  }
}
