/* =========================================================
  SMART INTERACTIVE - DASHBOARD CSS
  Lokasi file: ./css/dashboard.css

  UPDATE STYLE WARNA:
  - Menggunakan nuansa neumorphism biru seperti proyek acuan.
  - Fokus perubahan hanya warna, shadow, surface, gradient, dan aksen.
  - Layout topbar, sidebar, konten, card, dan jarak yang sudah berhasil tetap dipertahankan.

  CATATAN:
  - HTML sudah disesuaikan untuk menghapus gambar hero9.png.
  - CSS ini tetap aman meskipun elemen clinical-visual-media masih tertinggal.
  - Panduan akses layanan klinis memakai 3 step card horizontal:
    Step 1 Pilih Instansi, Step 2 Masukkan PIN, Step 3 Klik Masuk Layanan.
  - ID yang dipakai JS tetap aman:
    navAvatar, username, orgName, welcomeName

  UPDATE POPUP VALIDASI:
  - Popup validasi akses dibuat formal mengikuti tampilan splash loading.
  - Warna success/error/warning tidak lagi memakai hijau/merah mencolok.
  - Semua state memakai nuansa biru, slate, dan soft neumorphism.

  UPDATE STEP CARD ACCESS GUIDE:
  - Badge Step 1/2/3 dibuat center dan ukuran teks diperbesar.
  - Icon berada di kiri dan dibuat lebih besar.
  - Tinggi icon mengikuti area judul + deskripsi.
  - Jarak antara judul dan deskripsi dibuat lebih dekat.
  - Tidak perlu mengubah HTML.

  UPDATE SIDEBAR NOTIFICATION:
  - Menu Informasi dapat diberi class has-profile-alert dari dashboard.js.
  - Jika data profil belum lengkap, icon lonceng menjadi orange dan bergetar.
  - Berlaku untuk sidebar desktop dan bottom navbar mobile.

  UPDATE BANTUAN PIN:
  - Menambahkan style tombol Belum punya PIN dan Lupa PIN.
  - Tombol tampil di bawah tombol Masuk Layanan.
  - Redirect dikontrol oleh dashboard.js.
========================================================= */

/* =========================================================
  TIPOGRAFI SMART INTERACTIVE
  - Inter dipakai agar tampilan lebih formal, rapi, dan tidak terlalu tebal.
  - Tidak mengubah warna, layout, shadow, posisi, dan struktur.
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #fff2dc;
  --surface: #fff8ed;
  --surface2: #ffffff;

  --primary: #ff6551;
  --primary2: #ff8b36;
  --blue: #d6602a;
  --cyan: #ffc82d;

  --ink: #542b0f;
  --muted: #74583d;
  --muted2: #a18d7a;
  --line: rgba(164, 112, 58, .14);

  --danger: #d94a4a;
  --success: #47a77b;

  --primaryGrad:
    linear-gradient(
      180deg,
      #ffb28e 0%,
      #ff8b72 38%,
      #ff696a 70%,
      #ff5363 100%
    );

  --softGrad:
    linear-gradient(
      145deg,
      #fffdf9 0%,
      #fff3e2 100%
    );

  --cardGrad:
    linear-gradient(
      155deg,
      rgba(255,255,255,.98),
      rgba(255,248,237,.98)
    );

  --neu-out:
    12px 12px 26px rgba(174, 122, 58, .16),
    -12px -12px 26px rgba(255, 255, 255, .90);

  --neu-out-sm:
    7px 7px 16px rgba(174, 122, 58, .13),
    -7px -7px 16px rgba(255, 255, 255, .88);

  --neu-in:
    inset 8px 8px 16px rgba(174, 122, 58, .12),
    inset -8px -8px 16px rgba(255, 255, 255, .88);

  --neu-in-sm:
    inset 4px 4px 10px rgba(174, 122, 58, .10),
    inset -4px -4px 10px rgba(255, 255, 255, .86);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;

  --topbar-h: 76px;
  --sidebar-w: 88px;
  --bottom-nav-h: 78px;
}

/* =========================================================
  RESET
========================================================= */
* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(60, 156, 255, .18), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(56, 213, 255, .13), transparent 26%),
    linear-gradient(145deg, #F7FAFF 0%, #EEF2F7 45%, #E8EEF6 100%);
  overflow-x: hidden;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
input,
select {
  font-family: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

/* =========================================================
  TOPBAR / NAVBAR ATAS
========================================================= */
.navbar.dashboardTopbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-w);
  right: 0;
  min-height: var(--topbar-h);
  z-index: 50;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(238, 242, 247, .88));
  border-bottom: 1px solid rgba(255, 255, 255, .66);
  box-shadow:
    0 12px 28px rgba(148, 163, 184, .18),
    inset 0 -1px 0 rgba(255, 255, 255, .58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.dashboardTopbarLeft {
  min-width: 0;
}

.dashboardTopbarTitle {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 2.8vw, 27px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.dashboardTopbarSubtitle {
  margin: 4px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(11px, 1.6vw, 13px);
  font-weight: 500;
  line-height: 1.4;
}

.dashboardTopbarRight {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* =========================================================
  USER CARD KANAN
========================================================= */
.dashboardUserCard {
  min-width: 210px;
  max-width: 280px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 20px;
  padding: 8px 10px 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .74), rgba(238, 242, 247, .94));
  box-shadow: var(--neu-out-sm);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.dashboardUserCard:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 99, 255, .18);
  box-shadow:
    9px 9px 20px rgba(163, 177, 198, .30),
    -9px -9px 20px rgba(255, 255, 255, .88);
}

.dashboardUserCard:active {
  transform: translateY(0);
  box-shadow: var(--neu-in-sm);
}

.dashboardUserAvatarWrap {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 16px;
  padding: 4px;
  background: #EEF2F7;
  box-shadow: var(--neu-in-sm);
}

.dashboardUserAvatar {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 13px;
  object-fit: cover;
  background: #fff;
}

.dashboardUserText {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 2px;
  text-align: left;
}

.dashboardUserName {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.015em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dashboardUserMeta {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dashboardUserChevron {
  color: var(--muted2);
  font-size: 11px;
}

/* =========================================================
  SIDEBAR DESKTOP
========================================================= */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  z-index: 60;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(235, 241, 249, .92));
  border-right: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    13px 0 28px rgba(148, 163, 184, .20),
    inset -1px 0 0 rgba(255, 255, 255, .62);
}

.group-title {
  margin: 8px 0 2px;
  text-align: center;
  color: var(--muted2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.group-title-account {
  margin-top: auto;
}

.side-menu {
  display: grid;
  gap: 9px;
}

.side-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 20px;
  padding: 8px 4px;
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  transition:
    color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.side-btn i {
  font-size: 18px;
}

.side-btn span {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.side-btn:hover {
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .74), rgba(238, 242, 247, .88));
  box-shadow: var(--neu-out-sm);
  transform: translateY(-1px);
}

.side-btn.is-active,
.side-btn:focus-visible {
  outline: none;
  color: #fff;
  background: var(--primaryGrad);
  box-shadow:
    0 14px 26px rgba(11, 99, 255, .28),
    inset 0 1px 0 rgba(255, 255, 255, .30);
}

#sbLogout:hover {
  color: var(--danger);
}

/* =========================================================
  SIDEBAR INFORMATION ALERT
  Dipakai oleh dashboard.js:
  - Jika 6. Sidebar.gs memberi notify:true
  - #sbInfo dan #toInfo akan mendapat class has-profile-alert
  - Icon Informasi berubah orange dan bergetar
========================================================= */
.side-btn.has-profile-alert {
  position: relative;
  color: #f97316;
  background:
    linear-gradient(145deg, rgba(255, 247, 237, .94), rgba(255, 237, 213, .88));
  border: 1px solid rgba(251, 146, 60, .18);
  box-shadow:
    0 14px 26px rgba(249, 115, 22, .16),
    inset 0 1px 0 rgba(255, 255, 255, .72);
}

.side-btn.has-profile-alert i {
  color: #f97316;
  transform-origin: 50% 4px;
  animation: smartInteractiveBellShake 1.15s ease-in-out infinite;
}

.side-btn.has-profile-alert span {
  color: #ea580c;
}

.side-btn.has-profile-alert::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 13px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f97316;
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, .14),
    0 0 16px rgba(249, 115, 22, .34);
}

.side-btn.has-profile-alert:hover {
  color: #ea580c;
  background:
    linear-gradient(145deg, rgba(255, 247, 237, .98), rgba(254, 215, 170, .92));
  box-shadow:
    0 16px 30px rgba(249, 115, 22, .20),
    inset 0 1px 0 rgba(255, 255, 255, .78);
}

@keyframes smartInteractiveBellShake {
  0%, 100% {
    transform: rotate(0deg);
  }

  12% {
    transform: rotate(13deg);
  }

  24% {
    transform: rotate(-12deg);
  }

  36% {
    transform: rotate(9deg);
  }

  48% {
    transform: rotate(-7deg);
  }

  60% {
    transform: rotate(4deg);
  }

  72% {
    transform: rotate(0deg);
  }
}















/* =========================================================
  CONTENT CONTAINER
========================================================= */
.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  margin-left: var(--sidebar-w);
  padding: calc(var(--topbar-h) + 20px) 22px 36px;
}

/* =========================================================
  WELCOME CARD
========================================================= */
.ask-card {
  width: 100%;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border-radius: var(--radius-xl);
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(60, 156, 255, .98), rgba(11, 99, 255, .96) 55%, rgba(0, 71, 217, .96));
  color: #fff;
  box-shadow:
    16px 16px 34px rgba(11, 99, 255, .20),
    -12px -12px 28px rgba(255, 255, 255, .78),
    inset 0 1px 0 rgba(255, 255, 255, .26);
  overflow: hidden;
  position: relative;
}

.ask-card::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -90px;
  top: -100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.ask-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  left: 38%;
  bottom: -105px;
  border-radius: 50%;
  background: rgba(56, 213, 255, .15);
}

.ask-card > i {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 24px;
  background: rgba(255, 255, 255, .16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .28),
    0 10px 20px rgba(0, 37, 100, .16);
}

.ask-card .text {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
}

.ask-card .title {
  font-size: clamp(18px, 3vw, 25px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.ask-card .subtitle {
  margin-top: 5px;
  max-width: none;
  width: 100%;
  font-size: clamp(12px, 1.7vw, 14px);
  line-height: 1.45;
  color: rgba(255, 255, 255, .84);
  font-weight: 500;
}

.greet-name {
  color: #fff;
}

/* =========================================================
  SECTION HEADING
========================================================= */
.dashboard-section {
  margin-top: 12px;
}

.support-section {
  margin-top: 18px;
  margin-bottom: 22px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.menu-heading {
  margin: 0;
  font-size: clamp(17px, 3.8vw, 22px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}

.menu-subheading {
  margin-top: 3px;
  max-width: none;
  width: 100%;
  font-size: clamp(12px, 2.8vw, 14px);
  line-height: 1.45;
  color: var(--muted);
}

.section-badge {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .045em;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(238, 242, 247, .92));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--neu-out-sm);
}

/* =========================================================
  MAIN ACCESS GRID
========================================================= */
.main-access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* =========================================================
  CLINICAL VISUAL CARD
========================================================= */
.clinical-visual-card {
  position: relative;
  min-height: 430px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(235, 241, 249, .96));
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: var(--neu-out);
}

.clinical-visual-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(60, 156, 255, .22), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(56, 213, 255, .18), transparent 24%),
    radial-gradient(circle at 76% 86%, rgba(11, 99, 255, .11), transparent 30%),
    linear-gradient(145deg, #F9FCFF 0%, #EEF4FB 100%);
}

.clinical-visual-bg::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 28px;
  border: 1px dashed rgba(11, 99, 255, .18);
  pointer-events: none;
}

.clinical-visual-bg::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -74px;
  bottom: -90px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(11, 99, 255, .18), rgba(60, 156, 255, .06) 52%, transparent 70%);
}

.clinical-visual-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(24px, 3.4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.clinical-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(238, 242, 247, .86));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--neu-out-sm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}

.clinical-visual-title {
  margin: 18px 0 0;
  max-width: none;
  width: 100%;
  color: var(--ink);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.045em;
}

.clinical-visual-content p {
  margin: 14px 0 0;
  max-width: none;
  width: 100%;
  color: var(--muted);
  font-size: clamp(13px, 1.7vw, 16px);
  line-height: 1.65;
  font-weight: 500;
}

.clinical-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.clinical-feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(238, 242, 247, .92));
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: var(--neu-out-sm);
}

.clinical-feature-list i {
  color: var(--success);
}

/* =========================================================
  SUPPORT MENU GRID
========================================================= */
.support-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.support-menu-card {
  min-height: 132px;
  padding: 18px;
  border-radius: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(235, 241, 249, .96));
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: var(--neu-out-sm);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.support-menu-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 99, 255, .18);
  box-shadow:
    13px 13px 28px rgba(163, 177, 198, .30),
    -13px -13px 28px rgba(255, 255, 255, .88);
}

.support-menu-card:active {
  transform: translateY(0);
  box-shadow: var(--neu-in-sm);
}

.support-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 21px;
  background:
    linear-gradient(145deg, #FFFFFF, #EAF0F8);
  box-shadow: var(--neu-out-sm);
}

.support-content {
  min-width: 0;
}

.item-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.item-desc {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.48;
  font-weight: 500;
}














/* =========================================================
  FOOTER MENU MOBILE / TABLET
========================================================= */
.footer-menu {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: var(--bottom-nav-h);
  z-index: 80;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 9px;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(235, 241, 249, .96));
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow:
    12px 12px 28px rgba(148, 163, 184, .28),
    -10px -10px 26px rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.footer-menu button {
  position: relative;
  border: 0;
  border-radius: 20px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  transition:
    color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.footer-menu button i {
  font-size: 18px;
}

.footer-menu button span {
  font-size: 10px;
  font-weight: 750;
}

.footer-menu button:hover {
  color: var(--blue);
}

.footer-menu button.is-active {
  color: #fff;
  background: var(--primaryGrad);
  box-shadow:
    0 12px 22px rgba(11, 99, 255, .24),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}

/* =========================================================
  BOTTOM NAV INFORMATION ALERT
  Dipakai oleh dashboard.js pada #toInfo.
========================================================= */
.footer-menu button.has-profile-alert {
  color: #f97316;
  background:
    linear-gradient(145deg, rgba(255, 247, 237, .94), rgba(255, 237, 213, .88));
  border: 1px solid rgba(251, 146, 60, .18);
  box-shadow:
    0 12px 22px rgba(249, 115, 22, .16),
    inset 0 1px 0 rgba(255, 255, 255, .72);
}

.footer-menu button.has-profile-alert i {
  color: #f97316;
  transform-origin: 50% 4px;
  animation: smartInteractiveBellShake 1.15s ease-in-out infinite;
}

.footer-menu button.has-profile-alert span {
  color: #ea580c;
}

.footer-menu button.has-profile-alert::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f97316;
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, .14),
    0 0 16px rgba(249, 115, 22, .34);
}

/* =========================================================
  SPLASH LOADING
========================================================= */
.splash {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity .22s ease,
    visibility .22s ease;
}

.splash[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(60, 156, 255, .18), transparent 34%),
    rgba(238, 242, 247, .74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.splash-card {
  position: relative;
  width: min(390px, calc(100vw - 34px));
  min-height: 220px;
  padding: 30px 26px 26px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(235, 241, 249, .96));
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow:
    22px 22px 50px rgba(148, 163, 184, .30),
    -18px -18px 44px rgba(255, 255, 255, .82),
    inset 1px 1px 0 rgba(255, 255, 255, .90);
  overflow: hidden;
}

.splash-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -125px;
  right: -88px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(11, 99, 255, .20), rgba(60, 156, 255, .07) 48%, transparent 72%);
  pointer-events: none;
}

.splash-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  left: -80px;
  bottom: -88px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(56, 213, 255, .16), rgba(11, 99, 255, .04) 48%, transparent 72%);
  pointer-events: none;
}

.splash-card-pro {
  min-height: 236px;
}

.splash-badge {
  position: relative;
  z-index: 1;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--blue);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(238, 242, 247, .94));
  border: 1px solid rgba(255, 255, 255, .76);
  box-shadow: var(--neu-out-sm);
  font-size: 12px;
  font-weight: 800;
}

.splash-sub {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

/* =========================================================
  GENERAL ANIMATIONS
========================================================= */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}













/* =========================================================
  RESPONSIVE - TABLET
========================================================= */
@media (max-width: 1100px) {
  .main-access-grid {
    grid-template-columns: 1fr;
  }

  .clinical-visual-card,
  .institution-access-card {
    min-height: auto;
  }

  .clinical-visual-content {
    min-height: 420px;
  }

  .support-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --topbar-h: 74px;
  }

  .navbar.dashboardTopbar {
    left: 0;
    padding: 11px 16px;
  }

  .dashboardTopbarSubtitle {
    display: none;
  }

  .dashboardUserCard {
    min-width: 176px;
    max-width: 212px;
    border-radius: 18px;
  }

  .dashboardUserAvatarWrap {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 15px;
  }

  .sidebar {
    display: none;
  }

  .container {
    margin-left: 0;
    padding:
      calc(var(--topbar-h) + 18px)
      16px
      calc(var(--bottom-nav-h) + 32px);
  }

  .footer-menu {
    display: grid;
  }
}

/* =========================================================
  RESPONSIVE - MOBILE
========================================================= */
@media (max-width: 680px) {
  .navbar.dashboardTopbar {
    min-height: 70px;
    gap: 10px;
  }

  .dashboardTopbarTitle {
    font-size: 20px;
  }

  .dashboardUserCard {
    min-width: 0;
    width: 156px;
    padding: 7px 8px 7px 7px;
  }

  .dashboardUserChevron {
    display: none;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ask-card {
    min-height: 82px;
    padding: 16px;
    border-radius: 24px;
  }

  .ask-card > i {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    font-size: 21px;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .main-access-grid {
    gap: 14px;
  }

  .clinical-visual-content {
    min-height: auto;
    padding: 22px;
  }

  .clinical-visual-title {
    font-size: 30px;
  }

  .clinical-access-step-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .clinical-access-step-line {
    width: 2px;
    height: 24px;
    margin: 0 auto;
    background:
      repeating-linear-gradient(
        180deg,
        rgba(11, 99, 255, .36) 0 7px,
        transparent 7px 13px
      );
  }

  .clinical-access-step-card {
    min-height: auto;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 12px;
  }

  .clinical-access-step-badge {
    justify-self: center;
    margin-bottom: 15px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .clinical-access-step-icon {
    width: 48px;
    min-height: 62px;
    height: 100%;
    border-radius: 17px;
    font-size: 22px;
  }

  .clinical-access-step-title {
    margin-bottom: 2px;
  }

  .clinical-access-step-desc {
    margin-top: 0;
    line-height: 1.38;
  }

  .support-menu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .support-menu-card {
    min-height: 116px;
    border-radius: 22px;
  }

  .footer-menu button.has-profile-alert::after {
    top: 8px;
    right: 16px;
    width: 8px;
    height: 8px;
  }
}

/* =========================================================
  ACCESS VALIDATION POPUP RESPONSIVE
========================================================= */
@media (max-width: 560px) {
  .access-validation-modal {
    padding: 18px;
  }

  .access-validation-dialog {
    width: min(100%, 380px);
    min-height: 274px;
    padding: 28px 22px 24px;
    border-radius: 28px;
  }

  .access-validation-icon-wrap {
    width: 96px;
    height: 96px;
    margin-bottom: 12px;
  }

  .access-validation-icon {
    width: 54px;
    height: 54px;
    border-radius: 19px;
    font-size: 23px;
  }

  .access-validation-spinner {
    width: 7px;
    height: 7px;
  }

  @keyframes accessValidationOrbit {
    0% {
      transform: rotate(0deg) translateY(-42px) rotate(0deg);
    }

    100% {
      transform: rotate(360deg) translateY(-42px) rotate(-360deg);
    }
  }

  .access-validation-title {
    font-size: 21px;
  }

  .access-validation-text {
    width: min(100%, 300px);
    font-size: 13.5px;
    line-height: 1.6;
  }

  .access-validation-actions {
    margin-top: 20px;
  }

  .access-validation-ok {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
  }

  .access-validation-close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }
}

/* =========================================================
  RESPONSIVE - SMALL MOBILE
========================================================= */
@media (max-width: 560px) {
  :root {
    --topbar-h: 72px;
    --bottom-nav-h: 76px;
  }

  .navbar.dashboardTopbar {
    padding: 10px 12px;
  }

  .dashboardTopbarLeft {
    max-width: 44%;
  }

  .dashboardTopbarTitle {
    font-size: 18px;
  }

  .dashboardUserCard {
    width: 148px;
    border-radius: 17px;
  }

  .dashboardUserAvatarWrap {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .dashboardUserName {
    font-size: 12px;
  }

  .dashboardUserMeta {
    font-size: 10px;
  }

  .container {
    padding-top: calc(var(--topbar-h) + 14px);
    padding-left: 12px;
    padding-right: 12px;
  }

  .ask-card {
    min-height: 78px;
    gap: 12px;
    padding: 14px;
  }

  .ask-card .title {
    font-size: 18px;
  }

  .ask-card .subtitle {
    font-size: 12px;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-badge {
    min-height: 30px;
    font-size: 11px;
  }

  .clinical-visual-card,
  .institution-access-card {
    border-radius: 22px;
  }

  .clinical-visual-card {
    min-height: auto;
  }

  .clinical-visual-content {
    padding: 20px;
  }

  .clinical-kicker {
    font-size: 11px;
  }

  .clinical-visual-title {
    font-size: 27px;
    letter-spacing: -.045em;
  }

  .clinical-visual-content p {
    font-size: 13px;
  }

  .clinical-feature-list {
    gap: 8px;
  }

  .clinical-feature-list span {
    min-height: 33px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .clinical-access-guide {
    margin-top: 18px;
    padding: 14px;
    border-radius: 20px;
  }

  .clinical-access-step-card {
    padding: 13px;
    border-radius: 18px;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 11px;
  }

  .clinical-access-step-badge {
    margin-bottom: 14px;
    padding: 6px 11px;
    font-size: 11.5px;
  }

  .clinical-access-step-icon {
    width: 44px;
    min-height: 58px;
    height: 100%;
    border-radius: 15px;
    font-size: 20px;
  }

  .clinical-access-step-title {
    font-size: 13.5px;
    margin-bottom: 2px;
    line-height: 1.2;
  }

  .clinical-access-step-desc {
    margin-top: 0;
    font-size: 11.5px;
    line-height: 1.34;
  }

  .institution-access-card {
    padding: 18px;
  }

  .access-card-head {
    gap: 11px;
  }

  .access-icon {
    width: 48px;
    height: 48px;
    border-radius: 17px;
  }

  .access-card-head h3 {
    font-size: 19px;
  }

  .access-card-head p {
    font-size: 12px;
  }

  .select-wrap select,
  .pin-wrap input {
    min-height: 50px;
    border-radius: 17px;
    font-size: 13px;
  }

  .access-submit-btn {
    min-height: 52px;
    border-radius: 17px;
  }




.access-pin-links {
  min-height: 28px;
  margin-top: 7px;
  gap: 10px;
}

.access-pin-link {
  padding: 4px 0;
  font-size: 12px;
}

.access-pin-separator {
  display: none;
}




  .support-menu-card {
    padding: 16px;
  }

  .support-icon {
    width: 48px;
    height: 48px;
    border-radius: 17px;
  }

  .footer-menu {
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: var(--bottom-nav-h);
    border-radius: 24px;
  }

  .footer-menu button.has-profile-alert::after {
    top: 8px;
    right: 14px;
    width: 7px;
    height: 7px;
  }
}

/* =========================================================
  RESPONSIVE - EXTRA SMALL
========================================================= */
@media (max-width: 390px) {
  .dashboardTopbarLeft {
    max-width: 40%;
  }

  .dashboardUserCard {
    width: 140px;
  }

  .dashboardUserText {
    gap: 1px;
  }

  .ask-card > i {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    font-size: 19px;
  }

  .clinical-visual-title {
    font-size: 25px;
  }

  .clinical-access-step-card {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 10px;
  }

  .clinical-access-step-icon {
    width: 42px;
    min-height: 56px;
    height: 100%;
    border-radius: 14px;
    font-size: 19px;
  }

  .clinical-access-step-badge {
    padding: 6px 10px;
    font-size: 11px;
  }

  .clinical-access-step-title {
    font-size: 13px;
    margin-bottom: 2px;
  }

  .clinical-access-step-desc {
    margin-top: 0;
    font-size: 11.2px;
    line-height: 1.32;
  }

  .access-card-head {
    flex-direction: column;
  }



  .access-pin-links {
    gap: 8px;
  }

  .access-pin-link {
    font-size: 11.8px;
  }



  .support-menu-card {
    gap: 12px;
  }

  .item-title {
    font-size: 14px;
  }

  .item-desc {
    font-size: 12px;
  }

  .access-validation-dialog {
    padding: 26px 18px 22px;
    border-radius: 26px;
  }

  .access-validation-title {
    font-size: 20px;
  }

  .access-validation-text {
    font-size: 13px;
  }

  .footer-menu button.has-profile-alert::after {
    top: 8px;
    right: 12px;
    width: 7px;
    height: 7px;
  }
}

/* =========================================================
  PRINT SAFE
========================================================= */
@media print {
  .navbar.dashboardTopbar,
  .sidebar,
  .footer-menu,
  .splash,
  .access-validation-modal {
    display: none !important;
  }

  body {
    background: #ffffff !important;
  }

  .container {
    margin: 0 !important;
    padding: 0 !important;
  }

  .ask-card,
  .clinical-visual-card,
  .institution-access-card,
  .support-menu-card {
    box-shadow: none !important;
    border: 1px solid #dbe3ef !important;
  }
}

/* =========================================================
  REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  .access-validation-dialog,
  .access-validation-ok,
  .access-validation-close,
  .access-pin-link {
    transition: none;
  }

  .access-validation-spinner {
    animation-duration: 1.4s;
  }

  /*
    Jika user/device memilih reduced motion,
    lonceng notifikasi tidak bergetar tetapi tetap orange.
  */
  .side-btn.has-profile-alert i,
  .footer-menu button.has-profile-alert i {
    animation: none !important;
    transform: none !important;
  }
}

/* =========================================================
  SMART INTERACTIVE - DASHBOARD THEME OVERRIDE
  VISUAL ONLY:
  - Tidak mengubah width/height/position/grid/flex/padding/margin.
  - Layout navbar atas dan sidebar desktop tetap persis.
  - Tidak mengubah ID/class/data-nav atau fungsi JavaScript.
========================================================= */

/* Global warm canvas + typography */
body {
  font-family:
    "Nunito",
    ui-rounded,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 16%, rgba(255,255,255,.84), transparent 21%),
    radial-gradient(circle at 84% 14%, rgba(255,224,185,.42), transparent 23%),
    linear-gradient(135deg, #fff1db 0%, #fff4e3 52%, #fff0da 100%);
}

/* =========================================================
  TOPBAR - layout asli dikunci, hanya skin.
========================================================= */
.navbar.dashboardTopbar {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.90),
      rgba(255,248,237,.94)
    );
  border-bottom-color: rgba(221, 174, 121, .18);
  box-shadow:
    0 12px 28px rgba(145, 95, 43, .10),
    inset 0 -1px 0 rgba(255,255,255,.86);
}

.dashboardTopbarTitle {
  color: var(--ink);
}

.dashboardTopbarSubtitle {
  color: var(--muted);
}

.dashboardUserCard {
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(255,220,169,.18), transparent 34%),
    linear-gradient(155deg, rgba(255,255,255,.96), rgba(255,248,237,.96));
  border-color: rgba(255,255,255,.92);
  box-shadow:
    0 10px 22px rgba(145,95,43,.11),
    inset 0 1px 0 rgba(255,255,255,.94);
}

.dashboardUserCard:hover {
  border-color: rgba(255, 101, 81, .20);
  box-shadow:
    0 13px 26px rgba(145,95,43,.14),
    inset 0 1px 0 rgba(255,255,255,.96);
}

.dashboardUserAvatarWrap {
  background: #fff1d7;
  box-shadow:
    inset 3px 3px 8px rgba(171,121,70,.08),
    inset -3px -3px 8px rgba(255,255,255,.90);
}

.dashboardUserName {
  color: var(--ink);
}

.dashboardUserMeta,
.dashboardUserChevron {
  color: var(--muted);
}

/* =========================================================
  SIDEBAR DESKTOP - struktur/posisi asli tidak diubah.
========================================================= */
.sidebar {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.94),
      rgba(255,247,234,.96)
    );
  border-right-color: rgba(221,174,121,.18);
  box-shadow:
    13px 0 28px rgba(145,95,43,.10),
    inset -1px 0 0 rgba(255,255,255,.90);
}

.group-title {
  color: var(--muted2);
}

.side-btn {
  color: var(--muted);
}

.side-btn:hover {
  color: #d6602a;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.92),
      rgba(255,241,222,.94)
    );
  box-shadow:
    7px 7px 16px rgba(174,122,58,.12),
    -7px -7px 16px rgba(255,255,255,.90);
}

.side-btn.is-active,
.side-btn:focus-visible {
  color: #fff;
  background: var(--primaryGrad);
  box-shadow:
    0 14px 26px rgba(255,91,86,.22),
    inset 0 1px 0 rgba(255,255,255,.38);
}

/* Notification tetap mudah dibedakan tetapi satu keluarga warna */
.side-btn.has-profile-alert,
.footer-menu button.has-profile-alert {
  color: #e76822;
  background:
    linear-gradient(
      145deg,
      rgba(255,248,237,.98),
      rgba(255,231,199,.94)
    );
  border-color: rgba(255,139,54,.20);
  box-shadow:
    0 12px 24px rgba(230,104,34,.14),
    inset 0 1px 0 rgba(255,255,255,.82);
}

/* =========================================================
  WELCOME CARD
  Warna hero login/index, tanpa mengubah layout card.
========================================================= */
.ask-card {
  color: var(--ink);
  background:
    radial-gradient(circle at 22% 28%, rgba(255,248,213,.46), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255,234,164,.25), transparent 24%),
    linear-gradient(155deg, #ffc82d 0%, #ffbd18 58%, #ffb20c 100%);
  border: 1px solid rgba(255,244,206,.38);
  box-shadow:
    0 24px 48px rgba(174,122,58,.16),
    0 8px 18px rgba(134,100,70,.08),
    inset 0 1px 0 rgba(255,255,255,.30);
}

.ask-card::before {
  background: rgba(255,255,255,.16);
}

.ask-card::after {
  background: rgba(255,101,81,.10);
}

.ask-card > i {
  color: #fff;
  background:
    linear-gradient(
      180deg,
      #ffb28e 0%,
      #ff696a 70%,
      #ff5363 100%
    );
  box-shadow:
    0 10px 20px rgba(157,75,35,.14),
    inset 0 1px 0 rgba(255,255,255,.46);
}

.ask-card .title {
  color: var(--ink);
}

.ask-card .subtitle {
  color: rgba(91,54,19,.72);
}

.greet-name {
  color: #ff5f52;
}

/* =========================================================
  SECTION HEADINGS / BADGES
========================================================= */
.menu-heading {
  color: var(--ink);
}

.menu-subheading {
  color: var(--muted);
}

.section-badge,
.clinical-kicker,
.splash-badge {
  color: #c85c0c;
  background: #fff2d8;
  border-color: rgba(255,202,100,.34);
  box-shadow: 0 8px 18px rgba(170,106,35,.08);
}

/* =========================================================
  MAIN CARDS
========================================================= */
.clinical-visual-card,
.institution-access-card,
.support-menu-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,220,169,.18), transparent 28%),
    linear-gradient(155deg, rgba(255,255,255,.97), rgba(255,248,237,.98));
  border-color: rgba(255,255,255,.92);
  box-shadow:
    0 22px 46px rgba(145,95,43,.12),
    0 7px 18px rgba(118,76,36,.06),
    inset 0 1px 0 rgba(255,255,255,.94);
}

.clinical-visual-bg {
  background:
    radial-gradient(circle at 16% 18%, rgba(255,199,84,.18), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(255,101,81,.10), transparent 24%),
    radial-gradient(circle at 76% 86%, rgba(255,183,25,.12), transparent 30%),
    linear-gradient(145deg, #fffdf9 0%, #fff4e5 100%);
}

.clinical-visual-bg::before {
  border-color: rgba(255,139,54,.18);
}

.clinical-visual-bg::after {
  background:
    radial-gradient(
      circle,
      rgba(255,101,81,.14),
      rgba(255,183,25,.06) 52%,
      transparent 70%
    );
}

.clinical-visual-title,
.access-card-head h3,
.item-title,
.clinical-access-step-title {
  color: var(--ink);
}

.clinical-visual-content p,
.access-card-head p,
.item-desc,
.clinical-access-step-desc,
.access-note,
.access-message {
  color: var(--muted);
}

.clinical-feature-list span,
.clinical-access-guide,
.clinical-access-step-card,
.access-note {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.88),
      rgba(255,244,229,.94)
    );
  border-color: rgba(255,255,255,.90);
}

.clinical-feature-list i {
  color: var(--success);
}

.clinical-access-guide {
  box-shadow:
    inset 4px 4px 12px rgba(174,122,58,.08),
    inset -4px -4px 12px rgba(255,255,255,.88);
}

.clinical-access-guide-head {
  color: #d6602a;
}

.clinical-access-step-card {
  box-shadow:
    7px 7px 16px rgba(174,122,58,.11),
    -7px -7px 16px rgba(255,255,255,.90);
}

.clinical-access-step-badge,
.access-icon {
  color: #fff;
  background: var(--primaryGrad);
  box-shadow:
    0 10px 20px rgba(255,91,86,.20),
    inset 0 1px 0 rgba(255,255,255,.38);
}

.clinical-access-step-icon,
.support-icon {
  color: #d47720;
  background:
    linear-gradient(145deg, #fffdf9, #fff0d7);
  box-shadow:
    7px 7px 16px rgba(174,122,58,.10),
    -7px -7px 16px rgba(255,255,255,.90);
}

.clinical-access-step-line {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,101,81,.32) 0 8px,
      transparent 8px 14px
    );
}

/* =========================================================
  SUPPORT CARDS
========================================================= */
.support-menu-card:hover {
  border-color: rgba(255,101,81,.18);
  box-shadow:
    0 15px 30px rgba(145,95,43,.14),
    inset 0 1px 0 rgba(255,255,255,.94);
}

/* =========================================================
  BOTTOM NAV MOBILE/TABLET
========================================================= */
.footer-menu {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.94),
      rgba(255,248,237,.97)
    );
  border-color: rgba(255,255,255,.92);
  box-shadow:
    0 16px 30px rgba(145,95,43,.13),
    0 5px 14px rgba(118,76,36,.06);
}

.footer-menu button {
  color: var(--muted);
}

.footer-menu button:hover {
  color: #d6602a;
}

.footer-menu button.is-active {
  color: #fff;
  background: var(--primaryGrad);
  box-shadow:
    0 12px 22px rgba(255,91,86,.22),
    inset 0 1px 0 rgba(255,255,255,.36);
}

/* =========================================================
  SPLASH BADGE / ORBIT
  Inline splash geometry tetap; hanya dashboard.css state colors
  yang diselaraskan.
========================================================= */
.splash-badge {
  color: #c85c0c;
}

/* =========================================================
  MOBILE: hanya penyesuaian warna, layout breakpoint asli tetap.
========================================================= */
@media (max-width: 680px) {
  .clinical-access-step-line {
    background:
      repeating-linear-gradient(
        180deg,
        rgba(255,101,81,.32) 0 7px,
        transparent 7px 13px
      );
  }
}

/* =========================================================
  SMART INTERACTIVE - MOBILE DASHBOARD REFERENCE
  Hanya berlaku <=680px. Desktop/laptop tetap memakai layout asli.
========================================================= */
.mobileSmartHeader,
.mobileDashboardHome,
.mobileWelcomeAvatarWrap,
.mobileWelcomeGiraffeWrap,
.mobileWelcomeSubtitle,
.mobileWelcomeCta,
.mobileBurgerMenu {
  display: none;
}

@media (max-width: 680px) {
  :root {
    --topbar-h: 66px;
    --bottom-nav-h: 66px;
  }

  html,
  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(255,224,165,.24), transparent 30%),
      linear-gradient(180deg, #fffaf2 0%, #fff7ed 55%, #fff4e7 100%);
  }

  .navbar.dashboardTopbar {
    left: 0;
    min-height: var(--topbar-h);
    padding: 8px 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,250,243,.97));
    border-bottom: 1px solid rgba(215,166,111,.10);
    box-shadow:
      0 7px 20px rgba(126,76,25,.07),
      inset 0 -1px 0 rgba(255,255,255,.92);
  }

  .dashboardTopbarLeft,
  .dashboardTopbarRight {
    display: none !important;
  }

  .mobileSmartHeader {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobileSmartBrand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }

  .mobileSmartBrandMark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #ff8b36;
    background: #fff;
    box-shadow: 0 8px 18px rgba(145,95,43,.10);
  }

  .mobileSmartBrandMark i {
    font-size: 15px;
  }

  .mobileSmartBrandText {
    display: flex;
    flex-direction: column;
    line-height: 1;
  }

  .mobileSmartBrandText strong {
    color: #e96a1a;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .055em;
  }

  .mobileSmartBrandText small {
    margin-top: 4px;
    color: #ff6551;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .10em;
  }

  .mobileTopActions {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .mobileTopAction {
    position: relative;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #516170;
    background: rgba(255,255,255,.92);
    box-shadow: 0 7px 17px rgba(145,95,43,.08);
  }

  .mobileTopAction i {
    font-size: 16px;
  }

  .mobileNotificationButton.has-profile-alert {
    color: #ff6551;
    background: #fff5e7;
  }

  .mobileNotificationButton.has-profile-alert::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff5363;
    box-shadow: 0 0 0 3px rgba(255,83,99,.12);
  }

  .mobileBurgerMenu {
    position: absolute;
    z-index: 120;
    top: 45px;
    right: 0;
    width: 150px;
    padding: 7px;
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(255,255,255,.99), rgba(255,247,235,.98));
    border: 1px solid rgba(255,255,255,.94);
    box-shadow:
      0 18px 38px rgba(104,61,24,.16),
      0 5px 15px rgba(104,61,24,.08);
  }

  .mobileBurgerMenu:not([hidden]) {
    display: grid;
    gap: 5px;
  }

  .mobileBurgerMenu button {
    min-height: 40px;
    padding: 0 11px;
    border: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #664326;
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
  }

  .mobileBurgerMenu button:hover {
    background: #fff0dd;
  }

  .sidebar {
    display: none !important;
  }

  .container {
    min-height: 100vh;
    margin-left: 0;
    padding:
      calc(var(--topbar-h) + 10px)
      12px
      calc(var(--bottom-nav-h) + 28px);
  }

  .container > .dashboard-section {
    display: none !important;
  }

  /* Welcome */
  .ask-card {
    position: relative;
    min-height: 148px;
    margin-bottom: 12px;
    padding: 15px 12px 14px;
    border-radius: 22px;
    display: block;
    overflow: hidden;
    cursor: default;
    background:
      radial-gradient(circle at 36% 45%, rgba(255,250,218,.50), transparent 28%),
      linear-gradient(145deg, #ffd65b 0%, #ffc52d 52%, #ffb61b 100%);
    border: 1px solid rgba(255,241,188,.70);
    box-shadow:
      0 14px 28px rgba(154,98,31,.13),
      0 5px 13px rgba(154,98,31,.07),
      inset 0 1px 0 rgba(255,255,255,.36);
  }

  .ask-card::before {
    width: 135px;
    height: 135px;
    right: -46px;
    top: -30px;
    background: rgba(255,255,255,.16);
  }

  .ask-card::after {
    width: 105px;
    height: 105px;
    left: -38px;
    bottom: -70px;
    background: rgba(255,255,255,.12);
  }

  .ask-card > i {
    display: none !important;
  }

  .ask-card .text {
    position: relative;
    z-index: 5;
    width: 61%;
    margin-left: 62px;
    padding-top: 4px;
  }

  .ask-card .title {
    margin: 0;
    color: #5a3519;
    font-size: 17px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.025em;
  }

  .ask-card .greet-name {
    display: block;
    margin-top: 2px;
    color: #ff5f45;
    font-size: 21px;
  }

  .ask-card .subtitle {
    display: none !important;
  }

  .mobileWelcomeSubtitle {
    display: block;
    margin: 8px 0 0;
    color: rgba(91,54,19,.76);
    font-size: 10.2px;
    line-height: 1.35;
    font-weight: 700;
  }

  .mobileWelcomeAvatarWrap {
    position: absolute;
    z-index: 6;
    top: 14px;
    left: 12px;
    width: 52px;
    height: 52px;
    display: block;
    padding: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(127,74,17,.13);
  }

  .mobileWelcomeAvatar {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    background: #fff5e7;
  }

  .mobileWelcomeCta {
    min-height: 30px;
    margin-top: 10px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(180deg, #ff9e7d 0%, #ff725f 55%, #ff5a58 100%);
    box-shadow:
      0 8px 16px rgba(207,78,58,.18),
      inset 0 1px 0 rgba(255,255,255,.42);
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
  }

  .mobileWelcomeCta i {
    font-size: 9px;
  }

  .mobileWelcomeGiraffeWrap {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    width: 39%;
    height: 100%;
    display: block;
    pointer-events: none;
  }

  .mobileWelcomeGiraffe {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 112px;
    max-height: 132px;
    object-fit: contain;
    filter: drop-shadow(0 8px 9px rgba(128,75,14,.08));
  }

  .mobileWelcomeCloud {
    position: absolute;
    width: 24px;
    height: 9px;
    border-radius: 999px 999px 4px 4px;
    background: rgba(255,255,255,.88);
  }

  .mobileWelcomeCloud--one {
    top: 28px;
    left: 5px;
  }

  .mobileWelcomeCloud--two {
    top: 62px;
    right: 8px;
    transform: scale(.72);
  }

  .mobileWelcomeDot {
    position: absolute;
    border-radius: 50%;
  }

  .mobileWelcomeDot--sky {
    width: 8px;
    height: 8px;
    right: 14px;
    top: 74px;
    background: #52bee8;
  }

  .mobileWelcomeDot--coral {
    width: 12px;
    height: 12px;
    right: 5px;
    top: 95px;
    background: #ff6684;
  }

  /* 8 menu */
  .mobileDashboardHome {
    display: block;
  }

  .mobileMenuGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .mobileMenuCard {
    min-width: 0;
    min-height: 82px;
    padding: 9px 4px 8px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    cursor: pointer;
    background: linear-gradient(155deg, rgba(255,255,255,.99), rgba(255,249,240,.98));
    border: 1px solid rgba(255,255,255,.94);
    box-shadow:
      0 8px 18px rgba(139,89,36,.08),
      inset 0 1px 0 rgba(255,255,255,.96);
  }

  .mobileMenuCard:active {
    transform: scale(.975);
  }

  .mobileMenuCard strong {
    color: #4e3929;
    font-size: 9.2px;
    line-height: 1.05;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
  }

  .mobileMenuIcon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    box-shadow:
      0 7px 15px rgba(120,76,28,.08),
      inset 0 1px 0 rgba(255,255,255,.70);
  }

  .mobileMenuIcon i {
    font-size: 20px;
  }

  .mobileMenuIcon--medis { color:#397fee; background:#edf5ff; }
  .mobileMenuIcon--edukasi { color:#7858e9; background:#f2efff; }
  .mobileMenuIcon--hiburan { color:#ee5b91; background:#fff0f5; }
  .mobileMenuIcon--makanan { color:#f47b18; background:#fff4dc; }
  .mobileMenuIcon--orangtua { color:#10aa91; background:#eafaf6; }
  .mobileMenuIcon--penunjang { color:#4289ec; background:#eaf3ff; }
  .mobileMenuIcon--bantuan { color:#19a45b; background:#eaf9f0; }
  .mobileMenuIcon--keamanan { color:#ff6b42; background:#fff0e9; }

  /* Recent activity */
  .mobileActivityCard {
    margin-top: 10px;
    padding: 11px 12px;
    border-radius: 18px;
    cursor: pointer;
    background: linear-gradient(155deg, rgba(255,255,255,.99), rgba(255,249,240,.98));
    border: 1px solid rgba(255,255,255,.94);
    box-shadow:
      0 9px 20px rgba(139,89,36,.08),
      inset 0 1px 0 rgba(255,255,255,.96);
  }

  .mobileActivityHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .mobileActivityHead > strong {
    color: #543720;
    font-size: 11px;
    font-weight: 900;
  }

  .mobileActivityHead > span {
    color: #f16a1d;
    font-size: 8.8px;
    font-weight: 900;
  }

  .mobileActivityHead i {
    margin-left: 3px;
    font-size: 7px;
  }

  .mobileActivityBody {
    margin-top: 9px;
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
  }

  .mobileActivityIcon {
    width: 35px;
    height: 35px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #7958e8;
    background: #f1edff;
  }

  .mobileActivityText {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  .mobileActivityText strong {
    overflow: hidden;
    color: #4d3a2c;
    font-size: 9.2px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobileActivityText small {
    color: #a4917f;
    font-size: 7.8px;
    font-weight: 700;
  }

  .mobileActivityPoint {
    min-height: 27px;
    padding: 0 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ef791c;
    background: #fff5df;
    font-size: 8.5px;
    font-weight: 900;
  }

  /* Bottom nav */
  .footer-menu {
    left: 12px;
    right: 12px;
    bottom: max(9px, env(safe-area-inset-bottom));
    height: var(--bottom-nav-h);
    padding: 6px;
    gap: 3px;
    border-radius: 22px;
    display: grid;
    background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(255,249,242,.97));
    border: 1px solid rgba(255,255,255,.94);
    box-shadow:
      0 14px 28px rgba(115,71,28,.12),
      0 4px 12px rgba(115,71,28,.06);
  }

  .footer-menu button {
    border-radius: 16px;
    gap: 3px;
    color: #718092;
    background: transparent;
    box-shadow: none;
  }

  .footer-menu button i {
    font-size: 17px;
  }

  .footer-menu button span {
    font-size: 8.8px;
    font-weight: 800;
  }

  .footer-menu button.is-active {
    color: #f26b1d;
    background: #fff4e8;
    box-shadow: none;
  }

  .footer-menu button.is-active i,
  .footer-menu button.is-active span {
    color: #f26b1d;
  }
}

@media (max-width: 390px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }

  .ask-card {
    min-height: 142px;
    border-radius: 20px;
  }

  .ask-card .text {
    width: 62%;
    margin-left: 58px;
  }

  .mobileWelcomeAvatarWrap {
    width: 49px;
    height: 49px;
  }

  .mobileWelcomeGiraffe {
    width: 105px;
  }

  .mobileMenuGrid {
    gap: 7px;
  }

  .mobileMenuCard {
    min-height: 78px;
    border-radius: 16px;
  }

  .mobileMenuIcon {
    width: 39px;
    height: 39px;
    border-radius: 13px;
  }

  .mobileMenuIcon i {
    font-size: 18px;
  }

  .mobileMenuCard strong {
    font-size: 8.6px;
  }
}

/* =========================================================
  SMART INTERACTIVE - HERO JERAPAH MOBILE FINAL
  Asset:
  ./img/hero/hero-jerapah.png

  FOKUS:
  - Maskot jerapah berada di sisi kanan welcome card.
  - Transparan, tidak memakai background image bawaan.
  - Proporsional pada HP.
  - Desktop/laptop tetap menggunakan layout sebelumnya.
========================================================= */
@media (max-width: 680px) {
  .mobileWelcomeGiraffeWrap {
    width: 42%;
    overflow: visible;
  }

  .mobileWelcomeGiraffe {
    right: -5px;
    bottom: -8px;

    width: 128px;
    max-width: none;
    max-height: 150px;

    object-fit: contain;
    object-position: right bottom;

    filter:
      drop-shadow(0 7px 8px rgba(128, 75, 14, .08))
      drop-shadow(0 14px 18px rgba(128, 75, 14, .05));
  }
}

@media (max-width: 390px) {
  .mobileWelcomeGiraffeWrap {
    width: 41%;
  }

  .mobileWelcomeGiraffe {
    right: -6px;
    bottom: -7px;

    width: 118px;
    max-height: 140px;
  }
}

/* =========================================================
  SMART INTERACTIVE - SPLASH BRAND FINAL
  Hanya mengganti visual/copy loading lama.
========================================================= */
.splash-scrim {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,198,77,.20), transparent 34%),
    rgba(255,244,226,.78);
}

.splash-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,220,169,.24), transparent 28%),
    linear-gradient(155deg, rgba(255,255,255,.98), rgba(255,248,237,.98));
  border-color: rgba(255,255,255,.94);
  box-shadow:
    0 28px 60px rgba(159,105,49,.16),
    0 10px 24px rgba(128,83,38,.08),
    inset 1px 1px 0 rgba(255,255,255,.95);
}

.splash-badge {
  color: #d6602a;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.96),
      rgba(255,244,229,.96)
    );
  border-color: rgba(255,202,100,.30);
  box-shadow:
    0 9px 20px rgba(145,95,43,.10),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.splash-badge i {
  color: #ff8b36;
}

.splash-sub {
  color: #74583d;
  font-weight: 700;
}

/* =========================================================
  MOBILE WELCOME - LEFT ALIGN RESTORE FINAL
  Memulihkan alignment yang sebelumnya sudah benar:
  - Judul "Selamat datang, [nama]" tetap di posisi semula.
  - Subtitle dimulai sejajar sisi kiri foto profil.
  - Tombol Lihat Profil dimulai sejajar sisi kiri foto profil.
  - Hanya mobile; desktop/laptop tidak berubah.
========================================================= */
@media (max-width: 680px) {
  .mobileWelcomeSubtitle {
    position: relative;
    left: -62px;
    width: calc(100% + 62px);
    max-width: 250px;
  }

  .mobileWelcomeCta {
    position: relative;
    left: -62px;
  }
}

@media (max-width: 390px) {
  .mobileWelcomeSubtitle {
    left: -58px;
    width: calc(100% + 58px);
    max-width: 238px;
  }

  .mobileWelcomeCta {
    left: -58px;
  }
}

/* =========================================================
  SMART INTERACTIVE - MOBILE NAVBAR LOGO IMAGE
  Asset:
  ./img/logo/logo-app.png

  - Menggantikan ikon bintang + teks HTML SMART / INTERACTIVE.
  - Hanya navbar mobile.
  - Tombol lonceng dan burger tetap pada posisi sebelumnya.
========================================================= */
@media (max-width: 680px) {
  .mobileSmartBrand {
    min-width: 0;
    max-width: min(52vw, 190px);
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    overflow: visible;
  }

  .mobileSmartBrandLogo {
    display: block;
    width: auto;
    height: 42px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 4px 8px rgba(130, 76, 22, .05));
  }
}

@media (max-width: 390px) {
  .mobileSmartBrand {
    max-width: min(54vw, 174px);
    height: 39px;
  }

  .mobileSmartBrandLogo {
    height: 39px;
  }
}

/* =========================================================
  SMART INTERACTIVE - BOTTOM NAV SOFT 3D FINAL
  Mobile only:
  - Wrapper tetap orange/kuning cerah.
  - Tombol nonaktif putih bersih, timbul dan empuk.
  - Hanya tombol aktif memakai card orange.
  - Icon + text aktif putih.
  - Icon + text nonaktif orange.
  - Tidak mengubah struktur HTML maupun JavaScript.
========================================================= */
@media (max-width: 680px) {
  .footer-menu {
    background:
      radial-gradient(
        circle at 18% 26%,
        rgba(255,255,255,.24),
        transparent 30%
      ),
      radial-gradient(
        circle at 88% 14%,
        rgba(255,246,198,.24),
        transparent 26%
      ),
      linear-gradient(
        145deg,
        #ffd85f 0%,
        #ffc832 52%,
        #ffb91d 100%
      );

    border: 1px solid rgba(255, 244, 197, .82);

    box-shadow:
      0 5px 10px rgba(137, 82, 22, .09),
      0 14px 28px rgba(137, 82, 22, .16),
      inset 0 1px 0 rgba(255,255,255,.48),
      inset 0 -1px 0 rgba(211,126,17,.10);
  }

  /* -------------------------------------------------------
    TOMBOL DEFAULT / NONAKTIF
    Putih, empuk, tetap timbul tetapi lebih rendah dari active.
  ------------------------------------------------------- */
  .footer-menu button {
    position: relative;
    z-index: 1;

    color: #f26b1d;

    background:
      linear-gradient(
        145deg,
        #ffffff 0%,
        #fffdf9 48%,
        #fff8ef 100%
      );

    border: 1px solid rgba(255,255,255,.98);

    transform: translateY(-1px);

    box-shadow:
      0 2px 4px rgba(120, 70, 20, .07),
      0 7px 13px rgba(120, 70, 20, .11),
      0 12px 20px rgba(120, 70, 20, .08),
      inset 0 1px 0 rgba(255,255,255,1),
      inset 0 -2px 4px rgba(226, 191, 148, .10);

    transition:
      transform .18s ease,
      box-shadow .18s ease,
      background .18s ease,
      color .18s ease;
  }

  .footer-menu button i,
  .footer-menu button span {
    color: #f26b1d;
  }

  .footer-menu button:hover {
    color: #ee6216;

    background:
      linear-gradient(
        145deg,
        #ffffff 0%,
        #fffdf9 52%,
        #fff7eb 100%
      );

    transform: translateY(-2px);

    box-shadow:
      0 3px 5px rgba(120, 70, 20, .08),
      0 8px 15px rgba(120, 70, 20, .12),
      0 14px 23px rgba(120, 70, 20, .09),
      inset 0 1px 0 rgba(255,255,255,1),
      inset 0 -2px 4px rgba(226, 191, 148, .10);
  }

  .footer-menu button:hover i,
  .footer-menu button:hover span {
    color: #ee6216;
  }

  /* -------------------------------------------------------
    TOMBOL AKTIF
    Orange, paling menonjol, icon + text putih.
  ------------------------------------------------------- */
  .footer-menu button.is-active {
    position: relative;
    z-index: 3;

    color: #ffffff;

    background:
      radial-gradient(
        circle at 28% 18%,
        rgba(255,255,255,.28),
        transparent 30%
      ),
      linear-gradient(
        180deg,
        #ff9d58 0%,
        #ff7c38 38%,
        #ff681f 72%,
        #f75a12 100%
      );

    border: 1px solid rgba(255, 191, 132, .82);

    transform: translateY(-5px);

    box-shadow:
      0 4px 7px rgba(179, 72, 5, .14),
      0 10px 18px rgba(179, 72, 5, .22),
      0 17px 29px rgba(179, 72, 5, .16),
      0 0 0 1px rgba(255,255,255,.18),
      inset 0 1px 0 rgba(255,255,255,.56),
      inset 0 -3px 5px rgba(174, 56, 0, .15);
  }

  .footer-menu button.is-active i,
  .footer-menu button.is-active span {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(132, 48, 0, .12);
  }

  .footer-menu button.is-active:hover {
    color: #ffffff;

    background:
      radial-gradient(
        circle at 28% 18%,
        rgba(255,255,255,.30),
        transparent 30%
      ),
      linear-gradient(
        180deg,
        #ffa25f 0%,
        #ff813d 38%,
        #ff6a22 72%,
        #f75a12 100%
      );

    transform: translateY(-6px);

    box-shadow:
      0 5px 8px rgba(179, 72, 5, .15),
      0 12px 21px rgba(179, 72, 5, .24),
      0 20px 32px rgba(179, 72, 5, .17),
      0 0 0 1px rgba(255,255,255,.20),
      inset 0 1px 0 rgba(255,255,255,.60),
      inset 0 -3px 5px rgba(174, 56, 0, .15);
  }

  .footer-menu button.is-active:hover i,
  .footer-menu button.is-active:hover span {
    color: #ffffff;
  }

  .footer-menu button:active {
    transform: translateY(0) scale(.985);

    box-shadow:
      0 2px 4px rgba(120, 70, 20, .07),
      0 5px 9px rgba(120, 70, 20, .09),
      inset 0 1px 0 rgba(255,255,255,.96),
      inset 0 -1px 3px rgba(226, 191, 148, .10);
  }

  .footer-menu button.is-active:active {
    transform: translateY(-2px) scale(.985);

    box-shadow:
      0 3px 5px rgba(179, 72, 5, .13),
      0 7px 12px rgba(179, 72, 5, .17),
      inset 0 1px 0 rgba(255,255,255,.50),
      inset 0 -2px 4px rgba(174, 56, 0, .14);
  }
}

@media (max-width: 390px) {
  .footer-menu button {
    transform: translateY(-1px);
  }

  .footer-menu button.is-active {
    transform: translateY(-4px);
  }

  .footer-menu button.is-active:hover {
    transform: translateY(-5px);
  }
}

/* =========================================================
  SMART INTERACTIVE - BOTTOM NAV WHITE WRAPPER FINAL
  Mobile only:
  - Wrapper kembali putih/cream.
  - Tombol aktif orange + icon/text putih + paling timbul.
  - Tombol nonaktif dibuat lebih tenang / tidak aktif.
========================================================= */
@media (max-width: 680px) {
  .footer-menu {
    background:
      radial-gradient(
        circle at 18% 24%,
        rgba(255,255,255,.96),
        transparent 32%
      ),
      linear-gradient(
        155deg,
        #ffffff 0%,
        #fffdf9 48%,
        #fff8ef 100%
      );

    border: 1px solid rgba(255,255,255,.98);

    box-shadow:
      0 5px 10px rgba(126,76,25,.07),
      0 14px 28px rgba(126,76,25,.12),
      inset 0 1px 0 rgba(255,255,255,1),
      inset 0 -1px 0 rgba(220,177,126,.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* -------------------------------------------------------
    NONAKTIF
    Sengaja dibuat flat/tenang agar tidak tampak sebagai state aktif.
  ------------------------------------------------------- */
  .footer-menu button:not(.is-active) {
    color: #d98a52;

    background:
      linear-gradient(
        155deg,
        rgba(255,255,255,.58),
        rgba(255,250,243,.54)
      );

    border: 1px solid rgba(255,255,255,.52);

    transform: none;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.74);

    opacity: .86;
  }

  .footer-menu button:not(.is-active) i,
  .footer-menu button:not(.is-active) span {
    color: #d98a52;
  }

  .footer-menu button:not(.is-active):hover {
    color: #cf7a3d;

    background:
      linear-gradient(
        155deg,
        rgba(255,255,255,.78),
        rgba(255,248,238,.72)
      );

    transform: none;

    box-shadow:
      0 3px 7px rgba(126,76,25,.06),
      inset 0 1px 0 rgba(255,255,255,.86);

    opacity: .94;
  }

  .footer-menu button:not(.is-active):hover i,
  .footer-menu button:not(.is-active):hover span {
    color: #cf7a3d;
  }

  /* -------------------------------------------------------
    AKTIF
    Orange, empuk, timbul, icon + text putih.
  ------------------------------------------------------- */
  .footer-menu button.is-active {
    position: relative;
    z-index: 3;

    color: #ffffff;

    background:
      radial-gradient(
        circle at 28% 18%,
        rgba(255,255,255,.28),
        transparent 30%
      ),
      linear-gradient(
        180deg,
        #ff9d58 0%,
        #ff7c38 38%,
        #ff681f 72%,
        #f75a12 100%
      );

    border: 1px solid rgba(255,186,123,.84);

    transform: translateY(-5px);

    box-shadow:
      0 4px 7px rgba(179,72,5,.14),
      0 10px 18px rgba(179,72,5,.22),
      0 17px 29px rgba(179,72,5,.16),
      0 0 0 1px rgba(255,255,255,.20),
      inset 0 1px 0 rgba(255,255,255,.58),
      inset 0 -3px 5px rgba(174,56,0,.15);

    opacity: 1;
  }

  .footer-menu button.is-active i,
  .footer-menu button.is-active span {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(132,48,0,.12);
  }

  .footer-menu button.is-active:hover {
    color: #ffffff;

    background:
      radial-gradient(
        circle at 28% 18%,
        rgba(255,255,255,.30),
        transparent 30%
      ),
      linear-gradient(
        180deg,
        #ffa25f 0%,
        #ff813d 38%,
        #ff6a22 72%,
        #f75a12 100%
      );

    transform: translateY(-6px);

    box-shadow:
      0 5px 8px rgba(179,72,5,.15),
      0 12px 21px rgba(179,72,5,.24),
      0 20px 32px rgba(179,72,5,.17),
      0 0 0 1px rgba(255,255,255,.22),
      inset 0 1px 0 rgba(255,255,255,.62),
      inset 0 -3px 5px rgba(174,56,0,.15);
  }

  .footer-menu button.is-active:hover i,
  .footer-menu button.is-active:hover span {
    color: #ffffff;
  }

  .footer-menu button:not(.is-active):active {
    transform: scale(.985);
    opacity: .90;
  }

  .footer-menu button.is-active:active {
    transform: translateY(-2px) scale(.985);

    box-shadow:
      0 3px 5px rgba(179,72,5,.13),
      0 7px 12px rgba(179,72,5,.17),
      inset 0 1px 0 rgba(255,255,255,.50),
      inset 0 -2px 4px rgba(174,56,0,.14);
  }
}

@media (max-width: 390px) {
  .footer-menu button.is-active {
    transform: translateY(-4px);
  }

  .footer-menu button.is-active:hover {
    transform: translateY(-5px);
  }
}

/* =========================================================
  SMART INTERACTIVE - BOTTOM NAV CENTERED FINAL
  Mobile only:
  - Semua tombol aktif/nonaktif sejajar pada sumbu horizontal.
  - Tombol aktif tidak lagi dinaikkan dengan translateY.
  - Efek aktif tetap paling timbul melalui shadow + orange.
  - Tombol nonaktif tetap flat/tenang.
========================================================= */
@media (max-width: 680px) {
  .footer-menu {
    align-items: stretch;
  }

  .footer-menu button,
  .footer-menu button:not(.is-active),
  .footer-menu button.is-active {
    height: 100%;
    min-height: 0;
    align-self: stretch;
    transform: none;
  }

  .footer-menu button.is-active {
    transform: none;

    box-shadow:
      0 3px 6px rgba(179,72,5,.12),
      0 8px 16px rgba(179,72,5,.20),
      0 13px 24px rgba(179,72,5,.14),
      0 0 0 1px rgba(255,255,255,.20),
      inset 0 1px 0 rgba(255,255,255,.58),
      inset 0 -3px 5px rgba(174,56,0,.15);
  }

  .footer-menu button.is-active:hover {
    transform: none;

    box-shadow:
      0 4px 7px rgba(179,72,5,.13),
      0 9px 18px rgba(179,72,5,.22),
      0 15px 27px rgba(179,72,5,.15),
      0 0 0 1px rgba(255,255,255,.22),
      inset 0 1px 0 rgba(255,255,255,.62),
      inset 0 -3px 5px rgba(174,56,0,.15);
  }

  .footer-menu button:not(.is-active):hover {
    transform: none;
  }

  .footer-menu button:not(.is-active):active {
    transform: scale(.985);
  }

  .footer-menu button.is-active:active {
    transform: scale(.985);

    box-shadow:
      0 2px 4px rgba(179,72,5,.11),
      0 6px 11px rgba(179,72,5,.16),
      inset 0 1px 0 rgba(255,255,255,.50),
      inset 0 -2px 4px rgba(174,56,0,.14);
  }
}

@media (max-width: 390px) {
  .footer-menu button.is-active,
  .footer-menu button.is-active:hover {
    transform: none;
  }
}

/* =========================================================
  SMART INTERACTIVE - BOTTOM NAV THEME ORANGE FINAL
  Mobile only:
  - Kembali ke karakter original.
  - Wrapper putih / cream bersih.
  - Menu nonaktif tanpa card timbul.
  - Hanya menu aktif yang berupa card 3D empuk.
  - Warna utama active mengikuti theme-color: #FFB70F.
  - Posisi seluruh tombol tetap sejajar horizontal.
========================================================= */
@media (max-width: 680px) {
  /* Wrapper putih seperti versi original */
  .footer-menu {
    align-items: stretch;

    background:
      radial-gradient(
        circle at 18% 20%,
        rgba(255,255,255,.98),
        transparent 34%
      ),
      linear-gradient(
        155deg,
        #ffffff 0%,
        #fffdf9 52%,
        #fff8ef 100%
      );

    border: 1px solid rgba(255,255,255,.98);

    box-shadow:
      0 4px 9px rgba(126,76,25,.06),
      0 12px 24px rgba(126,76,25,.10),
      inset 0 1px 0 rgba(255,255,255,1),
      inset 0 -1px 0 rgba(220,177,126,.07);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* -------------------------------------------------------
    MENU NONAKTIF
    Transparan / menyatu dengan wrapper.
  ------------------------------------------------------- */
  .footer-menu button,
  .footer-menu button:not(.is-active) {
    height: 100%;
    min-height: 0;
    align-self: stretch;

    color: #d58a54;

    background: transparent;

    border: 1px solid transparent;

    transform: none;

    box-shadow: none;

    opacity: .92;
  }

  .footer-menu button:not(.is-active) i,
  .footer-menu button:not(.is-active) span {
    color: #d58a54;
  }

  .footer-menu button:not(.is-active):hover {
    color: #cb7b42;

    background:
      linear-gradient(
        155deg,
        rgba(255,255,255,.58),
        rgba(255,248,238,.42)
      );

    border-color: rgba(255,255,255,.40);

    transform: none;

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.72);

    opacity: 1;
  }

  .footer-menu button:not(.is-active):hover i,
  .footer-menu button:not(.is-active):hover span {
    color: #cb7b42;
  }

  /* -------------------------------------------------------
    MENU AKTIF
    Warna mengikuti browser theme color #FFB70F.
    Dibuat empuk/timbul tanpa menggeser posisi vertikal.
  ------------------------------------------------------- */
  .footer-menu button.is-active {
    position: relative;
    z-index: 3;

    height: 100%;
    min-height: 0;
    align-self: stretch;

    color: #ffffff;

    background:
      radial-gradient(
        circle at 28% 18%,
        rgba(255,255,255,.30),
        transparent 31%
      ),
      linear-gradient(
        180deg,
        #ffc843 0%,
        #ffbd24 34%,
        #ffb70f 68%,
        #f7aa00 100%
      );

    border: 1px solid rgba(255, 211, 103, .90);

    transform: none;

    box-shadow:
      0 3px 6px rgba(194,125,0,.12),
      0 8px 15px rgba(194,125,0,.20),
      0 13px 23px rgba(194,125,0,.13),
      0 0 0 1px rgba(255,255,255,.20),
      inset 0 1px 0 rgba(255,255,255,.62),
      inset 0 -3px 5px rgba(201,124,0,.14);

    opacity: 1;

    transition:
      background .18s ease,
      box-shadow .18s ease,
      transform .18s ease;
  }

  .footer-menu button.is-active i,
  .footer-menu button.is-active span {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(151,88,0,.14);
  }

  .footer-menu button.is-active:hover {
    color: #ffffff;

    background:
      radial-gradient(
        circle at 28% 18%,
        rgba(255,255,255,.34),
        transparent 31%
      ),
      linear-gradient(
        180deg,
        #ffce55 0%,
        #ffc22f 34%,
        #ffb70f 68%,
        #f7aa00 100%
      );

    transform: none;

    box-shadow:
      0 4px 7px rgba(194,125,0,.13),
      0 9px 17px rgba(194,125,0,.22),
      0 15px 26px rgba(194,125,0,.14),
      0 0 0 1px rgba(255,255,255,.22),
      inset 0 1px 0 rgba(255,255,255,.66),
      inset 0 -3px 5px rgba(201,124,0,.14);
  }

  .footer-menu button.is-active:hover i,
  .footer-menu button.is-active:hover span {
    color: #ffffff;
  }

  .footer-menu button:not(.is-active):active {
    transform: scale(.985);
  }

  .footer-menu button.is-active:active {
    transform: scale(.985);

    box-shadow:
      0 2px 4px rgba(194,125,0,.11),
      0 6px 11px rgba(194,125,0,.16),
      inset 0 1px 0 rgba(255,255,255,.54),
      inset 0 -2px 4px rgba(201,124,0,.13);
  }
}

@media (max-width: 390px) {
  .footer-menu button.is-active,
  .footer-menu button.is-active:hover {
    transform: none;
  }
}

/* =========================================================
  SMART INTERACTIVE - MENU MEDIS IMAGE
  - Hanya menu Medis yang diubah memakai gambar ./img/menu/medis.png
  - Tidak mengubah perilaku klik / navigasi
  - 7 menu lain tetap memakai style semula
========================================================= */
.mobileMenuCard--medis {
  padding-top: 7px;
}

.mobileMenuIcon--menuImage {
  width: 50px;
  height: 50px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.mobileMenuIconImage {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter:
    drop-shadow(0 6px 10px rgba(139, 89, 36, .10))
    drop-shadow(0 2px 4px rgba(255, 255, 255, .36));
}

.mobileMenuIconImage--medis {
  transform: translateY(1px) scale(1.08);
  transform-origin: center bottom;
}

@media (max-width: 390px) {
  .mobileMenuIcon--menuImage {
    width: 46px;
    height: 46px;
  }

  .mobileMenuIconImage--medis {
    transform: translateY(1px) scale(1.04);
  }
}

/* =========================================================
  SMART INTERACTIVE - MOBILE MENU CARD BALANCE FIX
  Fokus:
  - Teks menu tidak terhimpit gambar
  - Proporsi gambar medis dibuat lebih pas
  - Semua card menu tampil lebih seimbang
  - Hanya tampilan, tidak mengubah fungsi
========================================================= */
@media (max-width: 680px) {
  .mobileMenuGrid {
    gap: 10px;
  }

  .mobileMenuCard {
    min-height: 94px;
    padding: 10px 5px 10px;
    grid-template-rows: auto auto;
    align-content: start;
    gap: 8px;
    border-radius: 18px;
  }

  .mobileMenuCard strong {
    display: block;
    width: 100%;
    margin-top: 0;
    font-size: 10px;
    line-height: 1.18;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
  }

  .mobileMenuIcon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    align-self: end;
  }

  .mobileMenuIcon i {
    font-size: 20px;
  }

  .mobileMenuCard--medis {
    padding-top: 9px;
  }

  .mobileMenuIcon--menuImage {
    width: 46px;
    height: 46px;
    align-self: end;
  }

  .mobileMenuIconImage--medis {
    transform: translateY(0) scale(1);
    transform-origin: center center;
  }
}

@media (max-width: 390px) {
  .mobileMenuGrid {
    gap: 8px;
  }

  .mobileMenuCard {
    min-height: 88px;
    padding: 9px 4px 9px;
    gap: 7px;
    border-radius: 16px;
  }

  .mobileMenuIcon {
    width: 41px;
    height: 41px;
    border-radius: 13px;
  }

  .mobileMenuIcon i {
    font-size: 18px;
  }

  .mobileMenuCard strong {
    font-size: 9px;
    line-height: 1.16;
  }

  .mobileMenuIcon--menuImage {
    width: 42px;
    height: 42px;
  }

  .mobileMenuIconImage--medis {
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
  SMART INTERACTIVE - MEDIS LABEL SPACING FINAL
  - Menurunkan label "Medis" agar tidak mepet gambar.
  - Hanya menu Medis yang terpengaruh.
========================================================= */
@media (max-width: 680px) {
  .mobileMenuCard--medis strong {
    margin-top: 5px;
  }
}

@media (max-width: 390px) {
  .mobileMenuCard--medis strong {
    margin-top: 4px;
  }
}

/* =========================================================
  SMART INTERACTIVE - MOBILE MENU WELCOME GRADIENT FINAL
  - Semua card menu memakai karakter warna welcome card.
  - Ada bulatan dekoratif smooth/samar.
  - Label menu diturunkan agar tidak mepet ikon/gambar.
  - Hanya tampilan mobile, fungsi tidak berubah.
========================================================= */
@media (max-width: 680px) {
  .mobileMenuCard {
    position: relative;
    overflow: hidden;

    min-height: 100px;
    padding: 10px 5px 11px;

    grid-template-rows: auto auto;
    align-content: start;
    gap: 8px;

    background:
      radial-gradient(
        circle at 28% 24%,
        rgba(255, 250, 218, .50),
        transparent 30%
      ),
      radial-gradient(
        circle at 88% 16%,
        rgba(255,255,255,.18),
        transparent 24%
      ),
      linear-gradient(
        145deg,
        #ffd65b 0%,
        #ffc52d 52%,
        #ffb61b 100%
      );

    border: 1px solid rgba(255, 241, 188, .72);

    box-shadow:
      0 8px 18px rgba(154, 98, 31, .11),
      0 3px 8px rgba(154, 98, 31, .06),
      inset 0 1px 0 rgba(255,255,255,.38);
  }

  .mobileMenuCard::before {
    content: "";
    position: absolute;
    z-index: 0;

    width: 58px;
    height: 58px;

    top: -21px;
    right: -19px;

    border-radius: 50%;

    background: rgba(255,255,255,.16);

    pointer-events: none;
  }

  .mobileMenuCard::after {
    content: "";
    position: absolute;
    z-index: 0;

    width: 48px;
    height: 48px;

    left: -20px;
    bottom: -24px;

    border-radius: 50%;

    background: rgba(255, 143, 53, .10);

    pointer-events: none;
  }

  .mobileMenuCard > * {
    position: relative;
    z-index: 1;
  }

  .mobileMenuIcon {
    align-self: end;
  }

  .mobileMenuCard strong {
    margin-top: 8px;

    color: #5a3519;

    font-size: 10px;
    line-height: 1.15;
    font-weight: 900;

    text-align: center;
  }

  /* Menu Medis memakai gambar karakter yang lebih besar,
     jadi beri sedikit spacing ekstra sebelum label. */
  .mobileMenuCard--medis strong {
    margin-top: 10px;
  }

  .mobileMenuCard:active {
    transform: scale(.975);

    box-shadow:
      0 4px 10px rgba(154, 98, 31, .09),
      inset 0 1px 0 rgba(255,255,255,.34);
  }
}

@media (max-width: 390px) {
  .mobileMenuCard {
    min-height: 94px;
    padding: 9px 4px 10px;
    gap: 7px;
  }

  .mobileMenuCard strong {
    margin-top: 7px;
    font-size: 9px;
  }

  .mobileMenuCard--medis strong {
    margin-top: 9px;
  }

  .mobileMenuCard::before {
    width: 52px;
    height: 52px;
  }

  .mobileMenuCard::after {
    width: 43px;
    height: 43px;
  }
}

/* =========================================================
  SMART INTERACTIVE - MOBILE MENU SOFT 3D FINAL
  - Mempertahankan gradient kuning-orange + bulatan samar.
  - Card dibuat lebih timbul, empuk, dan berlapis.
  - Hanya visual mobile, fungsi tidak berubah.
========================================================= */
@media (max-width: 680px) {
  .mobileMenuCard {
    position: relative;

    border: 1px solid rgba(255, 246, 210, .88);

    box-shadow:
      /* contact shadow */
      0 2px 4px rgba(129, 79, 20, .08),

      /* main elevation */
      0 9px 18px rgba(129, 79, 20, .14),

      /* soft ambient depth */
      0 18px 30px rgba(129, 79, 20, .08),

      /* upper light rim */
      inset 0 2px 0 rgba(255,255,255,.52),

      /* lower soft depth */
      inset 0 -3px 7px rgba(205, 124, 14, .10);

    transform: translateY(-2px);

    transition:
      transform .18s ease,
      box-shadow .18s ease,
      border-color .18s ease,
      filter .18s ease;
  }

  /* soft top highlight */
  .mobileMenuCard::before {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.30);
  }

  .mobileMenuCard:hover {
    transform: translateY(-3px);

    border-color: rgba(255, 247, 218, .96);

    box-shadow:
      0 3px 5px rgba(129, 79, 20, .09),
      0 11px 21px rgba(129, 79, 20, .16),
      0 21px 34px rgba(129, 79, 20, .09),
      inset 0 2px 0 rgba(255,255,255,.58),
      inset 0 -3px 7px rgba(205, 124, 14, .11);
  }

  .mobileMenuCard:active {
    transform: translateY(0) scale(.985);

    box-shadow:
      0 2px 4px rgba(129, 79, 20, .07),
      0 5px 10px rgba(129, 79, 20, .10),
      inset 0 2px 5px rgba(188, 111, 8, .10),
      inset 0 -1px 0 rgba(255,255,255,.36);
  }

  /* gambar/ikon ikut terasa "mengambang" di atas card */
  .mobileMenuIcon,
  .mobileMenuIcon--menuImage {
    position: relative;
    z-index: 2;
  }

  .mobileMenuIcon:not(.mobileMenuIcon--menuImage) {
    box-shadow:
      0 3px 6px rgba(115, 72, 24, .07),
      0 8px 14px rgba(115, 72, 24, .09),
      inset 0 1px 0 rgba(255,255,255,.78);
  }

  .mobileMenuIconImage {
    filter:
      drop-shadow(0 4px 5px rgba(126, 76, 25, .10))
      drop-shadow(0 9px 12px rgba(126, 76, 25, .08));
  }

  .mobileMenuCard strong {
    text-shadow:
      0 1px 0 rgba(255,255,255,.34);
  }
}

@media (max-width: 390px) {
  .mobileMenuCard {
    transform: translateY(-1px);

    box-shadow:
      0 2px 4px rgba(129, 79, 20, .07),
      0 8px 15px rgba(129, 79, 20, .13),
      0 15px 25px rgba(129, 79, 20, .07),
      inset 0 2px 0 rgba(255,255,255,.50),
      inset 0 -3px 6px rgba(205, 124, 14, .09);
  }

  .mobileMenuCard:hover {
    transform: translateY(-2px);
  }

  .mobileMenuCard:active {
    transform: translateY(0) scale(.985);
  }
}

/* =========================================================
  SMART INTERACTIVE - 8 MENU IMAGE FINAL
  Asset:
  ./img/menu/medis.png
  ./img/menu/edukasi.png
  ./img/menu/hiburan.png
  ./img/menu/makanan.png
  ./img/menu/orang-tua.png
  ./img/menu/penunjang.png
  ./img/menu/bantuan.png
  ./img/menu/keamanan.png

  TUJUAN:
  - Semua 8 menu memakai gambar karakter.
  - Ukuran visual konsisten.
  - Label berada cukup jauh di bawah gambar.
  - Card tetap gradient kuning-orange, bulatan samar, soft 3D.
  - Tidak mengubah data-nav atau fungsi JavaScript.
========================================================= */

@media (max-width: 680px) {
  .mobileMenuCard.mobileMenuCard--image {
    position: relative;
    overflow: hidden;

    min-height: 104px;
    padding: 8px 4px 11px;

    display: grid;
    grid-template-rows: 62px auto;
    place-items: center;
    align-content: start;
    gap: 5px;

    border-radius: 18px;

    background:
      radial-gradient(
        circle at 28% 24%,
        rgba(255, 250, 218, .50),
        transparent 30%
      ),
      radial-gradient(
        circle at 88% 16%,
        rgba(255,255,255,.18),
        transparent 24%
      ),
      linear-gradient(
        145deg,
        #ffd65b 0%,
        #ffc52d 52%,
        #ffb61b 100%
      );

    border: 1px solid rgba(255, 246, 210, .88);

    box-shadow:
      0 2px 4px rgba(129,79,20,.08),
      0 9px 18px rgba(129,79,20,.14),
      0 18px 30px rgba(129,79,20,.08),
      inset 0 2px 0 rgba(255,255,255,.52),
      inset 0 -3px 7px rgba(205,124,14,.10);

    transform: translateY(-2px);

    transition:
      transform .18s ease,
      box-shadow .18s ease,
      border-color .18s ease;
  }

  .mobileMenuCard.mobileMenuCard--image::before {
    content: "";
    position: absolute;
    z-index: 0;

    width: 58px;
    height: 58px;

    top: -21px;
    right: -19px;

    border-radius: 50%;
    background: rgba(255,255,255,.16);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.30);

    pointer-events: none;
  }

  .mobileMenuCard.mobileMenuCard--image::after {
    content: "";
    position: absolute;
    z-index: 0;

    width: 48px;
    height: 48px;

    left: -20px;
    bottom: -24px;

    border-radius: 50%;
    background: rgba(255,143,53,.10);

    pointer-events: none;
  }

  .mobileMenuCard.mobileMenuCard--image > * {
    position: relative;
    z-index: 1;
  }

  .mobileMenuCard--image .mobileMenuIcon--menuImage {
    width: 60px;
    height: 60px;

    align-self: end;

    display: grid;
    place-items: center;

    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .mobileMenuCard--image .mobileMenuIconImage {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: contain;
    object-position: center bottom;

    user-select: none;
    -webkit-user-drag: none;

    transform: none;
    transform-origin: center bottom;

    filter:
      drop-shadow(0 4px 5px rgba(126,76,25,.10))
      drop-shadow(0 9px 12px rgba(126,76,25,.08));
  }

  .mobileMenuCard--image strong {
    display: block;
    width: 100%;

    margin: 7px 0 0;

    color: #5a3519;

    font-size: 10px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;

    text-align: center;
    white-space: nowrap;

    text-shadow:
      0 1px 0 rgba(255,255,255,.34);
  }

  .mobileMenuCard.mobileMenuCard--image:hover {
    transform: translateY(-3px);

    border-color: rgba(255,247,218,.96);

    box-shadow:
      0 3px 5px rgba(129,79,20,.09),
      0 11px 21px rgba(129,79,20,.16),
      0 21px 34px rgba(129,79,20,.09),
      inset 0 2px 0 rgba(255,255,255,.58),
      inset 0 -3px 7px rgba(205,124,14,.11);
  }

  .mobileMenuCard.mobileMenuCard--image:active {
    transform: translateY(0) scale(.985);

    box-shadow:
      0 2px 4px rgba(129,79,20,.07),
      0 5px 10px rgba(129,79,20,.10),
      inset 0 2px 5px rgba(188,111,8,.10),
      inset 0 -1px 0 rgba(255,255,255,.36);
  }
}

@media (max-width: 390px) {
  .mobileMenuCard.mobileMenuCard--image {
    min-height: 98px;

    padding: 7px 3px 10px;

    grid-template-rows: 56px auto;
    gap: 4px;

    border-radius: 16px;

    transform: translateY(-1px);

    box-shadow:
      0 2px 4px rgba(129,79,20,.07),
      0 8px 15px rgba(129,79,20,.13),
      0 15px 25px rgba(129,79,20,.07),
      inset 0 2px 0 rgba(255,255,255,.50),
      inset 0 -3px 6px rgba(205,124,14,.09);
  }

  .mobileMenuCard--image .mobileMenuIcon--menuImage {
    width: 54px;
    height: 54px;
  }

  .mobileMenuCard--image strong {
    margin-top: 6px;
    font-size: 9px;
    line-height: 1.14;
  }

  .mobileMenuCard.mobileMenuCard--image:hover {
    transform: translateY(-2px);
  }

  .mobileMenuCard.mobileMenuCard--image:active {
    transform: translateY(0) scale(.985);
  }
}

/* =========================================================
  SMART INTERACTIVE - 8 MENU IMAGE OPTICAL SIZE NORMALIZATION
  Mobile only:
  - Semua gambar memakai frame visual yang sama.
  - Skala per file dinormalisasi agar karakter terlihat setara.
  - Label menu tetap pada garis yang konsisten.
  - Tidak mengubah HTML maupun JavaScript.
========================================================= */
@media (max-width: 680px) {
  .mobileMenuCard--image .mobileMenuIcon--menuImage {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    align-self: end;

    overflow: visible;
  }

  .mobileMenuCard--image .mobileMenuIconImage {
    width: 58px;
    height: 58px;
    max-width: none;
    max-height: none;

    object-fit: contain;
    object-position: center center;

    transform:
      translateY(0)
      scale(var(--menu-image-scale, 1));

    transform-origin: center center;
  }

  /*
    Optical normalization.
    Medis berbentuk lebih tinggi sehingga cukup 1x.
    Edukasi cenderung lebih melebar sehingga sedikit diperbesar.
    Menu lain diberi baseline yang sama dan mudah dituning kemudian.
  */
  .mobileMenuIconImage--medis {
    --menu-image-scale: 1;
  }

  .mobileMenuIconImage--edukasi {
    --menu-image-scale: 1.14;
  }

  .mobileMenuIconImage--hiburan,
  .mobileMenuIconImage--makanan,
  .mobileMenuIconImage--orang-tua,
  .mobileMenuIconImage--penunjang,
  .mobileMenuIconImage--bantuan,
  .mobileMenuIconImage--keamanan {
    --menu-image-scale: 1.08;
  }

  .mobileMenuCard--image strong {
    align-self: start;
    margin-top: 7px;
  }
}

@media (max-width: 390px) {
  .mobileMenuCard--image .mobileMenuIcon--menuImage {
    width: 57px;
    height: 57px;
  }

  .mobileMenuCard--image .mobileMenuIconImage {
    width: 53px;
    height: 53px;
  }

  .mobileMenuIconImage--edukasi {
    --menu-image-scale: 1.12;
  }

  .mobileMenuIconImage--hiburan,
  .mobileMenuIconImage--makanan,
  .mobileMenuIconImage--orang-tua,
  .mobileMenuIconImage--penunjang,
  .mobileMenuIconImage--bantuan,
  .mobileMenuIconImage--keamanan {
    --menu-image-scale: 1.06;
  }

  .mobileMenuCard--image strong {
    margin-top: 6px;
  }
}

/* =========================================================
  SMART INTERACTIVE - MOBILE MENU WAVE CARD FINAL
  Konsep:
  - Area gambar: putih bersih.
  - Area nama: kuning-orange.
  - Batas area nama: lengkungan ombak.
  - Card: 3D, timbul, empuk.
  - Semua 8 gambar memakai frame visual seragam.
  - Hanya tampilan mobile; HTML/function/data-nav tidak berubah.
========================================================= */
@media (max-width: 680px) {
  .mobileMenuGrid {
    gap: 10px;
  }

  .mobileMenuCard.mobileMenuCard--image {
    position: relative;
    overflow: hidden;

    min-width: 0;
    min-height: 112px;

    padding: 7px 4px 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 19px;

    background:
      radial-gradient(
        circle at 30% 15%,
        rgba(255, 249, 236, .72),
        transparent 35%
      ),
      linear-gradient(
        155deg,
        #ffffff 0%,
        #fffdf9 58%,
        #fffaf3 100%
      );

    border: 1px solid rgba(255,255,255,.98);

    box-shadow:
      0 2px 4px rgba(126,76,25,.07),
      0 8px 16px rgba(126,76,25,.12),
      0 17px 28px rgba(126,76,25,.08),
      inset 0 2px 0 rgba(255,255,255,1),
      inset 0 -2px 5px rgba(210,163,103,.07);

    transform: translateY(-2px);

    transition:
      transform .18s ease,
      box-shadow .18s ease,
      border-color .18s ease;
  }

  /* Matikan bulatan lama pada card supaya area gambar benar-benar putih/clean. */
  .mobileMenuCard.mobileMenuCard--image::before,
  .mobileMenuCard.mobileMenuCard--image::after {
    content: none;
  }

  /* -------------------------------------------------------
    FRAME GAMBAR
    Semua karakter ditempatkan dalam area visual yang sama.
  ------------------------------------------------------- */
  .mobileMenuCard--image .mobileMenuIcon--menuImage {
    position: relative;
    z-index: 2;

    width: 64px;
    height: 64px;

    display: grid;
    place-items: center;

    margin: 0;

    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .mobileMenuCard--image .mobileMenuIconImage {
    width: 60px;
    height: 60px;
    max-width: none;
    max-height: none;

    display: block;

    object-fit: contain;
    object-position: center center;

    user-select: none;
    -webkit-user-drag: none;

    transform:
      translateY(0)
      scale(var(--menu-wave-image-scale, 1));

    transform-origin: center center;

    filter:
      drop-shadow(0 3px 4px rgba(111,68,20,.08))
      drop-shadow(0 7px 10px rgba(111,68,20,.07));
  }

  /*
    Optical normalization:
    file PNG mempunyai framing berbeda-beda.
    Nilai ini menyamakan ukuran visual karakter tanpa mengubah file gambar.
  */
  .mobileMenuIconImage--medis {
    --menu-wave-image-scale: 1.00;
  }

  .mobileMenuIconImage--edukasi {
    --menu-wave-image-scale: 1.10;
  }

  .mobileMenuIconImage--hiburan {
    --menu-wave-image-scale: 1.04;
  }

  .mobileMenuIconImage--makanan {
    --menu-wave-image-scale: 1.02;
  }

  .mobileMenuIconImage--orang-tua {
    --menu-wave-image-scale: 1.00;
  }

  .mobileMenuIconImage--penunjang {
    --menu-wave-image-scale: 1.03;
  }

  .mobileMenuIconImage--bantuan,
  .mobileMenuIconImage--keamanan {
    --menu-wave-image-scale: 1.00;
  }

  /* -------------------------------------------------------
    LABEL + WAVE
    strong menjadi area label di bawah card.
  ------------------------------------------------------- */
  .mobileMenuCard--image strong {
    position: absolute;
    z-index: 4;

    left: 0;
    right: 0;
    bottom: 0;

    height: 39px;

    margin: 0;
    padding: 11px 5px 4px;

    display: grid;
    place-items: center;

    color: #5a3519;

    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;

    background:
      linear-gradient(
        180deg,
        #ffd65b 0%,
        #ffc52d 58%,
        #ffb70f 100%
      );

    text-shadow:
      0 1px 0 rgba(255,255,255,.34);

    box-shadow:
      inset 0 -2px 4px rgba(188,112,0,.08);
  }

  /*
    Wave dibuat menggunakan SVG sebagai background pseudo-element.
    Ini lebih presisi daripada border-radius biasa dan tidak membutuhkan
    file gambar tambahan.
  */
  .mobileMenuCard--image strong::before {
    content: "";

    position: absolute;
    z-index: -1;

    left: -1px;
    right: -1px;
    top: -17px;

    height: 21px;

    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath d='M0 9 C17 1 29 17 47 12 C65 7 80 1 100 8 L100 24 L0 24 Z' fill='%23ffd65b'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;

    pointer-events: none;
  }

  /* garis highlight tipis mengikuti batas wave */
  .mobileMenuCard--image strong::after {
    content: "";

    position: absolute;
    z-index: 1;

    left: 5%;
    right: 5%;
    top: -7px;

    height: 1px;

    border-radius: 999px;
    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.52) 25%,
        rgba(255,255,255,.62) 50%,
        rgba(255,255,255,.52) 75%,
        transparent
      );

    opacity: .72;
    pointer-events: none;
  }

  /* -------------------------------------------------------
    INTERACTION
  ------------------------------------------------------- */
  .mobileMenuCard.mobileMenuCard--image:hover {
    transform: translateY(-3px);

    border-color: rgba(255,255,255,1);

    box-shadow:
      0 3px 5px rgba(126,76,25,.08),
      0 10px 20px rgba(126,76,25,.14),
      0 20px 32px rgba(126,76,25,.09),
      inset 0 2px 0 rgba(255,255,255,1),
      inset 0 -2px 5px rgba(210,163,103,.07);
  }

  .mobileMenuCard.mobileMenuCard--image:active {
    transform: translateY(0) scale(.985);

    box-shadow:
      0 2px 4px rgba(126,76,25,.06),
      0 5px 10px rgba(126,76,25,.09),
      inset 0 2px 5px rgba(185,132,72,.07),
      inset 0 -1px 0 rgba(255,255,255,.76);
  }
}

@media (max-width: 390px) {
  .mobileMenuGrid {
    gap: 8px;
  }

  .mobileMenuCard.mobileMenuCard--image {
    min-height: 104px;

    padding: 6px 3px 41px;

    border-radius: 17px;

    transform: translateY(-1px);

    box-shadow:
      0 2px 4px rgba(126,76,25,.06),
      0 7px 14px rgba(126,76,25,.11),
      0 14px 24px rgba(126,76,25,.07),
      inset 0 2px 0 rgba(255,255,255,1),
      inset 0 -2px 4px rgba(210,163,103,.06);
  }

  .mobileMenuCard--image .mobileMenuIcon--menuImage {
    width: 58px;
    height: 58px;
  }

  .mobileMenuCard--image .mobileMenuIconImage {
    width: 54px;
    height: 54px;
  }

  .mobileMenuCard--image strong {
    height: 36px;

    padding-top: 10px;

    font-size: 9px;
  }

  .mobileMenuCard--image strong::before {
    top: -15px;
    height: 19px;
  }

  .mobileMenuCard.mobileMenuCard--image:hover {
    transform: translateY(-2px);
  }

  .mobileMenuCard.mobileMenuCard--image:active {
    transform: translateY(0) scale(.985);
  }
}

/* =========================================================
  SMART INTERACTIVE - MENU WAVE STRUCTURE FIX
  Perbaikan:
  - Panel label dikunci absolute di bawah card.
  - Wave melebar penuh dari kiri ke kanan.
  - Area gambar kembali putih penuh seperti referensi.
  - Mengalahkan rule lama:
    .mobileMenuCard.mobileMenuCard--image > *
========================================================= */
@media (max-width: 680px) {
  .mobileMenuCard.mobileMenuCard--image {
    position: relative;
    overflow: hidden;

    min-height: 112px;
    padding: 7px 4px 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
      radial-gradient(
        circle at 30% 12%,
        rgba(255, 249, 236, .72),
        transparent 36%
      ),
      linear-gradient(
        155deg,
        #ffffff 0%,
        #fffdf9 64%,
        #fffaf3 100%
      );
  }

  /* Area gambar tetap normal di dalam flow */
  .mobileMenuCard.mobileMenuCard--image > .mobileMenuIcon--menuImage {
    position: relative;
    z-index: 2;
  }

  /* INI FIX UTAMA:
     specificity sengaja lebih tinggi dari rule > * sebelumnya */
  .mobileMenuCard.mobileMenuCard--image > strong {
    position: absolute !important;
    z-index: 5 !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: 39px !important;

    margin: 0 !important;
    padding: 11px 4px 5px !important;

    display: grid !important;
    place-items: center !important;

    color: #5a3519 !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;

    text-align: center !important;
    white-space: nowrap !important;

    background:
      linear-gradient(
        180deg,
        #ffd65b 0%,
        #ffc52d 58%,
        #ffb70f 100%
      ) !important;

    box-shadow:
      inset 0 -2px 4px rgba(188,112,0,.08) !important;
  }

  /* Wave penuh selebar card */
  .mobileMenuCard.mobileMenuCard--image > strong::before {
    content: "" !important;

    position: absolute !important;
    z-index: -1 !important;

    left: 0 !important;
    right: 0 !important;
    top: -17px !important;

    width: 100% !important;
    height: 20px !important;

    background:
      #ffd65b !important;

    clip-path:
      path("M 0 8 C 18 2, 28 17, 48 12 C 67 7, 81 1, 100 7 L 100 24 L 0 24 Z");

    transform: scaleX(1.02);
    transform-origin: center bottom;

    pointer-events: none !important;
  }

  /* Fallback wave untuk browser yang belum sempurna mendukung path() */
  @supports not (clip-path: path("M0 0 L1 1")) {
    .mobileMenuCard.mobileMenuCard--image > strong::before {
      clip-path: polygon(
        0 38%,
        12% 20%,
        25% 36%,
        39% 58%,
        53% 49%,
        68% 28%,
        82% 16%,
        100% 31%,
        100% 100%,
        0 100%
      );
    }
  }

  /* Highlight tipis mengikuti area wave */
  .mobileMenuCard.mobileMenuCard--image > strong::after {
    content: "" !important;

    position: absolute !important;
    z-index: 1 !important;

    left: 9% !important;
    right: 9% !important;
    top: -6px !important;

    height: 1px !important;

    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.55) 24%,
        rgba(255,255,255,.68) 50%,
        rgba(255,255,255,.55) 76%,
        transparent
      ) !important;

    opacity: .74;
    pointer-events: none !important;
  }

  /* Pastikan gambar tidak bergeser oleh panel label */
  .mobileMenuCard--image .mobileMenuIcon--menuImage {
    margin-top: -2px;
  }
}

@media (max-width: 390px) {
  .mobileMenuCard.mobileMenuCard--image {
    min-height: 104px;
    padding: 6px 3px 40px;
  }

  .mobileMenuCard.mobileMenuCard--image > strong {
    height: 36px !important;
    padding: 10px 3px 4px !important;
    font-size: 9px !important;
  }

  .mobileMenuCard.mobileMenuCard--image > strong::before {
    top: -15px !important;
    height: 18px !important;
  }
}

/* =========================================================
  SMART INTERACTIVE - MENU DARURAT
  - Darurat memakai ./img/menu/darurat.png
  - Mengikuti frame dan wave card yang sama dengan 7 menu lain.
========================================================= */
@media (max-width: 680px) {
  .mobileMenuIconImage--darurat {
    --menu-image-scale: 1.04;
    --menu-wave-image-scale: 1.04;
  }
}

@media (max-width: 390px) {
  .mobileMenuIconImage--darurat {
    --menu-image-scale: 1.02;
    --menu-wave-image-scale: 1.02;
  }
}

/* =========================================================
  SMART INTERACTIVE - MOBILE MENU COMPACT WAVE FINAL
  Baseline: dashboard.css terbaru

  TUJUAN:
  - Tinggi 8 card menu dikurangi.
  - Area label kuning-orange dibuat lebih pendek.
  - Teks menu dinaikkan agar tidak terlalu dekat ke dasar card.
  - Area gambar tetap putih.
  - Wave tetap penuh selebar card.
  - Efek 3D/timbul/empuk tetap dipertahankan.
  - Tidak mengubah HTML, data-nav, atau JavaScript.
========================================================= */
@media (max-width: 680px) {
  .mobileMenuCard.mobileMenuCard--image {
    position: relative;
    overflow: hidden;

    min-height: 96px;
    padding: 5px 4px 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
      radial-gradient(
        circle at 30% 12%,
        rgba(255, 249, 236, .72),
        transparent 36%
      ),
      linear-gradient(
        155deg,
        #ffffff 0%,
        #fffdf9 64%,
        #fffaf3 100%
      );

    border: 1px solid rgba(255,255,255,.98);

    box-shadow:
      0 2px 4px rgba(126,76,25,.07),
      0 7px 14px rgba(126,76,25,.12),
      0 14px 24px rgba(126,76,25,.08),
      inset 0 2px 0 rgba(255,255,255,1),
      inset 0 -2px 4px rgba(210,163,103,.07);

    transform: translateY(-1px);
  }

  /* Area gambar dipadatkan supaya card bisa lebih pendek */
  .mobileMenuCard.mobileMenuCard--image > .mobileMenuIcon--menuImage {
    position: relative;
    z-index: 2;

    width: 54px;
    height: 54px;

    margin-top: -3px;

    display: grid;
    place-items: center;
  }

  .mobileMenuCard.mobileMenuCard--image .mobileMenuIconImage {
    width: 50px;
    height: 50px;

    max-width: none;
    max-height: none;

    object-fit: contain;
    object-position: center center;

    transform:
      translateY(0)
      scale(var(--menu-wave-image-scale, 1));

    transform-origin: center center;
  }

  /* Panel label dibuat lebih pendek */
  .mobileMenuCard.mobileMenuCard--image > strong {
    position: absolute !important;
    z-index: 5 !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: 30px !important;

    margin: 0 !important;
    padding: 5px 4px 2px !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;

    color: #5a3519 !important;

    font-size: 9.8px !important;
    line-height: 1 !important;
    font-weight: 900 !important;

    text-align: center !important;
    white-space: nowrap !important;

    background:
      linear-gradient(
        180deg,
        #ffd65b 0%,
        #ffc52d 58%,
        #ffb70f 100%
      ) !important;

    text-shadow:
      0 1px 0 rgba(255,255,255,.34) !important;

    box-shadow:
      inset 0 -2px 4px rgba(188,112,0,.08) !important;
  }

  /* Wave dibuat lebih pendek agar mengikuti card compact */
  .mobileMenuCard.mobileMenuCard--image > strong::before {
    content: "" !important;

    position: absolute !important;
    z-index: -1 !important;

    left: 0 !important;
    right: 0 !important;
    top: -12px !important;

    width: 100% !important;
    height: 15px !important;

    background: #ffd65b !important;

    clip-path:
      path("M 0 8 C 18 2, 28 17, 48 12 C 67 7, 81 1, 100 7 L 100 24 L 0 24 Z");

    transform: scaleX(1.02);
    transform-origin: center bottom;

    pointer-events: none !important;
  }

  @supports not (clip-path: path("M0 0 L1 1")) {
    .mobileMenuCard.mobileMenuCard--image > strong::before {
      clip-path: polygon(
        0 38%,
        12% 20%,
        25% 36%,
        39% 58%,
        53% 49%,
        68% 28%,
        82% 16%,
        100% 31%,
        100% 100%,
        0 100%
      );
    }
  }

  /* Highlight mengikuti wave yang baru */
  .mobileMenuCard.mobileMenuCard--image > strong::after {
    content: "" !important;

    position: absolute !important;
    z-index: 1 !important;

    left: 10% !important;
    right: 10% !important;
    top: -4px !important;

    height: 1px !important;

    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.52) 24%,
        rgba(255,255,255,.68) 50%,
        rgba(255,255,255,.52) 76%,
        transparent
      ) !important;

    opacity: .72;
    pointer-events: none !important;
  }

  .mobileMenuCard.mobileMenuCard--image:hover {
    transform: translateY(-2px);

    box-shadow:
      0 3px 5px rgba(126,76,25,.08),
      0 9px 18px rgba(126,76,25,.14),
      0 17px 27px rgba(126,76,25,.09),
      inset 0 2px 0 rgba(255,255,255,1),
      inset 0 -2px 4px rgba(210,163,103,.07);
  }

  .mobileMenuCard.mobileMenuCard--image:active {
    transform: translateY(0) scale(.985);

    box-shadow:
      0 2px 4px rgba(126,76,25,.06),
      0 5px 9px rgba(126,76,25,.09),
      inset 0 2px 4px rgba(185,132,72,.07),
      inset 0 -1px 0 rgba(255,255,255,.76);
  }
}

@media (max-width: 390px) {
  .mobileMenuCard.mobileMenuCard--image {
    min-height: 90px;
    padding: 4px 3px 29px;

    border-radius: 16px;
  }

  .mobileMenuCard.mobileMenuCard--image > .mobileMenuIcon--menuImage {
    width: 49px;
    height: 49px;

    margin-top: -2px;
  }

  .mobileMenuCard.mobileMenuCard--image .mobileMenuIconImage {
    width: 45px;
    height: 45px;
  }

  .mobileMenuCard.mobileMenuCard--image > strong {
    height: 28px !important;
    padding: 4px 3px 2px !important;

    font-size: 8.9px !important;
  }

  .mobileMenuCard.mobileMenuCard--image > strong::before {
    top: -11px !important;
    height: 14px !important;
  }

  .mobileMenuCard.mobileMenuCard--image > strong::after {
    top: -4px !important;
  }
}

/* =========================================================
  SMART INTERACTIVE - MOBILE MENU LABEL DOWN 3PX
  - Hanya menurunkan text menu sebesar 3px pada HP.
  - Tidak mengubah tinggi card, wave, gambar, atau fungsi.
========================================================= */
@media (max-width: 680px) {
  .mobileMenuCard.mobileMenuCard--image > strong {
    padding-top: 8px !important;
  }
}

@media (max-width: 390px) {
  .mobileMenuCard.mobileMenuCard--image > strong {
    padding-top: 7px !important;
  }
}

/* =========================================================
  SMART INTERACTIVE - ACTIVITY HISTORY + NOTIFICATION CARD
  Mobile only:
  - Icon Aktivitas terbaru menjadi icon riwayat dan orange.
  - Card Notifikasi ditampilkan tepat di bawah welcome card.
  - Card mengikuti tema warm/soft 3D Smart Interactive.
  - Navigasi memakai .menu-item[data-nav] yang sudah ada.
========================================================= */

/* Default: jangan tampilkan card notifikasi pada desktop/laptop. */
.mobileNotificationCard {
  display: none;
}

@media (max-width: 680px) {
  /* -------------------------------------------------------
    AKTIVITAS TERBARU - ICON RIWAYAT ORANGE
  ------------------------------------------------------- */
  .mobileActivityIcon.mobileActivityIcon--history {
    color: #f26b1d;

    background:
      linear-gradient(
        145deg,
        #fff8e8 0%,
        #fff0cf 100%
      );

    border: 1px solid rgba(255, 183, 15, .18);

    box-shadow:
      0 4px 9px rgba(165, 99, 20, .07),
      inset 0 1px 0 rgba(255,255,255,.82);
  }

  .mobileActivityIcon.mobileActivityIcon--history i {
    color: #f26b1d;
  }

  /* -------------------------------------------------------
    CARD NOTIFIKASI
    Posisi: tepat di bawah welcome card.
  ------------------------------------------------------- */
  .mobileNotificationCard {
    position: relative;

    width: 100%;
    min-height: 58px;

    margin: -2px 0 12px;
    padding: 9px 10px;

    display: grid;
    grid-template-columns: 39px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;

    overflow: hidden;

    border-radius: 18px;
    cursor: pointer;

    background:
      radial-gradient(
        circle at 92% 12%,
        rgba(255, 211, 99, .22),
        transparent 30%
      ),
      radial-gradient(
        circle at 10% 100%,
        rgba(255, 137, 54, .08),
        transparent 34%
      ),
      linear-gradient(
        155deg,
        rgba(255,255,255,.99) 0%,
        rgba(255,250,242,.99) 100%
      );

    border: 1px solid rgba(255,255,255,.98);

    box-shadow:
      0 2px 4px rgba(126,76,25,.05),
      0 8px 17px rgba(126,76,25,.09),
      inset 0 1px 0 rgba(255,255,255,1);

    transition:
      transform .18s ease,
      box-shadow .18s ease;
  }

  .mobileNotificationCard::before {
    content: "";

    position: absolute;
    top: -31px;
    right: -25px;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    background:
      radial-gradient(
        circle,
        rgba(255, 183, 15, .13),
        rgba(255, 183, 15, .035) 62%,
        transparent 72%
      );

    pointer-events: none;
  }

  .mobileNotificationCard::after {
    content: "";

    position: absolute;
    left: 54px;
    right: 58px;
    bottom: 0;

    height: 1px;

    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(242,107,29,.10),
        transparent
      );

    pointer-events: none;
  }

  .mobileNotificationCard > * {
    position: relative;
    z-index: 1;
  }

  .mobileNotificationIcon {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    color: #ffffff;

    background:
      radial-gradient(
        circle at 30% 20%,
        rgba(255,255,255,.30),
        transparent 35%
      ),
      linear-gradient(
        180deg,
        #ffc843 0%,
        #ffbd24 38%,
        #ffb70f 72%,
        #f7aa00 100%
      );

    border: 1px solid rgba(255, 211, 103, .82);

    box-shadow:
      0 4px 8px rgba(194,125,0,.11),
      0 8px 14px rgba(194,125,0,.10),
      inset 0 1px 0 rgba(255,255,255,.60),
      inset 0 -2px 4px rgba(201,124,0,.10);
  }

  .mobileNotificationIcon i {
    color: #ffffff;
    font-size: 15px;
  }

  .mobileNotificationContent {
    min-width: 0;

    display: grid;
    gap: 2px;
  }

  .mobileNotificationContent strong {
    color: #543720;

    font-size: 10.5px;
    line-height: 1.1;
    font-weight: 900;
  }

  .mobileNotificationContent small {
    overflow: hidden;

    color: #92765d;

    font-size: 8.2px;
    line-height: 1.25;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobileNotificationAction {
    min-height: 28px;
    padding: 0 8px;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    border-radius: 999px;

    color: #f26b1d;

    background:
      linear-gradient(
        145deg,
        #fff8e8 0%,
        #fff2d9 100%
      );

    border: 1px solid rgba(255,183,15,.15);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.76);

    font-size: 8.3px;
    font-weight: 900;
  }

  .mobileNotificationAction i {
    font-size: 7px;
  }

  .mobileNotificationCard:hover {
    transform: translateY(-1px);

    box-shadow:
      0 3px 5px rgba(126,76,25,.06),
      0 10px 19px rgba(126,76,25,.11),
      inset 0 1px 0 rgba(255,255,255,1);
  }

  .mobileNotificationCard:active {
    transform: scale(.988);

    box-shadow:
      0 2px 5px rgba(126,76,25,.07),
      inset 0 2px 5px rgba(184,125,66,.05);
  }
}

@media (max-width: 390px) {
  .mobileNotificationCard {
    min-height: 54px;

    padding: 8px 8px;

    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 8px;

    border-radius: 16px;
  }

  .mobileNotificationIcon {
    width: 36px;
    height: 36px;

    border-radius: 12px;
  }

  .mobileNotificationIcon i {
    font-size: 14px;
  }

  .mobileNotificationContent strong {
    font-size: 9.8px;
  }

  .mobileNotificationContent small {
    font-size: 7.7px;
  }

  .mobileNotificationAction {
    min-height: 26px;
    padding: 0 7px;

    font-size: 7.8px;
  }
}

/* =========================================================
  SMART INTERACTIVE - DESKTOP/TABLET NAVBAR BRAND LOGO FINAL
  Asset: ./img/logo/logo-app.png

  Fokus:
  - Desktop/laptop memakai logo brand yang sama dengan mobile.
  - Tidak mengubah profil pengguna di kanan.
  - Tidak mengubah sidebar, navigasi, session, notifikasi, atau logout.
  - Mobile <=680px tetap memakai .mobileSmartHeader baseline yang sudah ada.
========================================================= */
@media (min-width: 681px) {
  .dashboardTopbarLeft {
    min-width: 0;
    display: flex;
    align-items: center;
  }

  .desktopSmartBrand {
    min-width: 0;
    max-width: min(310px, 31vw);
    height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    overflow: visible;
    text-decoration: none;
  }

  .desktopSmartBrandLogo {
    width: auto;
    height: 50px;
    max-width: 100%;

    display: block;

    object-fit: contain;
    object-position: left center;

    filter:
      drop-shadow(0 4px 8px rgba(130, 76, 22, .045));
  }
}

/* Mobile memakai logo yang sudah ada di .mobileSmartHeader. */
@media (max-width: 680px) {
  .desktopSmartBrand {
    display: none !important;
  }
}


/* =========================================================
  SMART INTERACTIVE - DESKTOP MENU LAINNYA = MENU HP
  2026-08-26

  GUARD / BATAS PERUBAHAN:
  - Tidak ada rule baru untuk <=680px.
  - Struktur .mobileDashboardHome dan seluruh .mobileMenuCard
    tetap memakai baseline mobile yang sudah stabil.
  - Hanya card Menu Lainnya desktop/tablet yang memakai class
    .support-menu-card--mobile-match.
  - data-nav tetap ditangani dashboard.js yang sama.
========================================================= */

/* Tablet/desktop saja. HP <=680px TIDAK TERKENA. */
@media (min-width: 681px) {
  .support-menu-grid.support-menu-grid--mobile-match {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .support-menu-card.support-menu-card--mobile-match {
    position: relative;
    isolation: isolate;

    min-width: 0;
    min-height: 174px;

    padding: 14px 12px 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    cursor: pointer;

    border: 1px solid rgba(255,255,255,.98);
    border-radius: 25px;

    background:
      radial-gradient(
        circle at 30% 12%,
        rgba(255,249,236,.76),
        transparent 36%
      ),
      linear-gradient(
        155deg,
        #ffffff 0%,
        #fffdf9 64%,
        #fffaf3 100%
      );

    box-shadow:
      0 2px 4px rgba(126,76,25,.06),
      0 9px 18px rgba(126,76,25,.11),
      0 20px 34px rgba(126,76,25,.075),
      inset 0 2px 0 rgba(255,255,255,1),
      inset 0 -2px 5px rgba(210,163,103,.065);

    transform: none;

    transition:
      transform .18s ease,
      box-shadow .18s ease,
      border-color .18s ease;
  }

  .support-menu-card.support-menu-card--mobile-match::before,
  .support-menu-card.support-menu-card--mobile-match::after {
    content: none;
  }

  .support-menu-card--mobile-match .support-mobile-match-image-wrap {
    position: relative;
    z-index: 2;

    width: 104px;
    height: 104px;

    display: grid;
    place-items: center;

    margin: -3px 0 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .support-menu-card--mobile-match .support-mobile-match-image {
    --desktop-menu-image-scale: 1;

    width: 94px;
    height: 94px;
    max-width: none;
    max-height: none;

    display: block;

    object-fit: contain;
    object-position: center center;

    user-select: none;
    -webkit-user-drag: none;

    transform: scale(var(--desktop-menu-image-scale));
    transform-origin: center center;

    filter:
      drop-shadow(0 4px 5px rgba(111,68,20,.08))
      drop-shadow(0 8px 12px rgba(111,68,20,.065));
  }

  /* Optical normalization mengikuti karakter menu HP. */
  .support-mobile-match-image--medis {
    --desktop-menu-image-scale: 1.00;
  }

  .support-mobile-match-image--edukasi {
    --desktop-menu-image-scale: 1.10;
  }

  .support-mobile-match-image--hiburan {
    --desktop-menu-image-scale: 1.04;
  }

  .support-mobile-match-image--makanan {
    --desktop-menu-image-scale: 1.02;
  }

  .support-mobile-match-image--orang-tua {
    --desktop-menu-image-scale: 1.00;
  }

  .support-mobile-match-image--darurat {
    --desktop-menu-image-scale: 1.04;
  }

  .support-mobile-match-image--bantuan,
  .support-mobile-match-image--penunjang {
    --desktop-menu-image-scale: 1.00;
  }

  .support-menu-card--mobile-match .support-mobile-match-label {
    position: absolute;
    z-index: 5;

    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 48px;

    margin: 0;
    padding: 14px 8px 5px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    color: #5a3519;

    background:
      linear-gradient(
        180deg,
        #ffd65b 0%,
        #ffc52d 58%,
        #ffb70f 100%
      );

    box-shadow:
      inset 0 -2px 5px rgba(188,112,0,.08);

    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;

    text-shadow:
      0 1px 0 rgba(255,255,255,.34);
  }

  .support-menu-card--mobile-match .support-mobile-match-label::before {
    content: "";

    position: absolute;
    z-index: -1;

    left: -1px;
    right: -1px;
    top: -20px;

    height: 23px;

    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpath d='M0 9 C17 1 29 17 47 12 C65 7 80 1 100 8 L100 24 L0 24 Z' fill='%23ffd65b'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;

    pointer-events: none;
  }

  .support-menu-card--mobile-match .support-mobile-match-label::after {
    content: "";

    position: absolute;
    z-index: 1;

    left: 9%;
    right: 9%;
    top: -8px;

    height: 1px;

    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.52) 24%,
        rgba(255,255,255,.68) 50%,
        rgba(255,255,255,.52) 76%,
        transparent
      );

    opacity: .72;
    pointer-events: none;
  }

  .support-menu-card.support-menu-card--mobile-match:hover,
  .support-menu-card.support-menu-card--mobile-match:focus-visible {
    outline: none;

    transform: translateY(-3px);
    border-color: rgba(255,255,255,1);

    box-shadow:
      0 3px 5px rgba(126,76,25,.07),
      0 12px 22px rgba(126,76,25,.13),
      0 23px 38px rgba(126,76,25,.085),
      inset 0 2px 0 rgba(255,255,255,1),
      inset 0 -2px 5px rgba(210,163,103,.065);
  }

  .support-menu-card.support-menu-card--mobile-match:active {
    transform: translateY(0) scale(.99);

    box-shadow:
      0 2px 4px rgba(126,76,25,.055),
      0 6px 11px rgba(126,76,25,.085),
      inset 0 2px 5px rgba(185,132,72,.055),
      inset 0 -1px 0 rgba(255,255,255,.78);
  }
}

/* Laptop / desktop: susunan sama seperti HP, 4 menu x 2 baris. */
@media (min-width: 901px) {
  .support-menu-grid.support-menu-grid--mobile-match {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.4vw, 20px);
  }

  .support-menu-card.support-menu-card--mobile-match {
    min-height: clamp(176px, 15vw, 205px);
    padding-bottom: 57px;
  }

  .support-menu-card--mobile-match .support-mobile-match-image-wrap {
    width: clamp(96px, 8vw, 118px);
    height: clamp(96px, 8vw, 118px);
  }

  .support-menu-card--mobile-match .support-mobile-match-image {
    width: clamp(88px, 7.2vw, 108px);
    height: clamp(88px, 7.2vw, 108px);
  }

  .support-menu-card--mobile-match .support-mobile-match-label {
    height: 50px;
    padding-top: 15px;
    font-size: clamp(13px, 1.1vw, 15px);
  }
}


/* =========================================================
  SMART INTERACTIVE - DESKTOP USER DROPDOWN FINAL
  Profil | Pengaturan | Logout

  - Hanya desktop/tablet >680px.
  - Mobile burger tetap memakai baseline lama.
  - Dropdown berada tepat di bawah user card.
========================================================= */
.dashboardUserMenuWrap {
  position: relative;
  flex: 0 0 auto;
}

.dashboardUserCard.is-menu-open {
  border-color: rgba(255, 183, 15, .28);
  box-shadow:
    0 13px 26px rgba(145,95,43,.14),
    inset 0 1px 0 rgba(255,255,255,.96);
}

.dashboardUserCard.is-menu-open .dashboardUserChevron {
  transform: rotate(180deg);
}

.dashboardUserChevron {
  transition:
    transform .18s ease,
    color .18s ease;
}

.dashboardUserDropdown {
  position: absolute;
  z-index: 180;

  top: calc(100% + 9px);
  right: 0;

  width: 190px;
  padding: 7px;

  display: grid;
  gap: 4px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255,220,169,.16),
      transparent 32%
    ),
    linear-gradient(
      155deg,
      rgba(255,255,255,.99),
      rgba(255,248,237,.99)
    );

  border: 1px solid rgba(255,255,255,.96);
  border-radius: 17px;

  box-shadow:
    0 18px 38px rgba(104,61,24,.16),
    0 5px 15px rgba(104,61,24,.08),
    inset 0 1px 0 rgba(255,255,255,.96);

  transform-origin: top right;
  animation: dashboardUserDropdownEnter .18s ease both;
}

.dashboardUserDropdown[hidden] {
  display: none !important;
}

.dashboardUserDropdownItem {
  width: 100%;
  min-height: 43px;

  padding: 6px 9px;

  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 9px;

  color: #664326;
  background: transparent;

  border: 0;
  border-radius: 12px;

  text-align: left;

  font-size: 12px;
  font-weight: 800;

  cursor: pointer;

  transition:
    background .16s ease,
    color .16s ease,
    transform .16s ease;
}

.dashboardUserDropdownItem:hover,
.dashboardUserDropdownItem:focus-visible {
  outline: none;

  color: #d6602a;
  background: #fff0dd;

  transform: translateX(1px);
}

.dashboardUserDropdownItem:active {
  transform: scale(.985);
}

.dashboardUserDropdownIcon {
  width: 31px;
  height: 31px;

  display: grid;
  place-items: center;

  color: #f26b1d;
  background: #fff5e7;

  border: 1px solid rgba(255,183,15,.14);
  border-radius: 10px;
}

.dashboardUserDropdownIcon i {
  color: #f26b1d;
  font-size: 12px;
}

.dashboardUserDropdownItem--logout {
  margin-top: 2px;
  border-top: 1px solid rgba(221,174,121,.14);
  border-radius: 0 0 12px 12px;
}

.dashboardUserDropdownItem--logout:hover,
.dashboardUserDropdownItem--logout:focus-visible {
  color: #d6602a;
  background: #fff0dd;
}

.dashboardUserDropdownItem:disabled {
  cursor: wait;
  opacity: .62;
}

@keyframes dashboardUserDropdownEnter {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile memakai burger yang sudah stabil. */
@media (max-width: 680px) {
  .dashboardUserMenuWrap,
  .dashboardUserDropdown {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboardUserDropdown {
    animation: none !important;
  }

  .dashboardUserChevron,
  .dashboardUserDropdownItem {
    transition: none !important;
  }
}
