html {
  scroll-behavior: smooth;
}
body {
  font-family: "Plus Jakarta Sans", "Montserrat", system-ui, sans-serif;
  color: #1a2140;
  background: #eaf4fd;
  overflow-x: hidden;
}
.bg-stage {
  display: none;
}

/* Hero — clean white card matching lulusnegeri.com landing feel */
.hero-card {
  position: relative;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 40px -20px rgba(14, 45, 130, 0.15);
  overflow: hidden;
}

.btn-primary {
  background: #0e2d82;
  color: #fff;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: #1a4ab8;
  box-shadow: 0 10px 24px -10px rgba(14, 45, 130, 0.45);
  transform: translateY(-1px);
}

.nice-scroll::-webkit-scrollbar {
  height: 6px;
}
.nice-scroll::-webkit-scrollbar-thumb {
  background: #d7def0;
  border-radius: 999px;
}

/* pill toggles */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #e2e8f5;
  background: #fff;
  color: #3a4770;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
  transition: all 0.15s ease;
  cursor: pointer;
  user-select: none;
}
.pill:hover {
  border-color: #0e2d82;
  color: #0e2d82;
}
.pill.active {
  background: #0e2d82;
  border-color: #0e2d82;
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(14, 45, 130, 0.4);
}
.pill.active-amber {
  background: #f5a623;
  border-color: #f5a623;
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(245, 166, 35, 0.45);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid #e1e7f5;
  border-radius: 16px;
  box-shadow: 0 22px 50px -14px rgba(14, 31, 91, 0.25);
  padding: 10px;
  z-index: 40;
  min-width: 300px;
  max-height: 340px;
  overflow: auto;
}

.card {
  background: #fff;
  border: 1px solid #e7ecf7;
  border-radius: 22px;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -18px rgba(14, 45, 130, 0.18);
  border-color: #c8d5f3;
}

.card-muted {
  opacity: 0.92;
  background: linear-gradient(180deg, #fafcff 0%, #f2f7fd 100%);
}
.card-closed {
  opacity: 0.62;
}

/* PTN / Poltek logo badge — real institutional logo on a neutral white tile */
.ptn-mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e7ecf7;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px -2px rgba(14, 31, 91, 0.08);
}
.ptn-mono img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
.ptn-mono.small {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}
.ptn-mono.small img {
  padding: 3px;
}
.ptn-mono.fallback {
  background: linear-gradient(135deg, #1b4dc8 0%, #0e2d82 100%);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: -0.01em;
  border: none;
}
.ptn-mono.fallback.small {
  font-size: 9.5px;
}

.kampus-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eaf4fd;
  color: #0e2d82;
  border: 1px solid rgba(14, 45, 130, 0.2);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.st-verif {
  background: #c6efce;
  color: #006100;
}
.st-tenta {
  background: #ffeb9c;
  color: #9c5700;
}
.st-belum {
  background: #d9d9d9;
  color: #595959;
}
.st-selesai {
  background: #fce4d6;
  color: #9c0006;
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  color: #3a4770;
}
.countdown.urgent {
  color: #c7770e;
  background: #fff4e0;
  padding: 3px 9px;
  border-radius: 999px;
}
.countdown.muted {
  color: #8a93af;
  font-weight: 500;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 8px;
  background: #f2f5fc;
  color: #3a4770;
  font-size: 11px;
  font-weight: 500;
}

.mini-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.mini-table td {
  padding: 8px 10px;
  border-bottom: 1px dashed #e7ecf7;
}
.mini-table tr:last-child td {
  border-bottom: none;
}
.mini-table td:first-child {
  color: #5a6488;
  font-weight: 500;
  width: 42%;
}
.mini-table td:last-child {
  color: #0e1f5b;
  font-weight: 600;
  text-align: right;
}
.mini-table .muted {
  color: #8a93af;
  font-style: italic;
  font-weight: 500;
}

.section-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.sticky-filters.stuck {
  box-shadow: 0 10px 28px -18px rgba(14, 31, 91, 0.22);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
}
.check-row:hover {
  background: #f2f5fc;
}
.check-row input {
  accent-color: #1b4dc8;
  width: 16px;
  height: 16px;
}

.focus-ring:focus-within {
  border-color: #0e2d82 !important;
  box-shadow: 0 0 0 4px rgba(14, 45, 130, 0.12);
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

/* ========== Navbar (match lulusnegeri.com) ========== */
.nav-header {
  background: #fff;
  position: relative;
  z-index: 50;
}

.nav-link {
  position: relative;
  color: #0e2d82;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 2px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease;
  font-family: inherit;
}
.nav-link:hover {
  color: #1a4ab8;
}
.nav-link .chev {
  transition: transform 0.2s ease;
}
.nav-dropdown.open > .nav-link .chev {
  transform: rotate(180deg);
}
.nav-dropdown.open > .nav-link::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: -16px;
  height: 2px;
  background: #0e2d82;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0e2d82;
  color: #fff;
  padding: 10px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.nav-cta:hover {
  background: #1a4ab8;
  box-shadow: 0 10px 24px -10px rgba(14, 45, 130, 0.4);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  background: #fff;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 20px 44px -12px rgba(14, 45, 130, 0.18);
  min-width: 260px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0s linear 0.15s;
  z-index: 60;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.nav-dropdown-item {
  display: block;
  padding: 14px 22px;
  color: #1a2140;
  font-size: 15px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.nav-dropdown-item:hover {
  background: #f5f7fb;
  color: #0e2d82;
}

.nav-hamburger {
  padding: 8px;
  color: #0e2d82;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}
.nav-hamburger:hover {
  background: #f5f7fb;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    visibility 0s linear 0.2s;
  overflow-y: auto;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eef1f7;
}
.mobile-menu-close {
  padding: 8px;
  color: #1a4ab8;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}
.mobile-menu-list {
  display: flex;
  flex-direction: column;
}
.mobile-menu-item {
  display: block;
  padding: 18px 20px;
  color: #1a2140;
  font-size: 16px;
  border-bottom: 1px solid #eef1f7;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.mobile-menu-item:hover {
  background: #f8fafe;
}
.mobile-menu-item.active {
  color: #1a4ab8;
  background: #f5f7fb;
  font-weight: 500;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .card {
    border-radius: 18px;
  }
  .mini-table td {
    padding: 7px 8px;
    font-size: 12px;
  }
  .hero-card {
    border-radius: 24px;
  }
  .logo-img {
    height: 28px;
  }
}
