/*
 * Sign-in, sign-up and password pages (.login-signup-container.auth), in the
 * homepage's type and teal. Laptops: a rounded brand panel (shared/_auth_brand_panel)
 * inset on the left, a white form side on the right with a top bar
 * (shared/_auth_topbar) and a help line at its foot (shared/_auth_foot). Phones
 * and tablets: the form side alone, with the logo in its top bar.
 *
 * Restyles builds/navbar.css, which sets the old photo panel and many text styles
 * with !important; selectors here go through .auth so they win without spreading.
 */

.auth {
  --au-ink: #0b2b2a;
  --au-text: #34514f;
  --au-muted: #5b7774;
  --au-line: #dbe8e6;
  --au-line-strong: #c3d9d5;
  --au-brand: #0f766e;
  --au-brand-strong: #0b5e58;
  --au-brand-soft: #e3f3f1;
  --au-field: #fbfdfd;
  --au-mint: #6ee7b7;

  min-height: 100vh;
  min-height: 100dvh;
  height: auto !important;
  margin: 0;
  background: #fff;
  font-family: "Poppins", "Hind Vadodara", system-ui, sans-serif;
}

.auth :is(a, p, span, li, td, label) {
  font-weight: inherit !important;
}

/* Brand panel: inset from the page edge, with rounded corners. */

.auth .login-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  padding: 14px 0 14px 14px;
  background: transparent !important;
  /* navbar.css's .bg-green, still on some of these pages, adds a light border. */
  border: 0 !important;
  color: #fff;
}

.auth-panel {
  --au-pad-x: clamp(32px, 3.6vw, 56px);

  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: clamp(28px, 5vh, 48px) var(--au-pad-x) 0;
  border-radius: 28px;
  background:
    radial-gradient(560px 380px at 105% -5%, rgba(110, 231, 183, 0.28), transparent 70%),
    radial-gradient(520px 420px at -10% 105%, rgba(20, 184, 166, 0.35), transparent 70%),
    linear-gradient(155deg, #063b38 0%, #0b5e58 48%, #0f766e 100%);
}

.auth-panel__top {
  position: relative;
  z-index: 2;
  flex: none;
}

/* The logo is a link; it keeps its own colours, not the form's link teal. */
.auth .auth-panel .cl-logo,
.auth .auth-panel .cl-logo:hover {
  color: var(--cl-ink) !important;
  text-decoration: none;
}

.auth .auth-panel__title {
  margin: clamp(28px, 7vh, 76px) 0 0.9rem;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

/* The second half of the promise on its own line, as on the homepage. */
.auth .auth-panel__title span {
  display: block;
  background: linear-gradient(120deg, #6ee7b7, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: inherit !important;
}

.auth .auth-panel__text {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.65;
}

.auth-panel__checks {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth .auth-panel__checks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.auth-panel__checks .bi {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.18);
  color: var(--au-mint);
  font-size: 0.95rem;
}

/* A clinician rising from the bottom edge, in a soft light, with two cards from the
   patient's side of the app. It takes whatever height is left, so short screens see
   less of it. */
.auth-panel__visual {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  margin: clamp(16px, 3vh, 36px) calc(var(--au-pad-x) * -1) 0;
}

.auth-panel__glow {
  position: absolute;
  right: 0;
  bottom: -14%;
  z-index: -1;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06) 62%, transparent 74%),
    repeating-radial-gradient(circle, transparent 0 32px, rgba(255, 255, 255, 0.07) 32px 33px);
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent);
  mask-image: radial-gradient(closest-side, #000 60%, transparent);
}

.auth-panel__person {
  position: absolute;
  right: 6%;
  bottom: 0;
  height: 100%;
  max-height: 620px;
  width: auto;
  max-width: 72%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.28));
}

.auth-chip {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.55);
  color: var(--au-ink);
}

.auth-chip--token {
  top: 10%;
  left: var(--au-pad-x);
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.05rem 1rem;
  padding: 0.75rem 1rem;
}

.auth .auth-chip__label {
  grid-column: 1 / -1;
  color: var(--au-muted);
  font-size: 0.64rem;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth .auth-chip__token {
  color: var(--au-brand-strong);
  font-size: 1.7rem;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.auth .auth-chip__live {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.62rem;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-chip__live span {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
}

.auth-chip--message {
  top: 46%;
  left: calc(var(--au-pad-x) + 28px);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
}

.auth-chip--message .bi {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 1.15rem;
}

.auth .auth-chip--message > span {
  display: flex;
  flex-direction: column;
  color: var(--au-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.auth .auth-chip--message strong {
  color: var(--au-ink);
  font-size: 0.86rem;
  font-weight: 600;
}

/* A plain promise about privacy, at the panel's foot. */
.auth .auth-panel__trust {
  position: absolute;
  bottom: 22px;
  left: var(--au-pad-x);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100% - var(--au-pad-x) * 2);
  margin: 0;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(4, 40, 38, 0.55);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  line-height: 1.35;
}

.auth-panel__trust .bi {
  color: var(--au-mint);
  font-size: 1rem;
}

/* Small laptops: room for one card. Short screens: the card, then the picture, give way. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .auth-chip--message {
    display: none;
  }

  .auth-panel__person {
    right: 0;
  }
}

@media (min-width: 992px) and (max-height: 760px) {
  .auth-chip--message {
    display: none;
  }
}

@media (min-width: 992px) and (max-height: 600px) {
  .auth-panel__visual {
    display: none;
  }
}

/* Form side */

.auth .login-form {
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 clamp(20px, 4.5vw, 72px);
  background: #fff;
}

.auth .login-shadow {
  display: none;
}

.auth-topbar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  min-height: 76px;
}

.auth .auth-topbar__logo {
  display: none !important;
  margin-right: auto;
}

.auth .auth-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--au-line);
  border-radius: 999px;
  background: #fff;
  color: var(--au-brand-strong);
  font-size: 0.86rem;
  font-weight: 600 !important;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.auth .auth-back:hover {
  border-color: var(--au-line-strong);
  background: #f5faf9;
  color: #063b38;
}

.auth .auth-back:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 2px;
}

/* No card: the form sits on the white page, in the middle of what is left. */
.auth .login-signup-card-left {
  display: block;
  width: 100%;
  max-width: 410px;
  height: auto;
  margin: auto;
  padding: 16px 0 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth :is(h1, h2, h3, h4, h5) {
  color: var(--au-ink) !important;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.auth .auth-title,
.auth .login-signup-card-left > h4 {
  margin: 0 0 0.45rem !important;
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.auth .auth-lead,
.auth .login-signup-card-left > h4 + p,
.auth .opacity-75 {
  margin: 0 0 1.75rem;
  color: var(--au-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  opacity: 1;
}

/* Email or Phone OTP (auth_tabs_controller.js), as a two-way switch. */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 1.5rem;
  padding: 4px;
  border-radius: 14px;
  background: #eef5f4;
}

.auth .auth-tabs__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--au-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.auth .auth-tabs__tab:hover {
  color: var(--au-ink);
}

.auth .auth-tabs__tab[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 43, 42, 0.08), 0 6px 14px -8px rgba(6, 59, 56, 0.35);
  color: var(--au-brand-strong);
}

.auth .auth-tabs__tab:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 1px;
}

.auth .auth-field {
  margin-bottom: 1.15rem;
}

/* A label with a link at the other end of the line (Forgot password?). */
.auth .auth-field__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.auth .auth-field__head .form-label {
  margin: 0;
}

.auth .auth-field__link {
  color: var(--au-brand-strong);
  font-size: 0.85rem;
  font-weight: 600 !important;
  text-decoration: none;
  white-space: nowrap;
}

.auth .auth-field__link:hover {
  text-decoration: underline;
}

.auth .form-label {
  margin-bottom: 0.4rem;
  color: var(--au-ink);
  font-size: 0.88rem;
  font-weight: 500 !important;
}

.auth .form-control,
.auth .form-select {
  min-height: 52px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--au-line-strong);
  border-radius: 12px !important;
  background: var(--au-field);
  color: var(--au-ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400 !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.auth .form-control::placeholder {
  color: #8aa19e !important;
}

.auth .form-control:hover {
  border-color: #a5c8c1;
}

.auth .form-control:focus,
.auth .form-select:focus {
  border-color: var(--au-brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14) !important;
}

/* An icon at the start of the field (email, lock). */
.auth .auth-input {
  position: relative;
}

.auth .auth-input__icon {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  color: #7f9a97;
  font-size: 1.05rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.auth .auth-input .form-control {
  padding-left: 44px;
}

.auth .form-text {
  margin: 0.45rem 0 0;
  color: var(--au-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* The show/hide password button inside the field. */
.auth .auth-eye {
  position: absolute;
  top: 50%;
  right: 6px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--au-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.auth .auth-eye:hover {
  background: var(--au-brand-soft);
  color: var(--au-brand-strong);
}

.auth .auth-eye:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 0;
}

/* +91 in front of the phone number (login_controller.js adds it when it is left off). */
.auth .auth-phone {
  position: relative;
}

.auth .auth-phone__code {
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 1px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  border-right: 1px solid var(--au-line);
  border-radius: 11px 0 0 11px;
  background: #f1f7f6;
  color: var(--au-text);
  font-size: 0.95rem;
  font-weight: 500 !important;
}

.auth .auth-phone .form-control {
  padding-left: 74px;
}

.auth .auth-field--check {
  margin: -0.1rem 0 1.35rem;
}

.auth .auth-field--check .form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.auth .form-check-input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  float: none;
  border-color: var(--au-line-strong);
  border-radius: 5px;
}

.auth .form-check-input:checked {
  border-color: var(--au-brand);
  background-color: var(--au-brand);
}

.auth .form-check-input:focus {
  border-color: var(--au-brand);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

.auth .form-check-label {
  color: var(--au-text);
  font-size: 0.9rem;
}

/* navbar.css paints .btn-primary navy with !important; the gradient sits over it. */
.auth .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 12px !important;
  background-image: linear-gradient(135deg, #14b8a6, var(--au-brand) 55%, var(--au-brand-strong));
  box-shadow: 0 14px 26px -14px rgba(15, 118, 110, 0.9) !important;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600 !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.auth .btn-primary:hover,
.auth .btn-primary:focus-visible {
  background-image: linear-gradient(135deg, var(--au-brand), var(--au-brand-strong) 60%, #094944);
  color: #fff;
  transform: translateY(-1px);
}

.auth .btn-primary:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 2px;
}

.auth a {
  color: var(--au-brand-strong);
}

.auth .text-link,
.auth .text-primary {
  color: var(--au-brand-strong) !important;
}

/* A labelled divider (the clinic sign-up form). */
.auth .or {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.6rem 0 1.25rem;
  color: var(--au-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

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

/* "New to CurisLink? Start your free trial" and the other ways round, under the form. */
.auth .auth-switch {
  margin: 1.75rem 0 0;
  color: var(--au-text);
  font-size: 0.92rem;
  text-align: center;
}

.auth .auth-switch a {
  font-weight: 600 !important;
  text-decoration: none;
}

.auth .auth-switch a:hover {
  text-decoration: underline;
}

.auth .auth-switch--small {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.auth .auth-switch--small a {
  font-weight: 500 !important;
}

/* The foot of the form side: help on WhatsApp, and the copyright. */
.auth-foot {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  padding: 18px 0 22px;
  color: var(--au-muted);
  font-size: 0.82rem;
  text-align: center;
}

.auth .auth-foot a {
  font-weight: 600 !important;
  text-decoration: none;
}

.auth .auth-foot a:hover {
  text-decoration: underline;
}

/* A pointer before the form, such as "Registering a new clinic?" on staff sign-up. */
.auth .auth-callout {
  display: flex;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid #c5e8e1;
  border-radius: 14px;
  background: var(--au-brand-soft);
  color: var(--au-text);
  font-size: 0.88rem;
  line-height: 1.5;
}

.auth .auth-callout > .bi {
  flex: none;
  color: var(--au-brand);
  font-size: 1.3rem;
  line-height: 1.2;
}

.auth .auth-callout strong {
  display: block;
  color: var(--au-ink);
  font-weight: 600 !important;
}

.auth .auth-callout span {
  display: block;
}

.auth .auth-callout .auth-callout__link {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 600 !important;
}

/* Devise's error summary (devise/shared/_error_messages) and the fields it names. */
.auth #error_explanation {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
  color: #991b1b;
}

.auth #error_explanation::before {
  content: "\f333";
  position: absolute;
  top: 0.8rem;
  left: 1rem;
  font-family: "bootstrap-icons";
  font-size: 1.05rem;
}

.auth #error_explanation h2 {
  margin: 0 0 0.3rem;
  color: #991b1b !important;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
}

.auth #error_explanation ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.auth .field_with_errors {
  display: contents;
}

.auth .field_with_errors .form-control {
  border-color: #f87171;
}

/* Section headings in the sign-up form (New Organization, Admin Account). */
.auth .login-signup-card-left .auth-section-title {
  margin: 1.5rem 0 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--au-line);
  font-size: 1rem;
  font-weight: 600;
}

/* Messages (layouts/application) over the form, not across the two halves. */
body:has(.login-signup-container.auth) #flash-messages .alert {
  border-radius: 14px;
  box-shadow: 0 16px 34px -18px rgba(6, 59, 56, 0.5);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 0.92rem;
}

@media (min-width: 992px) {
  body:has(.login-signup-container.auth) #flash-messages {
    top: 84px !important;
    left: 75% !important;
    max-width: 430px !important;
  }

  body:has(.login-signup-container.auth--wide) #flash-messages {
    left: 71% !important;
  }
}

/* The one-time code dialog, in the same colours (devise/sessions/_otp-modal). */
.auth #otp-modal .modal-content {
  border: 0;
  border-radius: 24px !important;
  box-shadow: 0 30px 70px -30px rgba(6, 59, 56, 0.55);
  font-family: inherit;
}

.auth #otp-modal .icon-circle svg :is(rect, path) {
  stroke: var(--au-brand);
}

.auth #otp-modal .icon-circle svg circle {
  fill: var(--au-brand);
}

.auth #otp-modal [data-testid="otp-form-container"] {
  border-color: var(--au-line) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.auth #otp {
  font-size: 1.3rem;
  font-weight: 600 !important;
  letter-spacing: 0.35em;
  text-align: center;
}

/* The spacing is for the digits; the hint reads normally. */
.auth #otp::placeholder {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
}

.auth #otp-modal .btn {
  width: auto;
  min-height: 48px;
  margin: 0;
  border-radius: 999px !important;
}

/* Clinic sign-up: a longer form, so a wider form side (two fields a row) and a narrower panel. */
.auth--wide .login-signup-card-left {
  max-width: 620px;
}

@media (min-width: 992px) {
  .auth.auth--wide > .login-bg {
    flex: 0 0 42%;
    max-width: 42%;
  }

  .auth.auth--wide > .login-form {
    flex: 0 0 58%;
    max-width: 58%;
  }
}

/* Two fields a row from tablets up; one a row on phones (Bootstrap's col-md-6). */
.auth .login-signup-card-left .row.g-3 {
  --bs-gutter-y: 1rem;
}

.auth .login-signup-card-left .form-section + .form-section {
  margin-top: 0.5rem !important;
}

.auth .login-signup-card-left > form > .btn-primary,
.auth form[data-testid="signup-form"] > .btn-primary {
  width: 100%;
}

/* The smaller Devise pages (shared/_auth_shell): links under the form. */
.auth .auth-links {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--au-line);
  font-size: 0.9rem;
  line-height: 2;
}

.auth .auth-note {
  margin: 1.25rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: var(--au-brand-soft);
  color: var(--au-text);
  font-size: 0.9rem;
}

/* Phones and tablets: the form side alone, on a faint mint wash, with the logo in its top bar. */
@media (max-width: 991.98px) {
  .auth > .login-bg {
    display: none !important;
  }

  .auth > .login-form,
  .auth.auth--wide > .login-form {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .auth .login-form {
    padding: 0 20px;
    background:
      radial-gradient(520px 260px at 100% 0%, rgba(110, 231, 183, 0.2), transparent 70%),
      radial-gradient(420px 240px at 0% 0%, rgba(20, 184, 166, 0.1), transparent 70%),
      #fff;
  }

  .auth-topbar {
    justify-content: space-between;
    min-height: 68px;
  }

  .auth .auth-topbar__logo {
    display: inline-flex !important;
  }

  .auth .login-signup-card-left {
    max-width: 440px;
    padding: 20px 0 28px;
  }

  .auth--wide .login-signup-card-left {
    max-width: 620px;
  }
}

/* Small phones: the back link is just its arrow (its name stays, for screen readers). */
@media (max-width: 575.98px) {
  .auth .auth-back {
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  .auth .auth-back span {
    display: none;
  }
}
