/* Halaman masuk, daftar, dan menunggu persetujuan */

.auth-body {
  background: var(--sx-shell);
}

.auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
  padding-bottom: calc(var(--sx-space-6) + var(--safe-bottom));
}

.auth__hero {
  width: 100%;
  padding: calc(var(--safe-top) + var(--sx-space-8)) var(--sx-space-4) 72px;
  background: var(--pattern), var(--sx-primary-bg);
  border-radius: 0 0 32px 32px;
  text-align: center;
}

.auth__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sx-space-2);
  color: #fff;
}

.auth__brand .brand__mark {
  border-radius: 16px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 10px 24px -8px rgba(0, 0, 0, 0.4);
}

.auth__name {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.auth__name span {
  color: #f2c55a;
}

.auth__tagline {
  font-size: var(--sx-fs-sm);
  opacity: 0.85;
}

.auth__card {
  width: min(440px, calc(100% - 32px));
  margin-top: -48px;
  padding: var(--sx-space-6) var(--sx-space-5);
  border-radius: var(--sx-r-2xl);
  background: var(--sx-surface);
  box-shadow: var(--sx-shadow-3);
  animation: modal-in var(--sx-dur-4) var(--sx-ease-out) both;
}

.auth__title {
  font-size: var(--sx-fs-xl);
}

.auth__sub {
  margin: var(--sx-space-1) 0 var(--sx-space-5);
  color: var(--sx-muted);
  font-size: var(--sx-fs-sm);
}

.auth__switch {
  margin-top: var(--sx-space-5);
  text-align: center;
  font-size: var(--sx-fs-sm);
  color: var(--sx-muted);
}

.auth__switch a {
  font-weight: 650;
}

.auth__motto {
  margin-top: var(--sx-space-6);
  color: var(--sx-accent-ink);
  font-weight: 600;
  font-size: var(--sx-fs-sm);
}

.password-field {
  position: relative;
}

.password-field .input {
  padding-right: 48px;
}

.password-field button {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--sx-muted);
  display: grid;
  place-items: center;
}

.demo-accounts {
  margin-top: var(--sx-space-5);
  padding: var(--sx-space-3);
  border-radius: var(--sx-r-lg);
  background: var(--sx-surface-2);
  box-shadow: inset 0 0 0 1px var(--sx-line-soft);
  font-size: var(--sx-fs-xs);
}

.demo-accounts summary {
  font-weight: 650;
  cursor: pointer;
  color: var(--sx-ink-2);
}

.demo-accounts ul {
  display: grid;
  gap: 6px;
  margin: var(--sx-space-2) 0 0;
  padding: 0;
  list-style: none;
}

.demo-accounts button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: var(--sx-space-2);
  padding: 8px 10px;
  border: 0;
  border-radius: var(--sx-r-sm);
  background: var(--sx-raised);
  box-shadow: var(--sx-shadow-1);
  text-align: left;
  font-size: var(--sx-fs-xs);
}
