/* Shared sign-in and sign-up styling to match the public homepage. */
body.auth-redesign {
  min-height: 100vh;
  margin: 0;
  color: #0a0a0a;
  background: #fcfcfb;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.auth-redesign .container-fluid.p-0,
.auth-redesign .container-fluid.p-0 > .row.g-0 {
  min-height: 100vh;
}

.auth-redesign .row.g-0 > .col-xl-6.d-none.d-xl-flex {
  min-height: 100vh;
  padding: 28px;
  background: #0a0a0a;
}

.auth-redesign .auth-full-page.position-relative {
  position: relative;
  display: flex;
  width: 100%;
  /* Fit the padded column instead of inheriting height: 100vh. */
  height: auto;
  min-height: calc(100vh - 56px);
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  isolation: isolate;
}

.auth-redesign .auth-full-page.position-relative::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgb(10 10 10 / 2%) 18%, rgb(10 10 10 / 78%) 100%),
    linear-gradient(90deg, rgb(10 10 10 / 14%), transparent 70%);
  content: "";
  pointer-events: none;
}

.auth-redesign .auth-full-page.position-relative::after {
  position: absolute;
  z-index: 0;
  top: -230px;
  right: -210px;
  width: 440px;
  height: 440px;
  border: 1px solid rgb(255 212 0 / 28%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.auth-redesign .auth-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.auth-redesign .auth-quote {
  --auth-quote-gap: clamp(20px, 4vw, 48px);
  position: relative;
  /* Clear the absolute-position offsets inherited from app.css. */
  inset: auto;
  z-index: 1;
  width: min(600px, calc(100% - 2 * var(--auth-quote-gap)));
  margin: 0 var(--auth-quote-gap) var(--auth-quote-gap);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 18px;
  background: rgb(10 10 10 / 58%);
  color: #fff;
  backdrop-filter: blur(8px);
}

.auth-redesign .auth-quote > i {
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 30px;
  border-radius: 4px;
  background: #ffd400;
}

.auth-redesign .auth-quote figure,
.auth-redesign .auth-quote blockquote {
  margin: 0;
}

.auth-redesign .auth-quote blockquote p {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.24;
}

.auth-redesign .auth-quote figcaption {
  color: #c9c6bd;
  font-size: 14px;
}

.auth-redesign .row.g-0 > .col-xl-6:not(.d-none) {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: #fcfcfb;
}

.auth-redesign .auth-full-page.d-flex {
  display: flex;
  width: 100%;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px) !important;
  background: transparent;
}

.auth-redesign .auth-form {
  width: min(100%, 500px);
  margin: auto;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid #ececea;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px -48px rgb(10 10 10 / 30%);
}

.auth-redesign .tts-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #0a0a0a;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
}

.auth-redesign .tts-auth-brand img {
  display: block;
  width: 27px;
  height: 34px;
  object-fit: contain;
}

.auth-redesign .auth-form h1,
.auth-redesign .auth-form h2,
.auth-redesign .auth-form .h2 {
  color: #0a0a0a;
  font-weight: 700;
  letter-spacing: -.04em;
}

.auth-redesign .auth-form .lead {
  color: #78716c;
  font-size: 15px;
  line-height: 1.55;
}

.auth-redesign .auth-form .form-label {
  color: #292524;
  font-size: 14px;
  font-weight: 600;
}

.auth-redesign .auth-form .form-control,
.auth-redesign .auth-form input:not([type="checkbox"]):not([type="radio"]),
.auth-redesign .auth-form select,
.auth-redesign .auth-form textarea {
  min-height: 48px;
  border: 1px solid #d6d3d1;
  border-radius: 9px;
  background-color: #fff;
  color: #0a0a0a;
  box-shadow: none;
}

.auth-redesign .auth-form .form-control:focus,
.auth-redesign .auth-form input:focus,
.auth-redesign .auth-form input:not([type="checkbox"]):not([type="radio"]):focus,
.auth-redesign .auth-form select:focus,
.auth-redesign .auth-form textarea:focus {
  border-color: #a88900;
  box-shadow: 0 0 0 3px rgb(255 212 0 / 25%);
  outline: none;
}

.auth-redesign #validation-form .job-title-trigger {
  min-height: 48px;
}

.auth-redesign .auth-form .btn-primary,
.auth-redesign .auth-form button.button-primary {
  border: 1px solid #ffd400;
  border-radius: 9px;
  background: #ffd400;
  color: #0a0a0a;
  font-weight: 700;
  box-shadow: none;
}

.auth-redesign .auth-form .btn-primary:hover,
.auth-redesign .auth-form button.button-primary:hover {
  border-color: #e8c100;
  background: #e8c100;
  color: #0a0a0a;
}

.auth-redesign .auth-form a:not(.tts-auth-brand) {
  text-underline-offset: 3px;
}

.auth-redesign .auth-form .alert {
  border-radius: 9px;
}

.auth-redesign .auth-full-page:not(.position-relative) .auth-form {
  width: min(calc(100% - 32px), 540px);
}

@media (max-width: 1199.98px) {
  .auth-redesign .row.g-0 > .col-xl-6:not(.d-none) {
    padding: 20px;
  }

  .auth-redesign .auth-full-page.d-flex {
    min-height: 100vh;
    padding: 12px !important;
  }
}

@media (max-width: 575.98px) {
  .auth-redesign .row.g-0 > .col-xl-6:not(.d-none) {
    padding: 0;
  }

  .auth-redesign .auth-full-page.d-flex {
    align-items: flex-start;
    padding: 14px !important;
  }

  .auth-redesign .auth-form {
    width: 100%;
    margin: auto;
    padding: 25px 20px;
    border-radius: 16px;
  }

  .auth-redesign .tts-auth-brand {
    margin-bottom: 26px;
  }
}

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