:root {
  /* Default Theme: Blue */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: rgba(37, 99, 235, 0.1);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --sidebar-width: 260px;
}

/* === THEME COLORS (4 Pilihan) === */
body[data-theme-color="green"] {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: rgba(16, 185, 129, 0.1);
}
body[data-theme-color="purple"] {
  --primary: #8b5cf6;
  --primary-dark: #7c3aed;
  --primary-light: rgba(139, 92, 246, 0.1);
}
body[data-theme-color="orange"] {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: rgba(249, 115, 22, 0.1);
}

[data-theme="dark"] {
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --bg: #0f172a;
  --card-bg: #1e293b;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --border: #334155;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
body[data-theme-color="green"][data-theme="dark"] {
  --primary: #34d399;
  --primary-dark: #10b981;
}body[data-theme-color="purple"][data-theme="dark"] {
  --primary: #a78bfa;
  --primary-dark: #8b5cf6;
}
body[data-theme-color="orange"][data-theme="dark"] {
  --primary: #fb923c;
  --primary-dark: #f97316;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition:
    background 0.3s,
    color 0.3s;
}

/* === HEADER === */
.header {
  background: var(--card-bg);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hamburger-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;
  border-radius: 6px;
}
.hamburger-btn:hover {
  background: var(--bg);
}
.header-title {  flex: 1;
  cursor: pointer;
  min-width: 0;
}
.header h1 {
  font-size: 1.05rem;
  color: var(--primary);
  transition: color 0.3s;
}
.tagline {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

/* === SIDEBAR === */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.sidebar.open {
  pointer-events: auto;
  visibility: visible;
}
.sidebar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.sidebar.open .sidebar-overlay {
  opacity: 1;
}
.sidebar-content {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  max-width: 85%;
  background: var(--card-bg);  border-right: 1px solid var(--border);
  transform: translateX(-100%);
  transition: transform 0.3s;
  overflow-y: auto;
  padding: 16px 0;
}
.sidebar.open .sidebar-content {
  transform: translateX(0);
}
.sidebar-header {
  padding: 12px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.store-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.3s;
}
.store-info {
  flex: 1;
  min-width: 0;
}
.store-name {
  font-weight: 700;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.store-owner {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;  padding: 11px 19px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  font-size: 0.9rem;
  transition: background 0.2s;
}
.sidebar-item:hover {
  background: var(--bg);
}
.sidebar-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}
.sidebar-icon {
  font-size: 1.2rem;
}

/* === MAIN === */
.main {
  padding: 14px;
  padding-bottom: 80px;
  max-width: 800px;
  margin: 0 auto;
}
.page {
  display: none;
}
.page.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
.page-title {
  font-size: 1.15rem;
  margin-bottom: 14px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === BOTTOM NAV === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 6px 2px;
  z-index: 100;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.6rem;
  color: var(--text-secondary);
  border: none;
  background: none;
  flex: 1;
  transition: all 0.2s;
}
.bottom-nav-item.active {
  color: var(--primary);
  background: var(--primary-light);
}
.bottom-nav-item .nav-icon {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

/* === FAB === */
.chat-fab {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  z-index: 99;
  transition:
    transform 0.2s,
    background 0.3s;
}
.chat-fab:hover {
  transform: scale(1.1);
}

/* === RESPONSIVE === */
@media (max-width: 480px) {  .stats-grid {
    gap: 6px;
  }
  .stat-card {
    padding: 10px;
  }
  .stat-card .value {
    font-size: 1rem;
  }
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .chart-container {
    height: 240px;
  }
  .cashflow-grid {
    grid-template-columns: 1fr;
  }
  .theme-option {
    width: 44px;
    height: 44px;
  }
}

/* === USER MENU === */
#user-menu-container {
  display: flex;
  align-items: center;
}
.user-menu {
  cursor: pointer;
  transition: transform 0.2s;
}
.user-menu:hover {
  transform: scale(1.05);
}
.user-menu-logged {
  cursor: pointer;
  transition: transform 0.2s;
}
.user-menu-logged:hover {
  transform: scale(1.05);
}

/* === USER NAME DISPLAY (BARU) === */
.user-menu-logged {
  cursor: pointer;
  transition: all 0.2s;
}
.user-menu-logged:hover {
  transform: scale(1.05);
}
.user-name-display {
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-name-display.premium {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

/* === LANDING PAGE === */
#landing-page {
  display: none;
  flex-direction: column;
  height: 100dvh;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 55%, #1e3a8a 100%);
  padding: 0 20px 24px;
  box-sizing: border-box;
  overflow-y: auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}
#landing-page.active {
  display: flex;
}
.landing-hero {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0 28px;
  text-align: center;
}
.landing-logo {
  font-size: 3.5rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.landing-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.landing-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;}
.landing-card {
  background: #fff;
  border-radius: 20px 20px 16px 16px;
  padding: 24px 20px 20px;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.15);
}
[data-theme="dark"] .landing-card {
  background: var(--card-bg);
}
.landing-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  text-align: center;
}
.landing-footer-links {
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.landing-footer-links a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.land-error {
  margin-bottom: 10px;
  padding: 10px;
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid var(--danger);
  border-radius: 6px;
  color: var(--danger);
  font-size: 0.82rem;
}

/* === ACCOUNT PAGE === */
.account-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
}
.account-details {
  flex: 1;
}
.account-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.account-email {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.account-status {
  display: inline-block;
}
#land-forgot-group a {
  text-decoration: none;
  transition: opacity 0.2s;
}
#land-forgot-group a:hover {  
  opacity: 0.7;
  text-decoration: underline;
}

/* === POWER BI STYLE: ADVANCED ANALYSIS === */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.kpi-card {
  background: var(--bg-card, #ffffff);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border, #e2e8f0);
}
.kpi-label { 
  font-size: 0.75rem; 
  color: var(--text-secondary); 
  margin-bottom: 4px; 
}
.kpi-value { 
  font-size: 1.2rem; 
  font-weight: 700; 
  color: var(--text-primary); 
  margin-bottom: 8px; 
}
.kpi-target { 
  font-size: 0.7rem; 
  color: var(--text-secondary); 
  margin-bottom: 6px; 
}
.progress-track {
  background: #e2e8f0;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}
.progress-fill.success { 
  background: #10b981; 
}
.progress-fill.warning { 
  background: #f59e0b; 
}
.progress-fill.danger { 
  background: #ef4444; 
}
.abc-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border, #e2e8f0);
  font-size: 0.8rem;
}
.abc-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  margin-right: 12px;
  font-size: 0.7rem;
}
.abc-badge.a { 
  background: #10b981; 
}
.abc-badge.b { 
  background: #f59e0b; 
}
.abc-badge.c { 
  background: #94a3b8; 
}
.abc-name { 
  flex: 1; 
}
.abc-sales { 
  font-weight: 600; 
}
.turnover-card {
  background: var(--bg-card, #ffffff);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border, #e2e8f0);
}
.turnover-value { 
  font-size: 2rem; 
  font-weight: 800; 
  margin: 10px 0; 
}
.turnover-status { 
  font-size: 0.85rem; 
  font-weight: 600; 
  padding: 4px 12px; 
  border-radius: 12px; 
  display: inline-block; 
}
.turnover-status.excellent { 
  background: #d1fae5; 
  color: #065f46; 
}
.turnover-status.good { 
  background: #fef3c7; 
  color: #92400e; 
}
.turnover-status.warning { 
  background: #fee2e2; 
  color: #991b1b; 
}

/* === POWER BI PHASE 2: WHAT-IF & CLV === */
/* What-If Simulator */
input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;  
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.sim-recommendation {
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}
.sim-recommendation.good { 
  background: #d1fae5; 
  color: #065f46; 
}

/* Customer Lifetime Value */
.clv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.clv-card {
  background: var(--bg-card, #fff);
  border-radius: 12px;
  padding: 16px;  
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid var(--border, #e2e8f0);
  position: relative;
  overflow: hidden;
}
.clv-tier-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
}
.clv-tier-badge.platinum { 
  background: linear-gradient(135deg, #6366f1, #8b5cf6); 
}
.clv-tier-badge.gold { 
  background: linear-gradient(135deg, #f59e0b, #d97706); 
}
.clv-tier-badge.silver { 
  background: linear-gradient(135deg, #94a3b8, #64748b); 
}
.clv-tier-badge.bronze { 
  background: linear-gradient(135deg, #a8a29e, #78716c); 
}
.clv-name { 
  font-size: 1rem; 
  font-weight: 700; 
  margin-bottom: 4px; 
  padding-right: 60px; 
}
.clv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.clv-stat-label { font-size: 0.65rem; color: var(--text-secondary); }
.clv-stat-value { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.clv-projected {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border, #e2e8f0);
  text-align: center;
}
.clv-projected-label { font-size: 0.7rem; color: var(--text-secondary); }
.clv-projected-value { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-top: 4px; }
/* === DRILL-DOWN CHART === */
.drilldown-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--bg-card, #fff);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.2s;
}
.drilldown-back-btn:hover {
  background: var(--primary);
  color: white;  border-color: var(--primary);
}
.drilldown-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
/* === PERBANDINGAN OMZET (MoM) === */
.mom-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-card, #fff);
  border-radius: 12px;
  border: 1px solid var(--border, #e2e8f0);
  margin-bottom: 12px;
}
.mom-left { flex: 1; }
.mom-label { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 4px; }
.mom-value { font-size: 1.3rem; font-weight: 800; color: var(--text-primary); }
.mom-right { text-align: right; min-width: 100px; }
.mom-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}
.mom-badge.naik { background: #d1fae5; color: #065f46; }
.mom-badge.turun { background: #fee2e2; color: #991b1b; }
.mom-badge.sama { background: #f1f5f9; color: #64748b; }
.mom-subtitle { font-size: 0.7rem; color: var(--text-secondary); margin-top: 4px; }
/* === PEMANTAUAN PELANGGAN BARU === */
/* === FIX DROPDOWN KASIR === */
.search-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  max-height: 220px;
  overflow-y: auto;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: none;
}

.dropdown-results.show {
  display: block;
}

.dropdown-item {
  padding: 12px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
  transition: background 0.15s;
}

.dropdown-item:last-child {  border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item:active {
  background: rgba(37, 99, 235, 0.08);
}

.dropdown-item.create-new {
  color: var(--primary);
  font-weight: 600;
  background: rgba(37, 99, 235, 0.04);
}

.dropdown-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Mencegah dropdown tertutup bottom nav */

/* Dark mode support */
[data-theme="dark"] .dropdown-results {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .dropdown-item:hover {
  background: rgba(37, 99, 235, 0.15);
}

/* ===== LANDING LEGAL FOOTER ===== */
.landing-legal-footer {
  text-align: center;
  padding: 20px 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.landing-legal-links {
  margin-bottom: 8px;
}
.landing-legal-links a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 6px;
}


/* ===== LANDING FORGOT GROUP ===== */
.land-forgot-group {
  text-align: right;
  margin-bottom: 12px;
}
.land-forgot-link {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
}


/* ===== WELCOME BANNER INNER ===== */
.welcome-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.welcome-text {
  flex: 1;
}
.welcome-greeting {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.welcome-datetime {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 6px;
}
.welcome-stock-alert {
  font-size: 0.8rem;
  opacity: 0.85;
}
.welcome-icon {
  font-size: 2.5rem;
  opacity: 0.3;
}

/* === TOGGLE SWITCH (PENGATURAN) === */
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--border);
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
  display: inline-block;
}
.toggle.active {
  background: var(--primary);
}
.toggle::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.toggle.active::after {
  transform: translateX(22px);
}

/* === DAILY ACTION CARD === */
#daily-action-card {
  margin-top: 18px !important;
  padding-top: 16px !important;
}
.daily-action-section:first-child {
  margin-top: 4px;
  padding-bottom: 0;
  border-bottom: none;
}

.daily-action-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.daily-action-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.target-progress-bar {
  height: 12px;
  background: var(--bg, #f8fafc);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.target-progress-fill {
  height: 100%;
  transition: width 0.3s ease;
}

.target-progress-fill.success { background: var(--success, #10b981); }
.target-progress-fill.warning { background: var(--warning, #f59e0b); }
.target-progress-fill.danger { background: var(--danger, #ef4444); }

.target-info {
  display: flex;  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Alert boxes */
.alert-box {
  padding: 10px 12px;
  border-left: 4px solid;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.alert-box.critical {
  background: rgba(239, 68, 68, 0.05);
  border-color: var(--danger, #ef4444);
}

.alert-box.success {
  background: rgba(16, 185, 129, 0.05);
  border-color: var(--success, #10b981);
}

.alert-box.warning {
  background: rgba(245, 158, 11, 0.05);
  border-color: var(--warning, #f59e0b);
}

.alert-box.info {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--primary, #2563eb);
}

/* Edit target button */
.btn-edit-target {
  background: var(--primary, #2563eb);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
}

.btn-edit-target:hover {
  transform: translateY(-1px);  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}.receipt-list-item.cancelled { opacity: 0.6; background: #f8fafc; }
.receipt-list-item.cancelled:hover { opacity: 0.8; }
.receipt-list-item.cancelled .receipt-list-header { opacity: 0.7; }
/* Welcome Banner */
.welcome-banner {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.welcome-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}
.welcome-banner:active {
  transform: translateY(0);
}
/* Tombol Intal PWA
#pwa-install-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}
#pwa-install-btn:hover { 
  background: var(--primary-dark, #1d4ed8); }
#pwa-install-btn:active { 
  transform: scale(0.95); 
}