.auth {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  max-width: 920px;
  min-height: 540px;
  margin: 24px auto;
  overflow: hidden;
  background: var(--color-surface);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(30, 40, 20, 0.1);
}

/* ---------- Panel kiri (hijau) ---------- */
.auth__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 36px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: linear-gradient(
    160deg,
    var(--color-accent),
    var(--color-primary)
  );
}

/* lingkaran dekoratif */
.auth__panel::before,
.auth__panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}
.auth__panel::before {
  width: 320px;
  height: 320px;
  left: -140px;
  bottom: -150px;
}
.auth__panel::after {
  width: 120px;
  height: 120px;
  right: -30px;
  top: 40px;
}

.auth__panel-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.15;
  color: #fff;
}

.auth__panel-text {
  max-width: 280px;
  margin: 0 0 8px;
  line-height: 1.55;
  opacity: 0.9;
}

/* tombol outline putih, mis. "MASUK" */
.btn--outline-light {
  min-width: 180px;
  height: 46px;
  border: 1.5px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ---------- Panel kanan (form) ---------- */
.auth__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
}

.auth__title {
  margin: 0 0 6px;
  font-size: 1.9rem;
  text-align: center;
  color: var(--color-primary);
}

.auth__subtitle {
  margin: 0 0 28px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--color-muted);
}

.auth__submit {
  display: flex;
  margin: 22px auto 0;
  min-width: 200px;
  height: 48px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* link tukar login/daftar, cuma tampil di mobile */
.auth__switch-mobile {
  display: none;
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .auth {
    grid-template-columns: 1fr;
    min-height: 0;
    margin: 8px auto;
  }
  /* panel hijau disembunyikan */
  .auth__panel {
    display: none;
  }
  .auth__form {
    padding: 36px 24px;
  }
  .auth__switch-mobile {
    display: block;
  }
}
