/* =====================================================================
   PORTAL SISTEM ADMINISTRASI FEBI UIN SMART
   Sidebar + topbar + dashboard mahasiswa & alumni (mengikuti template)
   Semua kelas memakai awalan "px-" agar tidak bentrok dengan Tailwind/
   Bootstrap yang dipakai halaman lain.
   ===================================================================== */
:root {
  --px-green-900: #08331f;
  --px-green-800: #0b3d26;
  --px-green-700: #10502f;
  --px-green-600: #1b7a43;
  --px-green-500: #22914f;
  --px-green-100: #e7f5ec;
  --px-gold: #f2c230;
  --px-ink: #1f2937;
  --px-ink-2: #374151;
  --px-muted: #6b7280;
  --px-muted-2: #9ca3af;
  --px-line: #eceff3;
  --px-bg: #f4f6f8;
  --px-card: #ffffff;
  --px-sidebar-w: 246px;
  --px-radius: 12px;
}

body.px-body {
  margin: 0;
  background: var(--px-bg) !important;
  color: var(--px-ink);
  font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.px-body *, .px-body *::before, .px-body *::after { box-sizing: border-box; }
.px-ic { flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* ============================== SIDEBAR ============================== */
.px-sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 1040;
  width: var(--px-sidebar-w);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0c4029 0%, #0a3722 55%, #082f1d 100%);
  color: #fff;
  transition: transform .3s ease, width .3s ease;
}
.px-brand {
  display: flex; align-items: center; gap: 10px;
  height: 100px; padding: 0 18px 0 30px; text-decoration: none !important; flex-shrink: 0;
}
.px-brand img { width: 54px; height: 54px; object-fit: contain; }
.px-brand-text { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: .2px; white-space: nowrap; }
.px-brand-text b { color: var(--px-gold); font-weight: 800; }

.px-nav { flex: 1; overflow-y: auto; padding: 8px 14px 8px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.px-nav::-webkit-scrollbar { width: 5px; }
.px-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 9px; }

.px-nav-label {
  margin: 19px 3px 7px; font-size: 11px; font-weight: 600; letter-spacing: .6px;
  color: rgba(255,255,255,.62); text-transform: uppercase;
}
.px-link {
  display: flex; align-items: center; gap: 10px;
  min-height: 33px; padding: 6px 2px 6px 13px; margin: 1px 0;
  border-radius: 8px; color: rgba(255,255,255,.93) !important; text-decoration: none !important;
  font-size: 12.3px; font-weight: 500; line-height: 1.3; letter-spacing: -.25px;
  transition: background .18s ease;
}
.px-link > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-link .px-chev { opacity: .75; width: 14px; height: 14px; }
.px-link:hover { background: rgba(255,255,255,.07); }
.px-link.is-active:not(.px-link-dash) { background: rgba(255,255,255,.1); }
.px-link-dash {
  min-height: 40px; margin: 0 2px 4px; padding: 9px 14px; gap: 14px;
  background: var(--px-green-600); font-size: 14.5px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.px-link-dash:hover { background: var(--px-green-500); }
.px-link-dash:not(.is-active) { background: transparent; box-shadow: none; }
.px-link-dash:not(.is-active):hover { background: rgba(255,255,255,.07); }
.px-link.is-locked { opacity: .55; cursor: not-allowed; }
.px-link-web { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0 0 8px 8px; padding-top: 12px; }
.px-badge-new {
  font-style: normal; font-size: 10px; font-weight: 700; line-height: 1;
  padding: 4px 9px; border-radius: 5px; background: var(--px-green-500); color: #fff;
}

.px-helpcard {
  display: flex; align-items: center; gap: 14px; text-align: left;
  margin: 8px 16px 20px; padding: 15px 16px; flex-shrink: 0;
  background: transparent; color: #fff; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); border-radius: 8px; font: inherit;
  transition: background .2s;
}
.px-helpcard:hover { background: rgba(255,255,255,.06); }
.px-helpcard strong { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.px-helpcard small { display: block; font-size: 10.5px; line-height: 1.45; color: rgba(255,255,255,.85); }

/* ============================== MAIN / TOPBAR ============================== */
.px-main { margin-left: var(--px-sidebar-w); min-height: 100vh; display: flex; flex-direction: column; transition: margin-left .3s ease; }
.px-topbar {
  position: sticky; top: 0; z-index: 1030;
  display: flex; align-items: center; gap: 16px;
  height: 74px; padding: 0 22px 0 32px;
  background: #fff; border-bottom: 1px solid var(--px-line);
}
.px-burger { display: none; border: 0; background: transparent; color: var(--px-ink); padding: 6px; border-radius: 8px; cursor: pointer; }
.px-burger:hover { background: #f1f3f5; }
.px-topbar-title { flex: 1; min-width: 0; }
.px-topbar-title h1 { margin: 0 0 4px; font-size: 19px; font-weight: 600; color: #111827; line-height: 1.2; letter-spacing: -.1px; }
.px-topbar-title p { margin: 0; font-size: 12.5px; color: #4b5563; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-topbar-right { display: flex; align-items: center; gap: 20px; }
.px-icbtn {
  position: relative; display: inline-grid; place-items: center; width: 34px; height: 34px;
  border: 0; background: transparent; color: #1f2937 !important; border-radius: 50%; cursor: pointer; padding: 0;
}
.px-icbtn:hover { background: #f3f4f6; }
.px-dot {
  position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 9px; border: 2px solid #fff;
  background: #ef4444; color: #fff; font-size: 9px; font-weight: 700; line-height: 1;
}
.px-profile { position: relative; margin-left: 12px; }
.px-profile-btn { display: flex; align-items: center; gap: 12px; border: 0; background: transparent; cursor: pointer; padding: 0; font: inherit; color: inherit; }
.px-avatar {
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center; background: var(--px-green-700); color: #fff; font-weight: 700; font-size: 17px;
}
.px-avatar img { width: 100%; height: 100%; object-fit: cover; }
.px-profile-text { display: flex; flex-direction: column; text-align: left; line-height: 1.25; margin-right: 6px; }
.px-profile-text strong { font-size: 12.5px; font-weight: 600; color: #111827; }
.px-profile-text small { font-size: 10.5px; color: #4b5563; margin-top: 3px; }
.px-profile-chev { color: #374151; display: inline-flex; transition: transform .2s; }
.px-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); width: 230px; z-index: 9999;
  background: #fff; border: 1px solid var(--px-line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(15,23,42,.12);
}
.px-dropdown.hidden { display: none !important; }
.px-dropdown-head { padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid var(--px-line); }
.px-dropdown-head strong { display: block; font-size: 12.5px; color: #111827; }
.px-dropdown-head small { display: block; font-size: 11px; color: var(--px-muted); overflow: hidden; text-overflow: ellipsis; }
.px-dropdown a, .px-dropdown button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px;
  font: inherit; font-size: 12.5px; color: var(--px-ink-2) !important; text-decoration: none !important;
  background: transparent; border: 0; cursor: pointer; text-align: left;
}
.px-dropdown a:hover, .px-dropdown button:hover { background: #f8fafc; }
.px-dropdown form { margin: 0; border-top: 1px solid var(--px-line); }
.px-dropdown form button { color: #dc2626 !important; }

.px-content { flex: 1; padding: 16px 16px 20px; }

/* ============================== KARTU UMUM ============================== */
.px-card {
  background: var(--px-card); border: 1px solid var(--px-line); border-radius: var(--px-radius);
  box-shadow: 0 1px 2px rgba(16,24,40,.03);
}
.px-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.px-card-title { margin: 0; font-size: 14.5px; font-weight: 600; color: #111827; line-height: 1.3; }
.px-card-sub { margin: 5px 0 0; font-size: 10.5px; color: #4b5563; }
.px-more { font-size: 11px; font-weight: 600; color: var(--px-green-700) !important; text-decoration: none !important; white-space: nowrap; }
.px-more:hover { text-decoration: underline !important; }

/* ============================== GRID DASHBOARD ============================== */
.px-dash { display: grid; grid-template-columns: minmax(0, 1fr) 362px; gap: 12px 10px; }
.px-dash-left { display: grid; gap: 12px; min-width: 0; }
.px-dash-right { display: grid; gap: 12px; grid-template-rows: auto 1fr; min-width: 0; }
.px-dash-bottom { display: grid; grid-template-columns: minmax(0, 1.74fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }

/* ---------- Hero ---------- */
.px-hero {
  position: relative; overflow: hidden; border-radius: var(--px-radius);
  min-height: 291px; padding: 40px 28px 30px;
  color: #fff; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(90deg, #0b3a24 0%, #0e4429 100%);
  isolation: isolate;
}
.px-hero::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 66%; z-index: -1;
  background: var(--px-hero-img) right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 34%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 34%);
}
.px-hero-kicker { margin: 0 0 12px; font-size: 17px; font-weight: 500; }
.px-hero-title { margin: 0 0 18px; font-size: 30px; font-weight: 600; line-height: 1.3; letter-spacing: -.2px; }
.px-hero-title b { color: var(--px-gold); font-weight: 700; }
.px-hero-desc { margin: 0 0 24px; max-width: 245px; font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.95); }
.px-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.px-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 15px;
  border-radius: 6px; font-size: 12.5px; font-weight: 600; text-decoration: none !important; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.px-btn-green { background: var(--px-green-600); color: #fff !important; border: 1px solid rgba(255,255,255,.35); }
.px-btn-green:hover { background: var(--px-green-500); transform: translateY(-1px); }
.px-btn-ghost { background: rgba(255,255,255,.06); color: #fff !important; border: 1px solid rgba(255,255,255,.75); }
.px-btn-ghost:hover { background: rgba(255,255,255,.14); }
.px-btn-dark { background: var(--px-green-800); color: #fff !important; border: 0; height: 30px; padding: 0 22px; border-radius: 5px; font-size: 12px; }
.px-btn-dark:hover { background: var(--px-green-600); }
.px-hero-dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(260px); display: flex; gap: 6px; }
.px-hero-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
.px-hero-dots i:first-child { background: #fff; }

/* ---------- Layanan cepat ---------- */
.px-quick { padding: 18px 14px 12px 16px; }
.px-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px 8px; margin-top: 16px; }
.px-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px;
  height: 99px; padding: 10px 3px; border: 1px solid var(--px-line); border-radius: 8px;
  text-align: center; text-decoration: none !important; color: #1f2937 !important;
  font-size: 9.3px; font-weight: 500; line-height: 1.25; letter-spacing: -.25px; white-space: nowrap;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.px-tile span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.px-tile:hover { border-color: #cfe7d8; box-shadow: 0 8px 18px rgba(16,80,47,.08); transform: translateY(-2px); }

/* ---------- Statistik ---------- */
.px-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.px-stat { display: flex; gap: 11px; padding: 18px 8px 18px 13px; min-height: 119px; min-width: 0; }
.px-stat-ic { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.px-stat-body { min-width: 0; }
.px-stat-label { margin: 2px 0 10px; font-size: 10.5px; color: #1f2937; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.15px; }
.px-stat-num { margin: 0 0 9px; font-size: 25px; font-weight: 500; color: #111827; line-height: 1; }
.px-stat-sub { margin: 0; font-size: 10px; color: #4b5563; }
.tone-green  { background: #e8f6ee; color: #1f9a52; }
.tone-blue   { background: #e9f1fd; color: #3b78e7; }
.tone-purple { background: #f0edfc; color: #7c64e4; }
.tone-orange { background: #fef1e4; color: #f08a24; }
.tone-teal   { background: #e3f6f5; color: #149e94; }

/* ---------- Pengumuman ---------- */
.px-news { padding: 18px 20px; }
.px-news-list { list-style: none; margin: 18px 0 0; padding: 0; }
.px-news-list li { display: flex; gap: 14px; padding: 6px 0 9px; }
.px-news-ic { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; color: #fff; }
.px-news-ic svg { width: 10px; height: 10px; }
.px-news-list a { display: block; font-size: 11px; font-weight: 500; color: #111827 !important; text-decoration: none !important; line-height: 1.45; }
.px-news-list a:hover { color: var(--px-green-600) !important; }
.px-news-list small { display: block; margin-top: 6px; font-size: 10px; color: #4b5563; }

/* ---------- Pengajuan & Jadwal ---------- */
.px-row2 { display: grid; grid-template-columns: minmax(0, .955fr) minmax(0, 1fr); gap: 10px; }
.px-req { padding: 16px 16px 12px; }
.px-tabs { display: flex; gap: 2px; margin: 14px 0 8px; border-bottom: 1px solid var(--px-line); }
.px-tab {
  padding: 4px 7px 10px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none;
  font: inherit; font-size: 10px; color: #4b5563; cursor: pointer;
}
.px-tab + .px-tab { margin-left: 10px; }
.px-tab.is-active { color: var(--px-green-700); font-weight: 600; border-bottom-color: var(--px-green-700); }
.px-req-list { border: 1px solid var(--px-line); border-radius: 8px; }
.px-req-item {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px 9px 10px;
  text-decoration: none !important; color: inherit !important;
}
.px-req-item + .px-req-item { border-top: 1px solid var(--px-line); }
.px-req-item:hover { background: #fafbfc; }
.px-req-item > .px-ic:first-child { color: #374151; }
.px-req-text { flex: 1; min-width: 0; }
.px-req-text strong { display: block; font-size: 11px; font-weight: 500; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-req-text small { display: block; margin-top: 5px; font-size: 9.5px; color: #4b5563; }
.px-pill { display: inline-block; padding: 5px 12px; border-radius: 4px; font-size: 9px; font-weight: 600; white-space: nowrap; }
.pill-green  { background: #e6f5ea; color: #2f8a46; }
.pill-orange { background: #fff0e3; color: #e3701b; }
.pill-blue   { background: #e7effd; color: #2f6fe0; }
.pill-red    { background: #fdeaea; color: #dc2626; }
.pill-gray   { background: #f1f3f5; color: #6b7280; }
.pill-indigo { background: #edeefe; color: #5b5fd6; }
.px-req-empty { padding: 26px 12px; text-align: center; font-size: 11.5px; color: var(--px-muted); }

.px-sched { padding: 16px 18px 12px 16px; }
.px-sched-list { margin-top: 12px; }
.px-sched-item { display: flex; align-items: flex-start; gap: 28px; padding: 9px 0 9px; }
.px-sched-item + .px-sched-item { border-top: 1px solid var(--px-line); }
.px-date {
  width: 43px; flex-shrink: 0; padding: 7px 0 6px; text-align: center;
  border: 1px solid var(--px-line); border-radius: 6px; background: #fbfcfd;
}
.px-date b { display: block; font-size: 15px; font-weight: 600; color: #111827; line-height: 1.1; }
.px-date small { display: block; margin-top: 3px; font-size: 8.5px; font-weight: 500; color: #374151; text-transform: uppercase; }
.px-sched-body { flex: 1; min-width: 0; }
.px-sched-body strong { display: block; font-size: 11.5px; font-weight: 500; color: #111827; }
.px-sched-body span { display: block; margin-top: 5px; font-size: 9.5px; color: #4b5563; }
.px-sched-body em { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-style: normal; font-size: 9.5px; color: #374151; }
.px-sched-item .px-pill { margin-top: 10px; padding: 4px 10px; }

/* ---------- Daftar alumni ---------- */
.px-alumni { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); overflow: hidden; min-height: 196px; }
.px-alumni-left { padding: 14px 16px 14px; position: relative; z-index: 2; display: flex; flex-direction: column; }
.px-alumni-title { margin: 0; font-size: 14.5px; font-weight: 600; color: #111827; }
.px-alumni-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px; margin: 20px 0 16px; }
.px-alumni-stats small { display: block; font-size: 9.5px; color: #111827; }
.px-alumni-stats b { display: block; margin: 10px 0 8px; font-size: 22px; font-weight: 500; color: #111827; line-height: 1; }
.px-alumni-stats span { display: block; font-size: 9.5px; color: #374151; }
.px-alumni-left .px-btn { margin-top: auto; align-self: flex-start; height: 26px; }
.px-alumni-right {
  position: relative; display: grid; grid-template-columns: 212px minmax(0, 1fr); align-items: center;
  background: radial-gradient(ellipse 80% 120% at 100% 50%, #f3f6f2 0%, #ffffff 70%);
}
.px-alumni-right img { width: 212px; height: 186px; object-fit: cover; align-self: end; mix-blend-mode: multiply; }
.px-alumni-copy { padding: 18px 14px 18px 12px; }
.px-alumni-copy p:first-child { margin: 0 0 8px; font-size: 13px; color: var(--px-green-800); }
.px-alumni-copy h4 { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: var(--px-green-900); }
.px-alumni-copy p:last-child { margin: 0; font-size: 10px; line-height: 1.8; color: #374151; }

/* ---------- Kartu anggota alumni ---------- */
.px-kartu { position: relative; overflow: hidden; padding: 14px 16px 12px; min-height: 196px; }
.px-kartu::after {
  content: ""; position: absolute; right: -40px; top: -10px; width: 170px; height: 220px; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 60% 35%, rgba(27,122,67,.07), transparent 70%),
    radial-gradient(ellipse 50% 35% at 70% 80%, rgba(27,122,67,.06), transparent 70%);
}
.px-kartu-row { display: flex; align-items: flex-end; gap: 12px; margin-top: 12px; position: relative; z-index: 1; }
.px-idcard {
  position: relative; width: 296px; max-width: 100%; height: 132px; flex-shrink: 1; min-width: 250px;
  display: grid; grid-template-columns: 50px 1fr; gap: 0;
  background: #fff; border: 1px solid #e3e7ec; border-radius: 6px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(15,23,42,.08);
}
.px-idcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: linear-gradient(180deg, #1b7a43, #0b3d26); }
.px-idcard-logo { display: flex; flex-direction: column; align-items: center; padding: 12px 0 0 9px; }
.px-idcard-logo img { width: 34px; height: 34px; object-fit: contain; }
.px-idcard-logo small { margin-top: 2px; font-size: 5px; font-weight: 700; color: var(--px-green-700); letter-spacing: .2px; }
.px-idcard-main { position: relative; padding: 14px 10px 8px 4px; }
.px-idcard-head { font-size: 7.5px; line-height: 1.55; font-weight: 600; color: #111827; text-transform: uppercase; }
.px-idcard-head b { display: block; font-weight: 700; }
.px-idcard-data { margin-top: 10px; display: grid; gap: 5px; }
.px-idcard-data div { display: flex; align-items: center; gap: 5px; font-size: 7.5px; color: #111827; }
.px-idcard-data div:first-child { font-size: 10px; font-weight: 700; }
.px-idcard-data .px-ic { color: #e2a616; }
.px-idcard-qr { position: absolute; right: 10px; top: 46px; width: 42px; height: 42px; }
.px-idcard-bar { position: absolute; right: 10px; bottom: 8px; width: 80px; text-align: center; }
.px-idcard-bar svg { display: block; width: 80px; height: 15px; }
.px-idcard-bar small { display: block; margin-top: 1px; font-size: 5px; letter-spacing: .3px; color: #374151; }
.px-kartu-row .px-btn { margin-left: auto; height: 26px; padding: 0 14px; font-size: 11.5px; flex-shrink: 0; }

/* Tombol chat melayang lama disembunyikan: Pusat Bantuan dibuka dari kartu di sidebar / ikon (?) */
.px-body .btn-help-float { display: none !important; }
.px-body .chat-box-float { left: calc(var(--px-sidebar-w) + 16px); right: auto; bottom: 16px; }
@media (max-width: 991.98px) { .px-body .chat-box-float { left: 12px; right: 12px; } }

/* ============================== FOOTER LAMA (rapikan) ============================== */
.px-main > .footer-febi { margin: 0 !important; width: 100% !important; max-width: none !important; left: 0 !important; position: relative !important; }

/* ============================== ALERT KUNCI ALUMNI ============================== */
.px-lock-alert { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.45); align-items: center; justify-content: center; padding: 16px; }
.px-lock-box { background: #fff; border-radius: 16px; max-width: 360px; width: 100%; padding: 24px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.px-lock-ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: #fef3c7; color: #d97706; display: grid; place-items: center; }
.px-lock-box h5 { font-weight: 700; color: var(--px-green-900); font-size: 1rem; margin: 0 0 6px; }
.px-lock-box p { color: #6c757d; font-size: .85rem; margin: 0 0 4px; }
.px-lock-box .px-lock-menu { color: #94a3b8; font-size: .75rem; margin: 0 0 18px; }
.px-lock-box button { background: linear-gradient(135deg, #0b3d26, #1b7a43); color: #fff; border: 0; border-radius: 10px; padding: 9px 26px; font-weight: 600; font-size: .85rem; cursor: pointer; }

/* ============================== SIDEBAR DICIUTKAN (desktop) ============================== */
@media (min-width: 992px) {
  body.sidebar-collapse .px-sidebar { width: 76px; }
  body.sidebar-collapse .px-main { margin-left: 76px; }
  body.sidebar-collapse .px-brand { padding: 0; justify-content: center; }
  body.sidebar-collapse .px-brand-text,
  body.sidebar-collapse .px-nav-label,
  body.sidebar-collapse .px-link > span,
  body.sidebar-collapse .px-link .px-chev,
  body.sidebar-collapse .px-badge-new,
  body.sidebar-collapse .px-helpcard span { display: none; }
  body.sidebar-collapse .px-link { justify-content: center; padding: 10px; }
  body.sidebar-collapse .px-nav { padding: 8px 12px; }
  body.sidebar-collapse .px-helpcard { justify-content: center; margin: 10px 12px 20px; padding: 12px; }
}

/* ============================== RESPONSIF ============================== */
@media (max-width: 1360px) {
  .px-dash { grid-template-columns: minmax(0, 1fr) 320px; }
  .px-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .px-dash-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .px-dash { grid-template-columns: minmax(0, 1fr); }
  .px-dash-left, .px-dash-right { display: contents; }
  .px-hero { order: 1; } .px-quick { order: 2; } .px-stats { order: 3; } .px-row2 { order: 4; } .px-news { order: 5; }
  .px-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
  .px-sidebar { transform: translateX(-100%); box-shadow: 12px 0 40px rgba(0,0,0,.25); }
  body.sidebar-mobile-open .px-sidebar { transform: none; }
  .px-main { margin-left: 0; }
  .px-burger { display: inline-flex; }
  .px-topbar { padding: 0 14px; gap: 10px; }
  .px-overlay { position: fixed; inset: 0; z-index: 1035; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: .25s; }
  body.sidebar-mobile-open .px-overlay { opacity: 1; visibility: visible; }
}
@media (max-width: 760px) {
  .px-topbar-title p, .px-profile-text, .px-profile-chev { display: none; }
  .px-topbar-title h1 { font-size: 16px; }
  .px-topbar-right { gap: 8px; }
  .px-profile { margin-left: 2px; }
  .px-avatar { width: 38px; height: 38px; }
  .px-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .px-hero { padding: 30px 20px; }
  .px-hero::before { width: 100%; opacity: .28; -webkit-mask-image: none; mask-image: none; }
  .px-hero-title { font-size: 25px; }
  .px-hero-dots { display: none; }
  .px-alumni { grid-template-columns: 1fr; }
  .px-alumni-stats { grid-template-columns: repeat(2, auto); }
  .px-alumni-right { grid-template-columns: 1fr; }
  .px-alumni-right img { margin: 0 auto; }
  .px-kartu-row { flex-direction: column; align-items: stretch; }
  .px-kartu-row .px-btn { margin-left: 0; justify-content: center; }
  .px-content { padding: 12px; }
}
@media (max-width: 420px) {
  .px-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .px-idcard { width: 100%; }
}
