/* ================================================================
   SIK - Sistem Informasi Kelulusan - Custom Styles
   ================================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #1a237e;
  --primary-light: #283593;
  --primary-dark: #0d1757;
  --gold: #f5a623;
  --gold-light: #f7c05e;
  --gold-dark: #e08c00;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --dark: #0f172a;
  --sidebar-width: 260px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; }

/* ================================================================
   LANDING PAGE
   ================================================================ */
.landing-body {
  background: #050a1a;
  color: #fff;
  overflow-x: hidden;
}

/* ---- Particle Canvas ---- */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Navbar ---- */
.landing-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 18px 0;
  transition: all .4s ease;
}
.landing-nav.scrolled {
  background: rgba(5, 10, 26, .95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.nav-brand span { color: var(--gold); -webkit-text-fill-color: var(--gold); }
.landing-nav .nav-link {
  color: rgba(255,255,255,.8) !important;
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .5px;
  transition: color .3s;
  padding: 6px 16px !important;
  border-radius: 30px;
}
.landing-nav .nav-link:hover { color: var(--gold) !important; background: rgba(245,166,35,.1); }

/* ---- Hero Section ---- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.4);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown .8s ease;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp .9s ease .1s both;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--gold) 50%, #ffdd88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .school-name {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 550px;
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeInUp .9s ease .2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp .9s ease .3s both;
}

.btn-cek {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  box-shadow: 0 8px 30px rgba(245,166,35,.4);
  position: relative;
  overflow: hidden;
}
.btn-cek::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s;
}
.btn-cek:hover::before { left: 100%; }
.btn-cek:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245,166,35,.5);
  color: #fff;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 2px solid rgba(255,255,255,.3);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s;
}
.btn-outline-gold:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,166,35,.1);
  transform: translateY(-2px);
}

/* ---- Hero Visual (right side) ---- */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInRight .9s ease .3s both;
}
.hero-card-float {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 32px;
  position: relative;
}
.hero-card-float .year-badge {
  position: absolute;
  top: -16px; right: 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(245,166,35,.5);
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.stat-mini {
  background: rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s;
}
.stat-mini:hover { transform: translateY(-4px); }
.stat-mini .val {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-mini .lbl { font-size: .78rem; color: rgba(255,255,255,.6); margin-top: 2px; }

.progress-item { margin-bottom: 12px; }
.progress-item .pi-label { font-size: .82rem; color: rgba(255,255,255,.8); margin-bottom: 5px; display: flex; justify-content: space-between; }
.progress-bar-bg { background: rgba(255,255,255,.1); border-radius: 10px; height: 8px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--gold), #ffdd88); transition: width 1.5s ease; }

/* Floating badges on hero */
.float-badge {
  position: absolute;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
}
.float-badge-1 { top: -30px; left: -30px; animation-delay: 0s; }
.float-badge-2 { bottom: -20px; right: -20px; animation-delay: 1.5s; }
.float-badge .icon-sm { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .9rem; }

/* ---- Scroll indicator ---- */
.scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.scroll-indicator a { color: rgba(255,255,255,.5); font-size: 1.3rem; text-decoration: none; }

/* ---- Section Styles ---- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  margin: 0;
}

/* ---- Feature Cards ---- */
.features-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: linear-gradient(180deg, #050a1a 0%, #0a1628 100%);
}
.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.section-desc { color: rgba(255,255,255,.6); font-size: 1rem; max-width: 500px; }

.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .4s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(245,166,35,.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.feature-card h5 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ---- CEK KELULUSAN big CTA section ---- */
.cek-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: linear-gradient(135deg, #0a1628 0%, #0f2044 100%);
}
.cek-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cek-card-main {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245,166,35,.2);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cek-card-main::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}
.cek-icon-big {
  width: 100px; height: 100px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(245,166,35,.2), rgba(245,166,35,.1));
  border: 2px solid rgba(245,166,35,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin: 0 auto 28px;
  animation: float 3s ease-in-out infinite;
}
.cek-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cek-desc { color: rgba(255,255,255,.65); font-size: 1rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.btn-cek-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gold), #f76b1c);
  color: #fff;
  border: none;
  padding: 18px 48px;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .3s;
  box-shadow: 0 10px 40px rgba(245,166,35,.45);
  position: relative;
  overflow: hidden;
}
.btn-cek-big::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .5s;
}
.btn-cek-big:hover::before { left: 100%; }
.btn-cek-big:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(245,166,35,.55);
  color: #fff;
}

/* Steps */
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}
.step-num {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h6 { color: #fff; font-weight: 700; margin-bottom: 4px; }
.step-content p { color: rgba(255,255,255,.55); font-size: .88rem; margin: 0; }

/* ---- Stats row ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 70px 0;
  position: relative;
  z-index: 1;
}
.stat-box {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-box:last-child { border-right: none; }
.stat-box .number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-box .label { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: 6px; font-weight: 500; }

/* ---- Footer ---- */
.landing-footer {
  background: #030712;
  padding: 50px 0 30px;
  position: relative;
  z-index: 1;
}
.footer-brand { font-size: 1.4rem; font-weight: 800; color: var(--gold); margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .88rem; display: block; margin-bottom: 8px; transition: color .3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; margin-top: 40px; }
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .82rem; margin: 0; }

/* ================================================================
   ADMIN PANEL
   ================================================================ */
.admin-body {
  background: #f0f4f8;
  min-height: 100vh;
}

/* ---- Sidebar ---- */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: linear-gradient(180deg, #1a237e 0%, #0d1757 100%);
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 4px; }

.sidebar-brand {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-brand .brand-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(245,166,35,.4);
}
.sidebar-brand .brand-name { font-size: 1rem; font-weight: 800; color: #fff; line-height: 1.2; }
.sidebar-brand .brand-sub { font-size: .7rem; color: rgba(255,255,255,.5); font-weight: 400; }

.sidebar-menu { padding: 16px 0; flex: 1; }
.menu-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  padding: 12px 24px 6px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: all .25s;
  position: relative;
  border-radius: 0;
  margin: 1px 12px;
  border-radius: 10px;
}
.sidebar-link:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.sidebar-link.active {
  background: linear-gradient(135deg, rgba(245,166,35,.25), rgba(245,166,35,.12));
  color: var(--gold);
  border: 1px solid rgba(245,166,35,.2);
}
.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 20px;
  background: var(--gold);
  border-radius: 0 4px 4px 0;
}
.sidebar-link .link-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  background: rgba(255,255,255,.07);
}
.sidebar-link.active .link-icon { background: rgba(245,166,35,.2); }

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.user-info-sidebar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-avatar {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.user-info-sidebar .name { font-size: .85rem; font-weight: 600; color: #fff; line-height: 1.2; }
.user-info-sidebar .role { font-size: .72rem; color: rgba(255,255,255,.45); }

/* ---- Main Content ---- */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Topbar ---- */
.topbar {
  background: #fff;
  padding: 16px 28px;
  border-bottom: 1px solid #e8edf5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.04);
}
.topbar-title { font-size: 1.2rem; font-weight: 700; color: #1e293b; }
.topbar-title small { font-size: .78rem; color: #94a3b8; font-weight: 400; display: block; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid #e8edf5;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}
.topbar-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 6px 14px 6px 6px;
  cursor: pointer;
}
.user-chip .chip-avatar {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
}
.user-chip .chip-name { font-size: .82rem; font-weight: 600; color: #1e293b; }

/* ---- Page Content Area ---- */
.page-content {
  padding: 28px;
  flex: 1;
}

/* ---- Dashboard Stats Cards ---- */
.stat-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #e8edf5;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
}
.stat-card.blue::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.stat-card.green::before { background: linear-gradient(90deg, #22c55e, #4ade80); }
.stat-card.gold::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.stat-card.red::before { background: linear-gradient(90deg, #ef4444, #f87171); }
.stat-card.purple::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,.1); }
.stat-card .card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.stat-card.blue .card-icon { background: #eff6ff; color: #3b82f6; }
.stat-card.green .card-icon { background: #f0fdf4; color: #22c55e; }
.stat-card.gold .card-icon { background: #fffbeb; color: #f59e0b; }
.stat-card.red .card-icon { background: #fef2f2; color: #ef4444; }
.stat-card.purple .card-icon { background: #f5f3ff; color: #8b5cf6; }
.stat-card .card-value { font-size: 2rem; font-weight: 800; color: #1e293b; line-height: 1; margin-bottom: 4px; }
.stat-card .card-label { font-size: .82rem; color: #94a3b8; font-weight: 500; }
.stat-card .card-change { font-size: .78rem; font-weight: 600; margin-top: 10px; }
.stat-card .card-change.up { color: #22c55e; }
.stat-card .card-change.down { color: #ef4444; }

/* ---- Admin Content Cards ---- */
.content-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8edf5;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,.04);
}
.content-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.content-card-header h5 { font-size: 1rem; font-weight: 700; color: #1e293b; margin: 0; }
.content-card-body { padding: 24px; }

/* ---- Tables ---- */
.table-custom { border-collapse: separate; border-spacing: 0; }
.table-custom th {
  background: #f8fafc;
  color: #64748b;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 14px 16px;
  border-bottom: 2px solid #e8edf5;
  border-top: none;
}
.table-custom td {
  padding: 14px 16px;
  vertical-align: middle;
  color: #374151;
  font-size: .9rem;
  border-bottom: 1px solid #f1f5f9;
}
.table-custom tr:hover td { background: #f8fafc; }
.table-custom tr:last-child td { border-bottom: none; }

/* ---- Badges ---- */
.badge-lulus { background: #dcfce7; color: #166534; padding: 5px 12px; border-radius: 30px; font-size: .78rem; font-weight: 700; }
.badge-tidak-lulus { background: #fee2e2; color: #991b1b; padding: 5px 12px; border-radius: 30px; font-size: .78rem; font-weight: 700; }
.badge-belum { background: #fef9c3; color: #713f12; padding: 5px 12px; border-radius: 30px; font-size: .78rem; font-weight: 700; }

/* ---- Action Buttons ---- */
.btn-action {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.btn-action.view { background: #eff6ff; color: #3b82f6; }
.btn-action.edit { background: #fffbeb; color: #f59e0b; }
.btn-action.delete { background: #fef2f2; color: #ef4444; }
.btn-action:hover { transform: scale(1.1); }
.btn-action.view:hover { background: #3b82f6; color: #fff; }
.btn-action.edit:hover { background: #f59e0b; color: #fff; }
.btn-action.delete:hover { background: #ef4444; color: #fff; }

/* ---- Forms ---- */
.form-label { font-size: .85rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-control, .form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .9rem;
  color: #1e293b;
  transition: all .2s;
  background-color: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,35,126,.1);
  outline: none;
}
.form-control::placeholder { color: #c0ccd8; }

/* ---- Buttons ---- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  transition: all .3s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,35,126,.35);
  color: #fff;
}
.btn-gold-custom {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  transition: all .3s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn-gold-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,166,35,.4);
  color: #fff;
}

/* ---- Login Page ---- */
.login-body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  background: rgba(255,255,255,.97);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  overflow: hidden;
  width: 100%;
  max-width: 440px;
}
.login-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 40px 36px 32px;
  text-align: center;
  color: #fff;
}
.login-header .logo {
  width: 70px; height: 70px;
  border-radius: 20px;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  border: 2px solid rgba(255,255,255,.25);
}
.login-header h4 { font-size: 1.35rem; font-weight: 800; margin-bottom: 4px; }
.login-header p { font-size: .85rem; opacity: .75; margin: 0; }
.login-body-inner { padding: 36px; }
.login-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  transition: all .3s;
  cursor: pointer;
}
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(26,35,126,.4); }
.login-footer-link { text-align: center; margin-top: 20px; font-size: .85rem; color: #64748b; }
.login-footer-link a { color: var(--primary); font-weight: 600; text-decoration: none; }

/* ---- Cek Kelulusan Public Page ---- */
.cek-body {
  background: linear-gradient(135deg, #0f2027, #203a43, #1a237e);
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}
.cek-page-card {
  background: rgba(255,255,255,.97);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  max-width: 700px;
  width: 100%;
}
.cek-page-header {
  background: linear-gradient(135deg, #1a237e, #283593);
  padding: 40px 40px 30px;
  text-align: center;
  color: #fff;
}
.result-lulus {
  background: linear-gradient(135deg, #dcfce7, #f0fdf4);
  border: 2px solid #22c55e;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
.result-tidak {
  background: linear-gradient(135deg, #fee2e2, #fef2f2);
  border: 2px solid #ef4444;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
.result-icon { font-size: 4rem; margin-bottom: 12px; display: block; }
.result-status { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }

/* ---- Print Styles ---- */
@media print {
  .sidebar, .topbar, .no-print { display: none !important; }
  .main-content { margin-left: 0 !important; }
  body { background: #fff !important; }
  .content-card { box-shadow: none !important; border: 1px solid #ddd !important; }
  .print-header { display: block !important; }
}
.print-header { display: none; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .6s ease both; }
.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .2s; }
.animate-delay-3 { animation-delay: .3s; }
.animate-delay-4 { animation-delay: .4s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.show { transform: translateX(0); }
  .main-content { margin-left: 0 !important; }
  .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-box:last-child { border-bottom: none; }
}
@media (max-width: 576px) {
  .hero-actions { flex-direction: column; }
  .btn-cek, .btn-outline-gold { justify-content: center; }
  .cek-card-main { padding: 36px 24px; }
  .page-content { padding: 16px; }
}
