:root {
  --dash-bg: #f7f2f1;
  --dash-surface: #ffffff;
  --dash-surface-2: #fbf6f5;
  --dash-ink: #221518;
  --dash-muted: #84706f;
  --dash-line: #eadedd;
  --dash-accent: #d62839;
  --dash-accent-soft: #fde6e8;
  --dash-hero-a: #b3182b;
  --dash-hero-b: #5e0f1b;
  --dash-hero-ink: #ffffff;
  --dash-good: #1f9d55;
  --dash-good-soft: #e2f5ea;
  --dash-gold: #e08a00;
  --dash-gold-soft: #fff0d6;
  --dash-blue: #2a6fdb;
  --dash-blue-soft: #e3eefc;
  --dash-violet: #8a3fc4;
  --dash-violet-soft: #f1e5fa;
  --dash-shadow: 0 1px 2px rgba(60, 20, 25, .06), 0 8px 24px rgba(60, 20, 25, .07);
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bg-main: #f4f5f8;
  --bg-surface: #ffffff;
  --bg-input: #f4f5f8;
  --text-main: #1c1c1e;
  --text-muted: #8e8e93;
  --primary: #dc2626;
  --primary-light: #fef2f2;
  --success: #34c759;
  --danger: #ff3b30;
  --border-color: #e5e5ea;
  --star-color: #ffc107;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

/* DIBUANG HAD KELUASAN (MAX-WIDTH) UNTUK PENUHKAN SKRIN */
body {
  touch-action: manipulation;
  background-color: #e2e8f0; /* Latar belakang untuk luar container */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  color: var(--text-main);
}
.mobile-container {
  width: 100%;
  max-width: 100%; /* Default untuk skrin telefon */
  height: 100%;
  background-color: var(--dash-bg, #f7f2f1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsiveness: Tablet (Widen) & Desktop (Slimmer Phone Look) */
@media (min-width: 481px) and (max-width: 1024px) {
  .mobile-container {
    max-width: 768px; /* Tambah keluasan untuk tablet */
  }
}
@media (min-width: 1025px) {
  .mobile-container {
    max-width: 400px; /* Kurangkan lebar screen phone di laptop/desktop */
  }
}

/* HEADER */
.header {
  padding-top: 65px !important;
  padding-bottom: 15px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}
.header-text h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}
.header-text p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}
.header-avatar {
  width: 45px;
  height: 45px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 18px;
  border: 2px solid var(--primary);
}

.view-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 90px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.view-content::-webkit-scrollbar {
  display: none;
}
.view-section {
  display: none;
  animation: fadeIn 0.2s ease-out;
}
.view-section.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================
   DASHBOARD STAF UI/UX (PREMIUM MODERN DESIGN)
   ======================================================== */
.num { font-variant-numeric: tabular-nums; }

.dash-new-container {
  padding: 8px 20px 24px;
  display: flex;
  flex-direction: column;
}

/* HERO KOMISEN */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 22px 22px 20px;
  background: linear-gradient(145deg, var(--dash-hero-a, #b3182b), var(--dash-hero-b, #5e0f1b));
  color: var(--dash-hero-ink, #ffffff);
  box-shadow: 0 14px 30px rgba(120, 15, 30, .28);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .14);
}
.hero::before { width: 220px; height: 220px; right: -70px; top: -90px; }
.hero::after { width: 140px; height: 140px; right: -30px; top: -50px; }
.hero > * { position: relative; }
.hero .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}
.hero .label svg { width: 18px; height: 18px; }
.hero .amount {
  margin: 10px 0 2px;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-weight: 800;
  font-size: 50px;
  letter-spacing: -.03em;
  line-height: 1;
}
.hero .amount small {
  font-size: 22px;
  font-weight: 600;
  margin-right: 6px;
  opacity: .8;
  letter-spacing: 0;
}
.hero .sub {
  margin: 0;
  font-size: 13px;
  opacity: .8;
}
.meter { margin-top: 20px; }
.meter-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
.track {
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .2);
  overflow: hidden;
}
.fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffd27a, #fff1c9);
  transition: width .9s cubic-bezier(.2,.8,.2,1);
}
.meter-note {
  margin: 8px 0 0;
  font-size: 12px;
  opacity: .85;
}

/* TINDAKAN PANTAS (ACTIONS) */
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.act {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  text-align: left;
  background: var(--dash-surface, #ffffff);
  border: 1px solid var(--dash-line, #eadedd);
  border-radius: 20px;
  cursor: pointer;
  box-shadow: var(--dash-shadow, 0 1px 2px rgba(60, 20, 25, .06), 0 8px 24px rgba(60, 20, 25, .07));
  transition: transform .15s ease, border-color .15s ease;
  width: 100%;
}
.act:hover { border-color: var(--dash-accent, #d62839); }
.act:active { transform: scale(.97); }
.act .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.act .ico svg { width: 22px; height: 22px; }
.act strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--dash-ink, #221518);
  font-family: var(--font-body, "DM Sans", sans-serif);
}
.act span.s {
  display: block;
  font-size: 12px;
  color: var(--dash-muted, #84706f);
  font-family: var(--font-body, "DM Sans", sans-serif);
}
.ico.red { background: var(--dash-accent-soft, #fde6e8); color: var(--dash-accent, #d62839); }
.ico.blue { background: var(--dash-blue-soft, #e3eefc); color: var(--dash-blue, #2a6fdb); }
.ico.gold { background: var(--dash-gold-soft, #fff0d6); color: var(--dash-gold, #e08a00); }
.ico.violet { background: var(--dash-violet-soft, #f1e5fa); color: var(--dash-violet, #8a3fc4); }
.ico.green { background: var(--dash-good-soft, #e2f5ea); color: var(--dash-good, #1f9d55); }

/* KAD STATISTIK (RINGKASAN BULAN INI) */
.section-title {
  margin: 24px 2px 10px;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--dash-ink, #221518);
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.card {
  background: var(--dash-surface, #ffffff);
  border: 1px solid var(--dash-line, #eadedd);
  border-radius: 20px;
  padding: 14px 12px;
  box-shadow: var(--dash-shadow, 0 1px 2px rgba(60, 20, 25, .06), 0 8px 24px rgba(60, 20, 25, .07));
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.card .k {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dash-muted, #84706f);
}
.card .k .ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.card .k .ico svg { width: 16px; height: 16px; }
.card .v {
  margin: 8px 0 4px;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--dash-ink, #221518);
}
.card .n {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dash-good, #1f9d55);
}
.card .n.muted {
  color: var(--dash-muted, #84706f);
  font-weight: 500;
}

/* BULATAN PRESTASI STAF (CIRCULAR RATING RING) */
.ring-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  min-width: 0;
}
.ring {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 7;
}
.ring .bg { stroke: var(--dash-gold-soft, #fff0d6); }
.ring .fg {
  stroke: var(--dash-gold, #e08a00);
  stroke-linecap: round;
  stroke-dasharray: 169.6;
  stroke-dashoffset: 169.6;
  transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1);
}
.ring .star {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--dash-gold, #e08a00);
}
.ring .star svg { width: 16px; height: 16px; transform: none; }
.ring-wrap .v {
  margin: 0;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--dash-ink, #221518);
}

.wide { grid-column: 1 / -1; }

/* BONES (BONUS) CARD */
.bonus {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
}
.bonus .track {
  grid-column: 1 / -1;
  margin-top: 12px;
  background: var(--dash-violet-soft, #f1e5fa);
}
.bonus .fill { background: var(--dash-violet, #8a3fc4); }
.bonus .ends {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--dash-muted, #84706f);
  font-weight: 600;
  margin-top: 6px;
}

/* CASH ON HAND CARD */
.cash {
  border: 1.5px dashed var(--dash-good, #1f9d55);
  background: var(--dash-surface, #ffffff);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
}
.cash .v { color: var(--dash-good, #1f9d55); }
.cash .n {
  color: var(--dash-muted, #84706f);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cash .n svg { width: 14px; height: 14px; flex: none; }
.cash .ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--dash-good-soft, #e2f5ea);
  color: var(--dash-good, #1f9d55);
  grid-row: 1 / 4;
  grid-column: 2;
}
.cash .ico svg { width: 26px; height: 26px; }
.cash .k { justify-content: flex-start; }

@media (max-width: 360px) {
  .hero .amount { font-size: 40px; }
  .card .v { font-size: 26px; }
  .actions { grid-template-columns: 1fr; }
}

/* FORMS */
.card-form {
  background: var(--bg-surface);
  border-radius: 20px;
  padding: 20px;
  margin: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.input-field {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 15px;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  font-weight: 600;
  transition: 0.2s;
}
.input-field:focus {
  color: #000000 !important;
  background-color: var(--bg-surface);
  border: 1px solid var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
select.input-field {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
}

.history-filter-select {
  width: 100%;
  height: 42px;
  min-height: 42px;
  padding: 0 32px 0 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  border-radius: 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}
.history-filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* LIST CARDS (Booking & History) */
.list-container {
  padding: 15px 20px;
}
.list-card {
  background: var(--bg-surface);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
}
.list-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.cust-name {
  font-size: 16px;
  font-weight: 800;
}
.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}
.badge-qr {
  background: #e3f2fd;
  color: #1565c0;
}
.badge-cash {
  background: #e8f5e9;
  color: #2e7d32;
}
.badge-pending {
  background: #fff3e0;
  color: #e65100;
}
.badge-done {
  background: #f3f4f6;
  color: #8e8e93;
}
.list-detail {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
}
.list-detail strong {
  color: var(--text-main);
}
.btn-action-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* BUTTONS */
.btn {
  width: 100%;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-disabled {
  background: var(--bg-input);
  color: var(--text-muted);
  cursor: not-allowed;
}

/* BOTTOM NAV (MODERN SLEEK STYLE FROM DASHBOARD STAF) */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(66px + env(safe-area-inset-bottom)) !important;
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom)) 12px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-top: 1px solid var(--dash-line, #eadedd) !important;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(60, 20, 25, 0.05);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 4px 4px;
  background: none;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  color: var(--dash-muted, #84706f);
  font-size: 11px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
  position: relative;
}
.nav-item i {
  font-size: 18px;
  margin-bottom: 2px;
  transition: transform .15s ease;
}
.nav-item.active {
  color: var(--dash-accent, #d62839) !important;
  background: var(--dash-accent-soft, #fde6e8) !important;
}
.nav-item.active i {
  transform: translateY(-1px);
}

/* TOAST & LOGIN */
#login-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface);
  z-index: 500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
#change-password-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface);
  z-index: 500;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
#forgot-password-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface);
  z-index: 500;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #1c1c1e;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10000;
  transition: 0.3s;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* PROFILE / PUNCH */
.profile-box {
  text-align: center;
  padding: 30px 20px;
}
.profile-box .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 40px;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  border: 4px solid white;
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.1);
}
.profile-box h2 {
  font-size: 22px;
  font-weight: 800;
}
.profile-box p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 30px;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  backdrop-filter: blur(3px);
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background: var(--bg-surface);
  width: 90%;
  max-width: 400px;
  max-height: 90%;
  border-radius: 20px;
  padding: 25px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================================
   FUNGSI RESPONSIVE (MENGECILKAN TULISAN DI PHONE KECIL)
   ======================================================== */
@media (max-width: 480px) {
  .header {
    padding: 20px 15px 12px;
  }
  .header-text h1 {
    font-size: 18px !important;
    letter-spacing: 0;
  }
  .header-text p {
    font-size: 11px !important;
  }
  .header-avatar {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .dash-container {
    padding: 15px;
    gap: 12px;
  }
  .dash-card {
    padding: 15px;
    border-radius: 16px;
  }
  .dash-info h3 {
    font-size: 11px !important;
  }
  .dash-info p {
    font-size: 20px !important;
  }
  .dash-info .sub-text {
    font-size: 10px !important;
  }
  .dash-card .icon-box {
    width: 42px;
    height: 42px;
    font-size: 18px;
    border-radius: 12px;
  }

  .card-form {
    margin: 15px;
    padding: 15px;
    border-radius: 16px;
  }
  .form-group label {
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }
  .input-field {
    font-size: 13px !important;
    padding: 12px !important;
    border-radius: 10px !important;
  }

  .list-container {
    padding: 10px 15px;
  }
  .list-card {
    padding: 15px;
    border-radius: 14px;
  }
  .cust-name {
    font-size: 14px !important;
  }
  .badge {
    font-size: 9px !important;
    padding: 3px 6px !important;
  }
  .list-detail {
    font-size: 12px !important;
  }

  .btn {
    font-size: 13px !important;
    padding: 14px !important;
    border-radius: 10px !important;
  }

  .profile-box {
    padding: 20px 15px;
  }
  .profile-box .avatar {
    width: 80px;
    height: 80px;
    font-size: 32px;
    border-width: 3px;
  }
  .profile-box h2 {
    font-size: 18px !important;
  }
  .profile-box p {
    font-size: 12px !important;
    margin-bottom: 20px !important;
  }

  #login-screen h2 {
    font-size: 20px !important;
  }
  #login-screen p {
    font-size: 12px !important;
  }
}

@media (max-width: 360px) {
  .header-text h1 {
    font-size: 16px !important;
  }
  .dash-info p {
    font-size: 18px !important;
  }
  .input-field {
    font-size: 12px !important;
    padding: 10px !important;
  }
  .btn {
    font-size: 12px !important;
    padding: 12px !important;
  }
  .nav-item span {
    font-size: 9px !important;
  }
}

/* BADGE STYLES */
.nav-badge-container {
  position: relative;
  display: inline-block;
}
.nav-badge-number {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #ff3b30;
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 10px;
  border: 1.5px solid white;
  z-index: 10;
  min-width: 14px;
  text-align: center;
  line-height: 1;
}
.nav-badge-dot {
  position: absolute;
  top: 0px;
  right: -2px;
  background: #ff3b30;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid white;
  z-index: 10;
}

/* ========================================================
   PENGKHUSUSAN PERANTI ANDROID
   (Terpencil sepenuhnya: TIDAK menjejaskan iPhone walau 1 pixel)
   ======================================================== */
html.is-android .header {
  padding-top: 18px !important;
  padding-bottom: 12px !important;
}

html.is-android .bottom-nav {
  height: 64px !important;
  padding: 6px 12px 6px 12px !important;
}

html.is-android .view-content {
  padding-bottom: 74px !important;
}

@media (max-width: 480px) {
  html.is-android .header {
    padding: 16px 15px 12px !important;
  }
}
