/* === Auth Page === */

/* Susun kartu + footer ke bawah (footer tidak menutupi konten) */
body.page-center {
  flex-direction: column;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 32px;
}
.auth-brand:hover {
  text-decoration: none;
}
.auth-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.auth-card h1 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth-card p {
  margin-bottom: 20px;
}

.auth-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
}

.auth-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
}

/* OTP row */
.otp-row {
  display: flex;
  gap: 10px;
}

.otp-field {
  flex: 1;
}

.otp-send-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Footer — mengalir di bawah kartu, tidak fixed */
.auth-footer {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.auth-footer a {
  color: var(--muted);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 28px 22px;
    border: none;
    background: transparent;
  }
  .auth-footer {
    position: static;
    margin-top: 32px;
  }
}
