.auth-page {
  background: #f5f5f2;
  min-height: 100vh;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(500px, 1.1fr);
  min-height: 100vh;
}

.auth-presentation {
  background:
    radial-gradient(circle at 90% 10%, rgba(243, 216, 115, 0.18), transparent 28%),
    radial-gradient(circle at 0 90%, rgba(32, 216, 221, 0.1), transparent 30%),
    #111113;
  color: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 34px clamp(34px, 5vw, 74px);
  position: relative;
}

.auth-presentation::after {
  border: 1px dashed rgba(243, 216, 115, 0.25);
  border-radius: 50%;
  content: "";
  height: 360px;
  position: absolute;
  right: -230px;
  top: 20%;
  width: 360px;
}

.auth-brand {
  color: white;
  position: relative;
  width: fit-content;
  z-index: 1;
}

.auth-brand:hover {
  color: white;
}

.auth-brand .workspace-brand-mark img {
  filter: invert(1);
}

.auth-presentation-copy {
  margin: auto 0;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

.auth-kicker {
  align-items: center;
  color: var(--gold-light);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 820;
  gap: 7px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.auth-presentation h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 860;
  letter-spacing: -0.07em;
  line-height: 0.98;
  margin: 0 0 20px;
}

.auth-presentation-copy > p {
  color: #a0a0a6;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
  max-width: 460px;
}

.auth-preview {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  margin-top: 38px;
  max-width: 470px;
  padding: 15px;
}

.auth-preview-head {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  justify-content: space-between;
  padding: 3px 3px 12px;
}

.auth-preview-head span {
  color: #929298;
}

.auth-preview-head strong {
  color: var(--gold-light);
}

.auth-preview-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 11px;
  display: grid;
  gap: 10px;
  grid-template-columns: 43px 4px 1fr auto;
  margin-top: 7px;
  padding: 10px;
}

.auth-preview-row time {
  font-size: 0.75rem;
  font-weight: 800;
}

.auth-preview-row > span {
  background: var(--gold);
  border-radius: 99px;
  height: 29px;
}

.auth-preview-row:nth-child(3) > span {
  background: var(--cyan);
}

.auth-preview-row strong,
.auth-preview-row small {
  display: block;
  line-height: 1.4;
}

.auth-preview-row strong {
  font-size: 0.75rem;
}

.auth-preview-row small {
  color: #85858b;
  font-size: 0.75rem;
}

.auth-preview-row i {
  color: var(--green);
}

.auth-preview-row:nth-child(3) i {
  color: var(--orange);
}

.auth-presentation-footer {
  color: #65656b;
  font-size: 0.75rem;
  position: relative;
  z-index: 1;
}

.auth-form-side {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 45px;
  position: relative;
}

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

.auth-card {
  max-width: 430px;
  width: 100%;
}

.auth-demo-note {
  align-items: center;
  background: var(--gold-pale);
  border-radius: 999px;
  color: #80600b;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 6px;
  margin-bottom: 18px;
  padding: 6px 9px;
  text-transform: uppercase;
}

.auth-card h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 860;
  letter-spacing: -0.06em;
  line-height: 1.05;
  margin: 0 0 8px;
}

.auth-card-lead {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0 0 29px;
}

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

.auth-field label,
.auth-label-row label {
  font-size: 0.75rem;
  font-weight: 780;
  margin-bottom: 7px;
}

.auth-label-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.auth-label-row a {
  color: #7a600f;
  font-size: 0.75rem;
  font-weight: 720;
  text-decoration: none;
}

.auth-input-wrap {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  min-height: 51px;
  padding: 0 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 169, 40, 0.12);
}

.auth-input-wrap > i {
  color: #8c8c92;
  margin-right: 9px;
}

.auth-input-wrap input {
  background: transparent;
  border: 0;
  color: var(--ink);
  flex: 1;
  font-size: 0.75rem;
  min-width: 0;
  outline: 0;
}

.auth-input-wrap input::placeholder {
  color: #aaaab0;
}

.auth-input-wrap button {
  background: transparent;
  border: 0;
  color: #77777c;
  padding: 4px;
}

.auth-form.was-validated .auth-field:has(input:invalid) .auth-input-wrap {
  border-color: var(--red);
}

.auth-form.was-validated .auth-field:has(input:invalid) .invalid-feedback {
  display: block;
  font-size: 0.75rem;
}

.auth-remember {
  align-items: center;
  color: #6f6f74;
  display: flex;
  font-size: 0.75rem;
  gap: 7px;
  margin-top: -4px;
}

.auth-remember input {
  accent-color: var(--ink);
}

.auth-submit {
  min-height: 51px;
}

.auth-help {
  align-items: flex-start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #747479;
  display: flex;
  font-size: 0.75rem;
  gap: 8px;
  line-height: 1.5;
  margin-top: 21px;
  padding: 11px;
}

.auth-help i {
  color: var(--green);
}

.auth-platform-link {
  color: #86868b;
  font-size: 0.75rem;
  margin: 20px 0 0;
  text-align: center;
}

.auth-platform-link a {
  color: var(--ink);
  font-weight: 760;
}

.recovery-security-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.recovery-security-list span {
  align-items: center;
  color: #d6d6da;
  display: flex;
  font-size: 0.75rem;
  gap: 9px;
}

.recovery-security-list i {
  color: var(--gold-light);
}

.demo-data-note.recovery-message-success {
  background: #ecf8f0;
  border-color: #bfe4ca;
  color: #25663a;
}

@media (max-width: 991.98px) {
  .auth-layout {
    grid-template-columns: minmax(300px, 0.72fr) minmax(440px, 1fr);
  }

  .auth-presentation {
    padding: 30px;
  }

  .auth-presentation h1 {
    font-size: 2.7rem;
  }

  .auth-preview {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .auth-layout {
    display: block;
  }

  .auth-presentation {
    display: none;
  }

  .auth-form-side {
    align-items: flex-start;
    min-height: 100vh;
    padding: 24px 19px 35px;
  }

  .auth-mobile-brand {
    display: block;
    left: 19px;
    position: absolute;
    top: 25px;
  }

  .auth-card {
    margin-top: 92px;
    max-width: 470px;
  }
}

@media (max-width: 575.98px) {
  .auth-card h2 {
    font-size: 2.15rem;
  }

  .auth-card-lead {
    font-size: 0.75rem;
  }

  .auth-input-wrap {
    min-height: 53px;
  }
}
