/* ============================
   AUTH / LOGIN PAGE
   ============================ */

.auth-body {
  min-height: 100vh;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #f3f4ff 0, #e5ecff 35%, #eef2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper tengah */
.auth-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 24px;
}

/* Kartu login */
.auth-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.15),
    0 0 0 1px rgba(148, 163, 184, 0.08);
  padding: 32px 28px 28px;
  box-sizing: border-box;
}

/* Brand / judul kecil di atas */
.auth-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.auth-brand-text {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6b7280;
}

/* Judul & deskripsi */
.auth-title {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #111827;
}

.auth-subtitle {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Form */
.auth-form {
  margin: 0;
}

/* Field */
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.auth-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
}

.auth-field input[type="text"],
.auth-field input[type="password"] {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 9px 12px;
  font-size: 0.95rem;
  outline: none;
  background-color: #f9fafb;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    transform 0.08s ease;
}

.auth-field input[type="text"]:focus,
.auth-field input[type="password"]:focus {
  background-color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

/* Error message */
.auth-error {
  margin: 2px 0 16px;
  font-size: 0.85rem;
  color: #b91c1c;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

/* Button */
.auth-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  margin-top: 4px;
  margin-bottom: 12px;
  transition:
    transform 0.08s ease,
    box-shadow 0.12s ease,
    background 0.18s ease;
}

.auth-btn:hover {
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.auth-btn:active {
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  transform: translateY(0);
}

/* Meta link: daftar, kembali */
.auth-meta {
  margin: 6px 0 4px;
  font-size: 0.88rem;
  color: #6b7280;
  text-align: center;
}

.auth-meta-small {
  margin: 0;
  font-size: 0.82rem;
  text-align: center;
  color: #9ca3af;
}

/* Link */
.auth-link,
.auth-link-back {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.auth-link:hover,
.auth-link-back:hover {
  text-decoration: underline;
}

/* Responsive kecil */
@media (max-width: 480px) {
  .auth-card {
    padding: 24px 18px 22px;
    border-radius: 14px;
  }

  .auth-title {
    font-size: 1.4rem;
  }

  .auth-subtitle {
    font-size: 0.9rem;
  }
}
