/* ================================================================
   login.css - khusus tampilan halaman login (index.html)
   ================================================================ */

.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f9ff 0%, #eef1fb 100%);
  padding: 20px;
}

/* Blob dekoratif yang mengambang pelan di background, memberi kesan
   "glass / transparan" tanpa mengganggu keterbacaan card login. */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 10s ease-in-out infinite;
  z-index: 0;
}
.blob-1 {
  width: 340px; height: 340px;
  background: #a5b4fc;
  top: -80px; left: -80px;
}
.blob-2 {
  width: 300px; height: 300px;
  background: #f5b8ea;
  bottom: -100px; right: -60px;
  animation-delay: 2s;
}
.blob-3 {
  width: 220px; height: 220px;
  background: #bae6fd;
  bottom: 40px; left: 10%;
  animation-delay: 4s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.05); }
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 40px 32px 28px;
  text-align: center;
}

.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.login-logo h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}
.login-logo h1 span { color: var(--accent); }

.login-subtitle {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 26px;
}

.login-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-google {
  width: 100%;
  background: var(--text);
  color: #fff;
}
.btn-google.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.g-icon { width: 18px; height: 18px; background: #fff; border-radius: 50%; padding: 2px; }
.btn-google.btn-outline .g-icon { background: transparent; padding: 0; }
.btn.loading { opacity: 0.65; pointer-events: none; }

.login-note {
  min-height: 18px;
  font-size: 13px;
  color: var(--danger);
  margin: 14px 0 0;
}

.recaptcha-note {
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.recaptcha-note a { color: var(--accent); font-weight: 600; }

/* Sembunyikan badge reCAPTCHA bawaan (kanan-bawah) supaya benar-benar
   tidak mengganggu tampilan. Notice wajib tetap ditampilkan lewat
   .recaptcha-note di atas, sesuai ketentuan Google. */
.grecaptcha-badge { visibility: hidden !important; }
