/* ============================================================
   PKKMB FT UNESA 2026 — Halaman Login LMS (desain ala portal)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  background: #000;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── Background ─────────────────────────────────────────────── */
.pkkmb-login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.pkkmb-login-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.pkkmb-login-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}
.pkkmb-login-bg-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.55) 40%, transparent 75%),
              linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.45) 25%, transparent 60%);
  box-shadow: inset 0 0 100px 40px rgba(0, 0, 0, 0.8);
}
.pkkmb-login-bloom {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle at center, rgba(234,179,8,0.13) 0%, transparent 60%);
  pointer-events: none;
}
.pkkmb-login-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.pkkmb-login-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}
.pkkmb-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.pkkmb-login-brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}
.pkkmb-login-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.pkkmb-login-brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #166534;
}
.pkkmb-login-brand-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ca8a04;
  margin-top: 2px;
}
.pkkmb-login-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(10,10,10,0.4);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}
.pkkmb-login-back:hover {
  color: #fff;
  border-color: rgba(234,179,8,0.35);
}

/* ── Layout utama ───────────────────────────────────────────── */
.pkkmb-login-main {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 24px 120px;
  overflow-y: auto;
}
.pkkmb-login-main section.for-login {
  display: block !important;
}

/* ── Card ───────────────────────────────────────────────────── */
.pkkmb-login-card.page-card {
  width: 100%;
  max-width: 430px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(234, 179, 8, 0.18);
  border-radius: 24px;
  padding: 44px 36px 36px;
  min-height: auto;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(234,179,8,0.06);
  margin: 0 auto;
}
.pkkmb-login-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin: 0 auto 18px;
  border-radius: 18px;
}
.pkkmb-login-heading {
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pkkmb-login-kicker {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f5f5f5;
}
.pkkmb-login-brand.gradient-gold {
  display: inline-flex;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #fde047 0%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(234, 179, 8, 0.35));
  margin: 4px 0 0;
}
.pkkmb-login-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0 0 22px;
}

/* ── Error banner ───────────────────────────────────────────── */
.pkkmb-login-card .login-error-banner {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  text-align: left;
}
.pkkmb-login-card .login-error-banner.invalid {
  display: flex;
}

/* ── Tombol Google ──────────────────────────────────────────── */
.pkkmb-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.pkkmb-google-btn:hover {
  background: #fde047;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(234,179,8,0.4), 0 10px 30px rgba(234,179,8,0.15);
}
.pkkmb-google-btn img {
  width: 20px;
  height: 20px;
}
.pkkmb-google-btn span {
  font-weight: 700;
}

.pkkmb-login-hint {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin: 18px 0 0;
  line-height: 1.6;
}
.pkkmb-login-hint span {
  color: rgba(255,255,255,0.7);
}

/* ── Footer ─────────────────────────────────────────────────── */
.pkkmb-login-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  text-align: center;
  padding: 14px 16px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(6, 78, 59, 0.3);
}
.pkkmb-login-footer p {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.pkkmb-login-footer p span {
  color: rgba(255,255,255,0.9);
}
.pkkmb-login-footer-sub {
  font-style: italic;
  color: rgba(255,255,255,0.4) !important;
  font-size: 11px !important;
  margin-top: 2px !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .pkkmb-login-card.page-card {
    padding: 32px 22px 28px;
    min-height: auto;
  }
  .pkkmb-login-brand.gradient-gold {
    font-size: 44px;
  }
  .pkkmb-login-brand-sub {
    display: none;
  }
}
