/* auth.css
   Sign in (split layout: deep-green welcome panel + form), create account and
   forgot password (centred card). */

.auth {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 64px);
}

.auth__panel {
  background: var(--deep);
  color: var(--on-deep);
  padding: var(--space-6) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.auth__panel h1 {
  color: var(--white);
}

.auth__logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--white);
}

.auth__foundations {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth__foundations li {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  padding: 6px 0;
}

.auth__foundations strong {
  color: var(--white);
}

.auth__form-side {
  padding: var(--space-6) var(--space-4) var(--space-7);
  display: flex;
  justify-content: center;
  background: var(--white);
}

.auth__form {
  width: 100%;
  max-width: 440px;
}

.auth__form h2 {
  font-size: 30px;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-5);
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.password-wrap {
  position: relative;
}

.password-wrap .input {
  padding-right: 56px;
}

.password-wrap .icon-btn {
  position: absolute;
  right: 2px;
  top: 2px;
  border: none;
  background: transparent;
}

.demo-strip {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-m);
  padding: var(--space-3);
  margin-top: var(--space-5);
}

.demo-strip .chip {
  min-height: 36px;
  font-size: 13px;
  background: var(--mint);
  border-color: transparent;
}

.divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--muted);
  font-size: 13px;
}

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

.step-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.step-tabs span {
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-s);
  background: var(--mint);
  font-size: 13px;
  font-weight: 600;
}

.step-tabs span.is-current {
  background: var(--deep);
  color: var(--white);
}

.step-tabs span.is-todo {
  background: var(--white);
  border: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .auth {
    grid-template-columns: 43% 1fr;
  }
  .auth__panel {
    padding: var(--space-7) var(--space-6);
  }
  .auth__form-side {
    align-items: center;
  }
}
