/* =========================================================
   JamWira - Stylesheet (DANA-inspired mobile UI)
   ========================================================= */
:root {
  --jw-blue: #0A6CFF;
  --jw-blue-dark: #0048B3;
  --jw-blue-light: #E8F1FF;
  --jw-bg: #F2F4F8;
  --jw-white: #FFFFFF;
  --jw-text: #1A1D29;
  --jw-text-muted: #7C8398;
  --jw-orange: #FF8A00;
  --jw-green: #12B76A;
  --jw-red: #E4483C;
  --jw-yellow: #FFC542;
  --jw-radius-lg: 20px;
  --jw-radius-md: 14px;
  --jw-radius-sm: 10px;
  --jw-shadow: 0 8px 24px rgba(16, 24, 64, 0.08);
  --jw-shadow-sm: 0 2px 8px rgba(16, 24, 64, 0.06);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #DCE3F0;
  font-family: var(--font-main);
  color: var(--jw-text);
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  letter-spacing: 0.1px;
  touch-action: manipulation;
  overscroll-behavior-y: contain;
  -webkit-text-size-adjust: 100%;
}

/* Disable pinch-zoom & double-tap-to-zoom app-wide (native app feel) */
html {
  touch-action: manipulation;
}
img, svg { touch-action: manipulation; }

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* App shell: constrained mobile frame, centers on desktop */
.app-shell {
  max-width: 460px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--jw-bg);
  position: relative;
  padding-bottom: 88px;
  box-shadow: 0 0 40px rgba(0,0,0,0.12);
}

/* ---------------- Header ---------------- */
.jw-header {
  background: linear-gradient(160deg, var(--jw-blue) 0%, #2F8CFF 100%);
  color: #fff;
  padding: 18px 18px 46px;
  border-radius: 0 0 28px 28px;
  position: relative;
}
/* iPhone: begitu di-install jadi PWA, status bar (jam/baterai/sinyal) menimpa konten
   kecuali kita kasih jarak selebar area aman iOS di bagian atas. */
@media (display-mode: standalone) {
  .jw-header { padding-top: calc(18px + env(safe-area-inset-top)); }
}
.jw-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.jw-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.jw-header-brand .logo-dot {
  width: 30px; height: 30px;
  background: #fff;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--jw-blue);
  font-weight: 700;
  font-size: 13px;
}
.jw-header-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  border: none;
  color: #fff;
  position: relative;
}
.jw-header-icon .dot-badge {
  position: absolute; top: 4px; right: 5px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--jw-yellow);
  border: 1.5px solid var(--jw-blue);
}

.jw-balance-label { font-size: 12.5px; opacity: 0.85; margin-top: 18px; }
.jw-balance-row {
  display: flex; align-items: baseline; gap: 8px; margin-top: 4px;
}
.jw-balance-amount { font-size: 26px; font-weight: 700; letter-spacing: 0.2px; }
.jw-balance-eye { opacity: 0.75; font-size: 14px; }

/* quick actions row */
.jw-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 18px -4px 2px;
  position: relative;
  z-index: 2;
}
.jw-quick-actions a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.jw-quick-actions .qa-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
}

/* ---------------- Body content ---------------- */
.jw-content { padding: 20px 16px 8px; }

.jw-card {
  background: var(--jw-white);
  border-radius: var(--jw-radius-lg);
  box-shadow: var(--jw-shadow);
  padding: 18px;
  margin-bottom: 16px;
}

.jw-section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 22px 2px 12px;
}
.jw-section-title h3 { font-size: 15.5px; margin: 0; font-weight: 700; }
.jw-section-title a { font-size: 12.5px; color: var(--jw-blue); font-weight: 700; }

/* Promo / deals banner */
.jw-promo {
  background: linear-gradient(120deg, #FFF4E5, #FFE8CC);
  border-radius: var(--jw-radius-md);
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 8px;
  box-shadow: var(--jw-shadow-sm);
}
.jw-promo .promo-text { min-width: 0; flex: 1; }
.jw-promo .promo-text b { display: block; font-size: 13px; color: var(--jw-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jw-promo .promo-text span { display: block; font-size: 10.5px; color: var(--jw-orange); font-weight: 700; margin-top: 2px; line-height: 1.35; }
.jw-promo .promo-btn {
  background: var(--jw-blue); color: #fff; border: none; flex-shrink: 0; white-space: nowrap;
  padding: 8px 14px; border-radius: 9px; font-weight: 700; font-size: 12px;
}

/* Grid menu (like DANA deals icon grid) */
.jw-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 6px;
  padding-top: 14px;
}
.jw-menu-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.jw-menu-grid .icon-box {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.jw-menu-grid span { font-size: 11px; text-align: center; font-weight: 600; color: var(--jw-text); line-height: 1.25; }
.bg-daging { background: #FFEAE8; }
.bg-sayuran { background: #E6F9EF; }
.bg-buahan { background: #FFF3DE; }
.bg-blue { background: var(--jw-blue-light); }

/* Product card */
.jw-product {
  display: flex; gap: 12px;
  background: var(--jw-white);
  border-radius: var(--jw-radius-md);
  box-shadow: var(--jw-shadow-sm);
  padding: 12px;
  margin-bottom: 12px;
  align-items: center;
}
.jw-product .thumb {
  width: 58px; height: 58px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
}
.jw-product .info { flex: 1; min-width: 0; }
.jw-product .info h4 { margin: 0 0 3px; font-size: 14px; font-weight: 700; }
.jw-product .info p { margin: 0; font-size: 12px; color: var(--jw-text-muted); }
.jw-product .tag {
  display: inline-block; margin-top: 6px;
  font-size: 11px; font-weight: 700; color: var(--jw-green);
  background: #E6F9EF; padding: 2px 8px; border-radius: 6px;
}
.jw-product .chevron { color: var(--jw-text-muted); font-size: 18px; }

/* Product grid card (3 kolom, dipakai di dashboard "Produk Unggulan" — lebih ringkas) */
.jw-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.jw-product-card {
  background: var(--jw-white); border-radius: var(--jw-radius-md);
  box-shadow: var(--jw-shadow-sm); padding: 12px 8px; text-align: center;
}
.jw-product-card .thumb {
  width: 38px; height: 38px; border-radius: 11px; font-size: 17px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 7px;
}
.jw-product-card h4 { margin: 0 0 3px; font-size: 11px; font-weight: 700; line-height: 1.3; }
.jw-product-card p { margin: 0 0 7px; font-size: 9.5px; color: var(--jw-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jw-product-card .tag {
  display: inline-block; font-size: 8.5px; font-weight: 700; color: var(--jw-green);
  background: #E6F9EF; padding: 2px 6px; border-radius: 6px;
}

/* Category badge colors */
.badge-daging { color: var(--jw-red); background: #FFEAE8; }
.badge-sayuran { color: var(--jw-green); background: #E6F9EF; }
.badge-buahan { color: var(--jw-orange); background: #FFF3DE; }

/* Plan choice pills */
.jw-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.jw-plan-pill {
  border: 1.5px solid #E3E7F0;
  border-radius: var(--jw-radius-sm);
  padding: 12px 8px;
  text-align: center;
  background: #fff;
  cursor: pointer;
  transition: all .15s ease;
}
.jw-plan-pill b { display: block; font-size: 14px; }
.jw-plan-pill span { font-size: 11.5px; color: var(--jw-text-muted); }
.jw-plan-pill.active { border-color: var(--jw-blue); background: var(--jw-blue-light); }
.jw-plan-pill.active b { color: var(--jw-blue); }
.jw-plan-pill input { display: none; }

/* Buttons */
.jw-btn {
  display: block; width: 100%; text-align: center;
  background: var(--jw-blue); color: #fff; border: none;
  padding: 14px; border-radius: 14px; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 8px 18px rgba(10,108,255,0.28);
}
.jw-btn:disabled { opacity: 0.5; }
.jw-btn.outline { background: #fff; color: var(--jw-blue); border: 1.5px solid var(--jw-blue); box-shadow: none; }
.jw-btn.secondary { background: var(--jw-text); }

/* Forms */
.jw-field { margin-bottom: 14px; }
.jw-field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: var(--jw-text); }
.jw-field input, .jw-field select, .jw-field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid #E3E7F0; font-size: 14px; background: #FAFBFD;
}
.jw-field input:focus, .jw-field select:focus { outline: none; border-color: var(--jw-blue); background: #fff; }
.jw-field .amount-input { font-size: 20px; font-weight: 700; }
.jw-hint { font-size: 11.5px; color: var(--jw-text-muted); margin-top: 5px; }

/* Alerts */
.jw-alert { padding: 12px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.jw-alert.success { background: #E6F9EF; color: #0B7A43; }
.jw-alert.error { background: #FFEAE8; color: #C2271D; }
.jw-alert.info { background: var(--jw-blue-light); color: var(--jw-blue-dark); }

/* ---------------------------------------------------------
   Notifikasi tengah layar — dipakai untuk hasil aksi
   tambah/ubah/hapus/simpan (CRUD) di seluruh aplikasi.
   --------------------------------------------------------- */
.jw-center-notif-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 20, 40, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
}
.jw-center-notif-overlay.show { opacity: 1; pointer-events: auto; }
.jw-center-notif-box {
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px 22px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
  transform: scale(0.9) translateY(8px);
  transition: transform .18s ease;
}
.jw-center-notif-overlay.show .jw-center-notif-box { transform: scale(1) translateY(0); }
.jw-center-notif-box .icon-circle {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 14px;
}
.jw-center-notif-box.success .icon-circle { background: #E6F9EF; }
.jw-center-notif-box.error .icon-circle { background: #FFEAE8; }
.jw-center-notif-box p {
  font-size: 14px; font-weight: 600; color: var(--jw-text);
  line-height: 1.5; margin: 0 0 20px;
}
.jw-center-notif-box button {
  background: var(--jw-blue); color: #fff; border: none;
  padding: 11px 32px; border-radius: 12px; font-weight: 700; font-size: 13.5px;
  width: 100%;
}
.jw-center-notif-box.error button { background: var(--jw-red); }

/* Status chip */
.jw-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.jw-status.berjalan { background: #FFF3DE; color: var(--jw-orange); }
.jw-status.jatuh_tempo { background: var(--jw-blue-light); color: var(--jw-blue); }
.jw-status.dicairkan { background: #E6F9EF; color: var(--jw-green); }
.jw-status.dibatalkan { background: #F1F2F5; color: var(--jw-text-muted); }

/* Investment summary row */
.jw-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 13px; }
.jw-row span:first-child { color: var(--jw-text-muted); }
.jw-row span:last-child { font-weight: 700; }
.jw-divider { border: none; border-top: 1px dashed #E3E7F0; margin: 8px 0; }

/* Activity/history list */
.jw-history-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #F0F1F5; }
.jw-history-item:last-child { border-bottom: none; }
.jw-history-item .h-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.jw-history-item .h-info { flex: 1; min-width: 0; }
.jw-history-item .h-info b { font-size: 13.5px; display: block; }
.jw-history-item .h-info span { font-size: 11.5px; color: var(--jw-text-muted); }
.jw-history-item .h-amount { font-weight: 700; font-size: 13.5px; text-align: right; white-space: nowrap; }
.jw-history-item .h-amount.plus { color: var(--jw-green); }
.jw-history-item .h-amount.minus { color: var(--jw-red); }

/* ---------------- Bottom Nav ---------------- */
.jw-bottomnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 460px;
  background: #fff;
  border-top: 1px solid #EEF0F5;
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 6px 18px;
  z-index: 50;
}
@media (display-mode: standalone) {
  .jw-bottomnav { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}
.jw-bottomnav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10.5px; color: var(--jw-text-muted); font-weight: 700;
  flex: 1;
}
.jw-bottomnav a.active { color: var(--jw-blue); }
.jw-bottomnav .nav-icon { font-size: 19px; }
.jw-bottomnav .nav-center {
  margin-top: -30px;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(160deg, var(--jw-blue), #2F8CFF);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 20px rgba(10,108,255,0.4);
  border: 4px solid #fff;
}
.jw-bottomnav .nav-center + span { display: none; }

/* ---------------- Auth pages (Login & Daftar) ---------------- */
.jw-auth-page {
  min-height: 100vh; display: flex; flex-direction: column;
  max-width: 460px; margin: 0 auto; background: var(--jw-bg);
}

/* Hero biru di atas — logo, nama aplikasi, tagline */
.jw-auth-hero {
  background: linear-gradient(160deg, var(--jw-blue) 0%, #2F8CFF 100%);
  padding: 48px 24px 62px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.jw-auth-hero::before {
  content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,0.08); top: -120px; right: -80px;
}
.jw-auth-hero::after {
  content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,0.06); bottom: -90px; left: -60px;
}
@media (display-mode: standalone) {
  .jw-auth-hero { padding-top: calc(48px + env(safe-area-inset-top)); }
}

/* Logo dengan frame putih menonjol di atas background biru */
.jw-auth-logo-frame {
  width: 92px; height: 92px; border-radius: 26px;
  background: #fff; padding: 9px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.22);
  position: relative; z-index: 1;
}
.jw-auth-logo-inner {
  width: 100%; height: 100%; border-radius: 18px;
  background: linear-gradient(135deg, var(--jw-blue), #2F8CFF);
  color: #fff; font-weight: 800; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
}
.jw-auth-hero h1 { font-size: 22px; margin: 0; font-weight: 800; position: relative; z-index: 1; }
.jw-auth-hero p { font-size: 12.5px; opacity: 0.85; margin: 5px 0 0; position: relative; z-index: 1; }

/* Kartu form — melayang di atas hero, sudut atas membulat menutupi lengkung hero */
.jw-auth-card {
  background: #fff;
  border-radius: 28px 28px 0 0;
  margin-top: -26px;
  position: relative; z-index: 2;
  padding: 30px 24px 8px;
  box-shadow: 0 -12px 30px rgba(16,24,64,0.05);
  flex: 1;
}
.jw-auth-card-title { font-size: 17px; font-weight: 800; margin: 0 0 4px; }
.jw-auth-card-sub { font-size: 12.5px; color: var(--jw-text-muted); margin: 0 0 22px; }

.jw-auth-switch { text-align: center; margin-top: 18px; font-size: 13px; color: var(--jw-text-muted); }
.jw-auth-switch a { color: var(--jw-blue); font-weight: 700; }

/* Footer copyright + kredit developer */
.jw-auth-footer {
  margin-top: auto; text-align: center;
  padding: 26px 24px 20px;
}
@media (display-mode: standalone) {
  .jw-auth-footer { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}
.jw-auth-footer p { font-size: 11px; color: var(--jw-text-muted); margin: 3px 0; }
.jw-auth-footer a { color: var(--jw-blue); font-weight: 700; text-decoration: none; }

/* Simple top bar for inner pages */
.jw-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; background: #fff; position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid #EEF0F5;
}
@media (display-mode: standalone) {
  .jw-topbar { padding-top: calc(16px + env(safe-area-inset-top)); }
}
.jw-topbar .back-btn { font-size: 20px; }
.jw-topbar h2 { font-size: 16px; margin: 0; font-weight: 700; }

.jw-empty { text-align: center; padding: 50px 20px; color: var(--jw-text-muted); }
.jw-empty .emoji { font-size: 40px; display: block; margin-bottom: 10px; }

/* Tabs */
.jw-tabs { display: flex; gap: 8px; padding: 14px 16px 0; }
.jw-tabs a {
  padding: 8px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 700;
  background: #fff; color: var(--jw-text-muted); border: 1px solid #E3E7F0;
}
.jw-tabs a.active { background: var(--jw-blue); color: #fff; border-color: var(--jw-blue); }

/* Admin */
.admin-shell { max-width: 1100px; margin: 0 auto; padding: 20px; font-family: var(--font-main); }
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-nav a { padding: 9px 14px; background: #fff; border-radius: 10px; font-size: 13px; font-weight: 700; border: 1px solid #E3E7F0; }
.admin-nav a.active { background: var(--jw-blue); color: #fff; border-color: var(--jw-blue); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--jw-shadow-sm); }
.admin-table th, .admin-table td { padding: 11px 14px; text-align: left; font-size: 13px; border-bottom: 1px solid #F0F1F5; }
.admin-table th { background: #F7F9FC; font-weight: 700; color: var(--jw-text-muted); font-size: 11.5px; text-transform: uppercase; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; margin-bottom: 22px; }
.admin-stat-card { background: #fff; border-radius: 14px; padding: 16px; box-shadow: var(--jw-shadow-sm); }
.admin-stat-card span { font-size: 12px; color: var(--jw-text-muted); font-weight: 700; }
.admin-stat-card b { display: block; font-size: 20px; margin-top: 4px; }
.btn-sm { padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 700; border: none; }
.btn-sm.blue { background: var(--jw-blue-light); color: var(--jw-blue); }
.btn-sm.green { background: #E6F9EF; color: var(--jw-green); }
.btn-sm.red { background: #FFEAE8; color: var(--jw-red); }

@media (min-width: 480px) {
  .app-shell { margin-top: 20px; margin-bottom: 20px; border-radius: 28px; overflow: hidden; min-height: calc(100vh - 40px); }
  .jw-header { border-radius: 0; }
  .jw-bottomnav { border-radius: 0 0 28px 28px; }
}

/* =========================================================
   Landing page (halaman depan sebelum login)
   ========================================================= */
.landing-hero {
  background: linear-gradient(160deg, var(--jw-blue) 0%, #2F8CFF 100%);
  color: #fff;
  padding: 40px 24px 56px;
  text-align: center;
  border-radius: 0 0 32px 32px;
}
.landing-hero .logo-dot {
  width: 60px; height: 60px; border-radius: 16px;
  background: #fff; color: var(--jw-blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px; margin: 0 auto 16px;
}
.landing-hero h1 { font-size: 22px; margin: 0 0 8px; font-weight: 700; line-height: 1.3; }
.landing-hero p { font-size: 13.5px; opacity: 0.92; margin: 0 auto; max-width: 320px; line-height: 1.5; }

.landing-cta {
  display: flex; gap: 10px; justify-content: center; margin-top: 24px; flex-wrap: wrap;
}
.landing-cta .jw-btn { width: auto; padding: 13px 26px; }
.landing-cta .jw-btn.outline { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.5); box-shadow: none; }

.landing-content { padding: 28px 20px 40px; }

.landing-section-title { text-align: center; margin-bottom: 18px; }
.landing-section-title h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.landing-section-title p { font-size: 12.5px; color: var(--jw-text-muted); margin: 0; }

.landing-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
.landing-feature-card {
  background: #fff; border-radius: 16px; padding: 16px 10px; text-align: center;
  box-shadow: var(--jw-shadow-sm);
}
.landing-feature-card .emoji { font-size: 28px; display: block; margin-bottom: 8px; }
.landing-feature-card b { font-size: 12.5px; display: block; }
.landing-feature-card span { font-size: 10.5px; color: var(--jw-text-muted); }

.landing-why { margin-bottom: 30px; }
.landing-why-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border-radius: 14px; padding: 14px; margin-bottom: 10px;
  box-shadow: var(--jw-shadow-sm);
}
.landing-why-item .emoji { font-size: 22px; flex-shrink: 0; }
.landing-why-item b { font-size: 13.5px; display: block; margin-bottom: 2px; }
.landing-why-item span { font-size: 12px; color: var(--jw-text-muted); line-height: 1.4; }

.install-banner {
  background: linear-gradient(120deg, #0A2647, #144272);
  color: #fff; border-radius: 18px; padding: 22px 20px; text-align: center;
  margin-bottom: 10px;
}
.install-banner .emoji { font-size: 34px; margin-bottom: 8px; display: block; }
.install-banner h4 { font-size: 15px; margin: 0 0 6px; font-weight: 700; }
.install-banner p { font-size: 12px; opacity: 0.85; margin: 0 0 16px; line-height: 1.5; }
.install-banner button {
  background: #fff; color: var(--jw-blue); border: none;
  padding: 12px 26px; border-radius: 12px; font-weight: 700; font-size: 13.5px;
}
.install-fallback {
  margin-top: 14px; padding: 12px 14px; background: rgba(255,255,255,0.12);
  border-radius: 10px; font-size: 11.5px; text-align: left; line-height: 1.6; display: none;
}
.install-fallback.show { display: block; }

.landing-footer { text-align: center; padding: 18px; font-size: 11px; color: var(--jw-text-muted); }

/* =========================================================
   Landing Page Website Profesional (marketing) — prefix "mkt-"
   Terpisah dari style mobile-app di atas, dipakai khusus di landing.php
   ========================================================= */
.mkt-body { margin: 0; background: #fff; color: var(--jw-text); }
.mkt-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.mkt-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid #EEF0F5;
}
@media (display-mode: standalone) {
  .mkt-nav { padding-top: env(safe-area-inset-top); }
}
.mkt-nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.mkt-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.mkt-logo .dot {
  width: 36px; height: 36px; border-radius: 10px; background: var(--jw-blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
}
.mkt-nav-links { display: flex; gap: 30px; font-size: 13.5px; font-weight: 700; color: var(--jw-text-muted); }
.mkt-nav-links a { transition: color .15s; }
.mkt-nav-links a:hover { color: var(--jw-blue); }
.mkt-nav-cta { display: flex; gap: 10px; align-items: center; }

.mkt-btn {
  padding: 11px 22px; border-radius: 11px; font-weight: 700; font-size: 13.5px;
  text-align: center; display: inline-block; border: none; cursor: pointer;
}
.mkt-btn.primary { background: var(--jw-blue); color: #fff; box-shadow: 0 10px 24px rgba(10,108,255,0.28); }
.mkt-btn.primary:hover { background: var(--jw-blue-dark); }
.mkt-btn.outline { border: 1.5px solid #E3E7F0; color: var(--jw-text); background: #fff; }
.mkt-btn.outline:hover { border-color: var(--jw-blue); color: var(--jw-blue); }
.mkt-btn.lg { padding: 15px 30px; font-size: 15px; border-radius: 14px; }
.mkt-btn.white { background: #fff; color: var(--jw-blue); }

.mkt-hamburger { display: none; background: none; border: none; font-size: 22px; }

/* Hero */
.mkt-hero { background: linear-gradient(180deg, #F2F6FF 0%, #ffffff 75%); }
.mkt-hero-inner {
  max-width: 1140px; margin: 0 auto; padding: 64px 24px 60px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.mkt-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--jw-blue-light); color: var(--jw-blue);
  font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 20px; margin-bottom: 18px;
}
.mkt-hero h1 { font-size: 42px; line-height: 1.18; font-weight: 800; margin: 0 0 18px; letter-spacing: -0.5px; text-align: justify; }
.mkt-hero h1 .accent { color: var(--jw-blue); }
.mkt-hero p.lead { font-size: 15.5px; color: var(--jw-text-muted); line-height: 1.65; margin: 0 0 30px; max-width: 480px; text-align: justify; }
.mkt-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.mkt-hero-badges { display: flex; gap: 30px; flex-wrap: wrap; }
.mkt-hero-badge b { display: block; font-size: 23px; font-weight: 800; }
.mkt-hero-badge span { font-size: 11.5px; color: var(--jw-text-muted); font-weight: 600; }

/* Phone mockup (dekoratif, CSS murni) */
.mkt-phone-wrap { display: flex; justify-content: center; }
.mkt-phone {
  width: 260px; border-radius: 34px; border: 9px solid #101A30;
  box-shadow: 0 40px 70px rgba(10,40,100,0.22), 0 0 0 2px #101A30 inset;
  overflow: hidden; background: #fff;
}
.mkt-phone-screen { background: linear-gradient(160deg, var(--jw-blue), #2F8CFF); padding: 22px 16px 26px; color: #fff; }
.mkt-phone-screen .ps-label { font-size: 10px; opacity: .85; margin-bottom: 4px; }
.mkt-phone-screen .ps-balance { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.mkt-phone-quick { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.mkt-phone-quick div {
  background: rgba(255,255,255,0.16); border-radius: 10px; padding: 9px 4px;
  text-align: center; font-size: 15px;
}
.mkt-phone-body { padding: 16px; background: #F7F9FC; }
.mkt-phone-card { background: #fff; border-radius: 12px; padding: 12px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(16,24,64,0.06); display: flex; align-items: center; gap: 10px; }
.mkt-phone-card .ico { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.mkt-phone-card .txt b { display: block; font-size: 11.5px; }
.mkt-phone-card .txt span { font-size: 9.5px; color: var(--jw-text-muted); }

/* Generic section */
.mkt-section { padding: 76px 0; }
.mkt-section.alt { background: #F8FAFD; }
.mkt-section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.mkt-section-head .mkt-eyebrow { margin-bottom: 14px; }
.mkt-section-head h2 { font-size: 30px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.4px; }
.mkt-section-head p { font-size: 14.5px; color: var(--jw-text-muted); line-height: 1.6; margin: 0; text-align: center; }

/* Cara kerja (steps) */
.mkt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mkt-step-card { background: #fff; border: 1px solid #EEF0F5; border-radius: 18px; padding: 26px 22px; }
.mkt-step-num {
  width: 38px; height: 38px; border-radius: 11px; background: var(--jw-blue-light); color: var(--jw-blue);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; margin-bottom: 16px;
}
.mkt-step-card h4 { margin: 0 0 8px; font-size: 15px; }
.mkt-step-card p { margin: 0; font-size: 12.8px; color: var(--jw-text-muted); line-height: 1.55; text-align: justify; }

/* Kategori produk */
.mkt-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mkt-category-card {
  background: #fff; border: 1px solid #EEF0F5; border-radius: 20px; padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(16,24,64,0.04);
}
.mkt-category-card .emoji-box {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.mkt-category-card h4 { font-size: 16.5px; margin: 0 0 8px; }
.mkt-category-card p { font-size: 13px; color: var(--jw-text-muted); line-height: 1.55; margin: 0 0 16px; text-align: justify; }
.mkt-category-card .meta { display: flex; justify-content: space-between; font-size: 12px; padding-top: 14px; border-top: 1px dashed #EEF0F5; }
.mkt-category-card .meta b { color: var(--jw-text); }
.mkt-category-card .meta span:first-child { color: var(--jw-text-muted); }

/* Keunggulan grid */
.mkt-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mkt-why-card { padding: 8px; }
.mkt-why-card .ico {
  width: 48px; height: 48px; border-radius: 14px; background: var(--jw-blue-light); color: var(--jw-blue);
  display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 16px;
}
.mkt-why-card h4 { font-size: 15px; margin: 0 0 8px; }
.mkt-why-card p { font-size: 12.8px; color: var(--jw-text-muted); line-height: 1.55; margin: 0; text-align: justify; }

/* Statistik bar */
.mkt-stats-bar {
  background: linear-gradient(120deg, #0A2647, var(--jw-blue-dark) 55%, var(--jw-blue));
  color: #fff; border-radius: 26px; padding: 46px 30px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center;
}
.mkt-stats-bar .stat b { font-size: 32px; font-weight: 800; display: block; }
.mkt-stats-bar .stat span { font-size: 12.5px; opacity: 0.82; font-weight: 600; }

/* FAQ */
.mkt-faq { max-width: 760px; margin: 0 auto; }
.mkt-faq-item { border-bottom: 1px solid #EEF0F5; padding: 20px 0; }
.mkt-faq-item h5 { font-size: 14.5px; margin: 0 0 8px; display: flex; gap: 10px; align-items: flex-start; }
.mkt-faq-item h5 .q-mark { color: var(--jw-blue); flex-shrink: 0; }
.mkt-faq-item p { font-size: 13px; color: var(--jw-text-muted); line-height: 1.6; margin: 0 0 0 26px; text-align: justify; }

/* Download App CTA */
.mkt-download {
  background: #101A30; color: #fff; border-radius: 30px; padding: 56px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.mkt-download::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,108,255,0.35), transparent 70%);
  top: -180px; right: -120px;
}
.mkt-download h2 { font-size: 27px; font-weight: 800; margin: 0 0 14px; position: relative; }
.mkt-download p { font-size: 14px; opacity: 0.78; max-width: 480px; margin: 0 auto 30px; line-height: 1.6; position: relative; text-align: justify; }
.mkt-download-btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.mkt-install-fallback {
  margin: 20px auto 0; max-width: 480px; padding: 14px 16px; background: rgba(255,255,255,0.08);
  border-radius: 12px; font-size: 12px; text-align: left; line-height: 1.7; display: none; position: relative;
}
.mkt-install-fallback.show { display: block; }

/* Footer */
.mkt-footer { border-top: 1px solid #EEF0F5; padding: 44px 0 26px; }
.mkt-footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
.mkt-footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.mkt-footer-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--jw-text-muted); margin: 0 0 12px; }
.mkt-footer-col a { display: block; font-size: 13px; color: var(--jw-text); margin-bottom: 9px; }
.mkt-footer-col a:hover { color: var(--jw-blue); }
.mkt-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; border-top: 1px solid #EEF0F5; font-size: 11.5px; color: var(--jw-text-muted); }

@media (max-width: 900px) {
  .mkt-nav-links { display: none; }
  .mkt-hamburger { display: block; }
  .mkt-hero-inner { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .mkt-hero p.lead { margin-left: auto; margin-right: auto; }
  .mkt-hero-cta, .mkt-hero-badges { justify-content: center; }
  .mkt-phone-wrap { margin-top: 20px; }
  .mkt-steps { grid-template-columns: repeat(2, 1fr); }
  .mkt-category-grid { grid-template-columns: 1fr; }
  .mkt-why-grid { grid-template-columns: 1fr; }
  .mkt-stats-bar { grid-template-columns: 1fr; }
  .mkt-hero h1 { font-size: 32px; }
  .mkt-section-head h2 { font-size: 24px; }
  .mkt-download { padding: 40px 22px; }
}
@media (max-width: 480px) {
  .mkt-steps { grid-template-columns: 1fr; }
  .mkt-hero-badges { gap: 20px; }
}

/* Tentang / Sejarah JamWira */
.mkt-about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mkt-about-text p { font-size: 14.5px; color: var(--jw-text-muted); line-height: 1.75; margin: 0 0 18px; text-align: justify; }
.mkt-about-text p:last-of-type { margin-bottom: 0; }
.mkt-about-quote {
  background: var(--jw-blue-light); border-left: 4px solid var(--jw-blue); border-radius: 0 14px 14px 0;
  padding: 18px 22px; margin: 22px 0 8px; font-size: 15px; font-weight: 700; color: var(--jw-blue-dark);
  line-height: 1.55; font-style: italic; position: relative;
}
.mkt-about-quote .quote-mark { font-size: 26px; font-weight: 800; margin-right: 4px; opacity: 0.6; font-style: normal; }

.mkt-about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.mkt-about-value { background: #F8FAFD; border-radius: 16px; padding: 18px 16px; }
.mkt-about-value .ico { font-size: 22px; margin-bottom: 10px; }
.mkt-about-value b { display: block; font-size: 13px; margin-bottom: 4px; }
.mkt-about-value span { font-size: 11.5px; color: var(--jw-text-muted); line-height: 1.5; text-align: justify; display: block; }

.mkt-about-visual {
  background: linear-gradient(160deg, var(--jw-blue-light), #fff);
  border-radius: 26px; padding: 40px 30px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.mkt-about-visual-card {
  background: #fff; border-radius: 18px; padding: 20px 16px;
  box-shadow: 0 8px 22px rgba(16,24,64,0.06); text-align: center;
}
.mkt-about-visual-card .emoji { font-size: 26px; margin-bottom: 10px; display: block; }
.mkt-about-visual-card b { font-size: 12.5px; display: block; line-height: 1.4; }

@media (max-width: 900px) {
  .mkt-about-inner { grid-template-columns: 1fr; }
  .mkt-about-values { grid-template-columns: 1fr; }
  .mkt-about-visual { order: -1; }
}

/* Tombol outline khusus di atas background gelap (fix kontras "Daftar Dulu") */
.mkt-btn.outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,0.45); color: #fff; }
.mkt-btn.outline-light:hover { background: rgba(255,255,255,0.12); }

/* Panduan install (selalu tampil, di dalam section Download App) */
.mkt-install-guide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; text-align: left; position: relative; }
.mkt-install-guide-col { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 22px 20px; }
.mkt-install-guide-col .platform-icon { font-size: 24px; margin-bottom: 10px; }
.mkt-install-guide-col h5 { margin: 0 0 12px; font-size: 13.5px; color: #fff; }
.mkt-install-guide-col ol { margin: 0; padding-left: 18px; }
.mkt-install-guide-col ol li { font-size: 12px; color: rgba(255,255,255,0.78); margin-bottom: 8px; line-height: 1.55; }
@media (max-width: 700px) { .mkt-install-guide { grid-template-columns: 1fr; } }

/* Modal peringatan: tampilan khusus mobile */
.mkt-warn-overlay {
  position: fixed; inset: 0; background: rgba(10,20,40,0.6);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  z-index: 600; opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.mkt-warn-overlay.show { opacity: 1; pointer-events: auto; }
.mkt-warn-box {
  background: #fff; border-radius: 22px; padding: 30px 26px 24px; max-width: 380px; width: 100%;
  text-align: center; box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  transform: scale(0.92) translateY(8px); transition: transform .18s ease;
}
.mkt-warn-overlay.show .mkt-warn-box { transform: scale(1) translateY(0); }
.mkt-warn-box .icon-circle {
  width: 58px; height: 58px; border-radius: 50%; background: #FFF3DE; color: var(--jw-orange);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 16px;
}
.mkt-warn-box h4 { font-size: 15.5px; margin: 0 0 10px; }
.mkt-warn-box p { font-size: 13px; color: var(--jw-text-muted); line-height: 1.6; margin: 0 0 22px; text-align: justify; }
.mkt-warn-actions { display: flex; gap: 10px; }
.mkt-warn-actions .mkt-btn { flex: 1; padding: 12px; }

/* =========================================================
   MOU (Nota Kesepahaman) — dokumen & signature pad
   ========================================================= */
.mou-doc { font-size: 13px; line-height: 1.6; color: var(--jw-text); }
.mou-doc p { margin: 0 0 14px; }
.mou-doc ol { margin: 0 0 16px; padding-left: 20px; }
.mou-doc ol li { margin-bottom: 8px; }
.mou-pasal-title { display: block; font-size: 13.5px; margin: 0 0 8px; color: var(--jw-blue-dark); }
.mou-party {
  background: #F7F9FC; border: 1px solid #EEF0F5; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 16px;
}
.mou-party > b { display: block; font-size: 12.5px; margin-bottom: 8px; color: var(--jw-blue); }

.mou-status-banner {
  border-radius: 16px; padding: 16px; text-align: center; margin-bottom: 16px;
}
.mou-status-banner.signed { background: #E6F9EF; }
.mou-status-banner.unsigned { background: #FFF3DE; }
.mou-status-banner .emoji { font-size: 30px; display: block; margin-bottom: 8px; }
.mou-status-banner b { display: block; font-size: 14px; margin-bottom: 4px; }
.mou-status-banner span { font-size: 12px; color: var(--jw-text-muted); }

.mou-sign-pad-wrap { text-align: center; }
#mouSignCanvas {
  border: 2px dashed #D6DCE8; border-radius: 14px; background: #fff;
  width: 100%; max-width: 420px; height: 180px; touch-action: none; cursor: crosshair;
}
.mou-sign-actions { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.mou-sign-actions button { padding: 9px 18px; border-radius: 10px; font-size: 12.5px; font-weight: 700; border: none; }
.mou-sign-actions .clear-btn { background: #F1F2F5; color: var(--jw-text-muted); }

.mou-signed-image {
  border: 1px solid #EEF0F5; border-radius: 14px; padding: 14px; background: #fff;
  max-width: 320px; margin: 0 auto;
}
.mou-signed-image img { width: 100%; display: block; }

/* =========================================================
   Chat (pesan investor <-> petugas/admin)
   ========================================================= */
.chat-wrap { display: flex; flex-direction: column; height: calc(100vh - 64px); }
.app-shell:has(.chat-wrap) { padding-bottom: 0; }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-bubble-row { display: flex; flex-direction: column; max-width: 78%; }
.chat-bubble-row.me { align-self: flex-end; align-items: flex-end; }
.chat-bubble-row.them { align-self: flex-start; align-items: flex-start; }
.chat-sender-label { font-size: 10.5px; color: var(--jw-text-muted); font-weight: 700; margin-bottom: 3px; padding: 0 4px; }
.chat-bubble {
  padding: 9px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.5;
  word-break: break-word; white-space: pre-wrap;
}
.chat-bubble-row.me .chat-bubble { background: var(--jw-blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble-row.them .chat-bubble { background: #fff; color: var(--jw-text); border: 1px solid #EEF0F5; border-bottom-left-radius: 4px; }
.chat-time { font-size: 9.5px; color: var(--jw-text-muted); margin-top: 3px; padding: 0 4px; display: flex; align-items: center; gap: 5px; }
.chat-bubble-row.them .chat-time { justify-content: flex-start; }
.chat-bubble-row.me .chat-time { justify-content: flex-end; }
.chat-read-status { font-weight: 600; }
.chat-read-status.read { color: var(--jw-blue); }

.chat-attachment-img { max-width: 200px; border-radius: 12px; display: block; margin-top: 4px; cursor: pointer; }
.chat-attachment-pdf {
  display: flex; align-items: center; gap: 8px; margin-top: 4px;
  background: rgba(255,255,255,0.15); border-radius: 10px; padding: 8px 10px; font-size: 11.5px;
}
.chat-bubble-row.them .chat-attachment-pdf { background: var(--jw-blue-light); color: var(--jw-blue-dark); }
.chat-attachment-pdf a { color: inherit; font-weight: 700; text-decoration: underline; }

.chat-input-bar {
  display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px;
  background: #fff; border-top: 1px solid #EEF0F5;
}
.chat-input-bar textarea {
  flex: 1; resize: none; border: 1.5px solid #E3E7F0; border-radius: 14px;
  padding: 10px 12px; font-size: 12.5px; font-family: var(--font-main); max-height: 90px; min-height: 40px;
}
.chat-input-bar textarea:focus { outline: none; border-color: var(--jw-blue); }
.chat-attach-btn {
  width: 40px; height: 40px; border-radius: 12px; background: var(--jw-blue-light); color: var(--jw-blue);
  border: none; font-size: 17px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.chat-send-btn {
  width: 40px; height: 40px; border-radius: 12px; background: var(--jw-blue); color: #fff;
  border: none; font-size: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.chat-attach-preview {
  display: none; align-items: center; gap: 8px; padding: 8px 12px; background: var(--jw-blue-light);
  border-radius: 10px; margin: 0 12px 8px; font-size: 11.5px; color: var(--jw-blue-dark);
}
.chat-attach-preview.show { display: flex; }
.chat-attach-preview button { margin-left: auto; background: none; border: none; color: var(--jw-red); font-weight: 700; }

.chat-empty { text-align: center; color: var(--jw-text-muted); font-size: 12px; padding: 40px 20px; }

.header-bell-badge {
  position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--jw-red); border: 1.5px solid var(--jw-blue);
}

/* Daftar percakapan (sisi admin) */
.chat-thread-list-item {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px;
  border-bottom: 1px solid #F0F1F5; text-decoration: none; color: inherit;
}
.chat-thread-list-item:last-child { border-bottom: none; }
.chat-thread-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--jw-blue-light); color: var(--jw-blue);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.chat-thread-info { flex: 1; min-width: 0; }
.chat-thread-info b { font-size: 13.5px; display: block; }
.chat-thread-info span { font-size: 11.5px; color: var(--jw-text-muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.chat-thread-meta { text-align: right; flex-shrink: 0; }
.chat-thread-meta .time { font-size: 10.5px; color: var(--jw-text-muted); display: block; margin-bottom: 4px; }
.chat-unread-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px;
  border-radius: 20px; background: var(--jw-red); color: #fff; font-size: 10px; font-weight: 700; padding: 0 5px;
}