* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary: #2A7D8C;
  --primary-light: #3A9BAE;
  --primary-dark: #1E5F6B;
  --primary-gradient: linear-gradient(135deg, #2A7D8C 0%, #3A9BAE 100%);
  --success: #22C55E;
  --success-bg: #DCFCE7;
  --warning: #F59E0B;
  --warning-bg: #FEF3C7;
  --danger: #EF4444;
  --danger-bg: #FEE2E2;
  --info: #3B82F6;
  --info-bg: #DBEAFE;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --bottom-nav-height: 70px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  position: fixed;
  user-select: none;
}

/* App Container */
#app {
  width: 100%;
  max-width: none;
  margin: 0;
  height: 100vh;
  background: var(--gray-50);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: none;
}

/* Header */
.app-header {
  padding: 8px 20px 12px;
  background: var(--gray-50);
  flex-shrink: 0;
  border-bottom: 1px solid var(--gray-200);
}

.app-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.app-title {
  font-size: 40px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.app-title span {
  font-weight: 400;
  -webkit-text-fill-color: var(--gray-500);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}

.status-dot .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.status-dot .dot.offline {
  background: var(--danger);
  animation: none;
}

.greeting {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 400;
}

.greeting strong {
  color: var(--gray-800);
  font-weight: 600;
}

/* Main Content */
.main-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 20px 20px;
  -webkit-overflow-scrolling: touch;
}

.main-content::-webkit-scrollbar {
  width: 4px;
}

.main-content::-webkit-scrollbar-track {
  background: transparent;
}

.main-content::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 10px;
}

/* Bottom Navigation */
.bottom-nav {
  flex-shrink: 0;
  height: var(--bottom-nav-height);
  background: white;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: stretch;
  padding-bottom: var(--safe-bottom);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-item .nav-icon {
  font-size: 22px;
  transition: transform 0.2s;
}

.nav-item .nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.nav-item.active {
  color: var(--primary);
}

.nav-item.active .nav-icon {
  transform: scale(1.05);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 0 0 4px 4px;
}

.nav-item:active {
  transform: scale(0.95);
}

/* ========================================
            TAB KASIR
        ======================================== */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Search Section */
.search-section {
  margin-bottom: 20px;
}

.search-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
  display: block;
}

.search-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-input-wrapper .input-group {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  gap: 6px;
  align-items: center;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 0 12px 0 36px;
  height: 56px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input-wrapper .input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(42, 125, 140, 0.15);
}

.search-input-wrapper .input-group .icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 16px;
  pointer-events: none;
}

.search-input-wrapper .input-group input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  font-weight: 500;
  letter-spacing: 0.5px;
  height: 100%;
  padding: 0;
  box-shadow: none;
}

.search-input-wrapper .input-group input:focus {
  outline: none;
  box-shadow: none;
}

.search-input-wrapper .input-group input::placeholder {
  color: var(--gray-400);
  font-weight: 400;
  letter-spacing: 0;
}

/* Kotak huruf (prefix) */
#orderPrefixInput {
  width: 1ch;
  min-width: 1ch;
  max-width: 8ch;
  flex-shrink: 0;
  text-align: right;
  text-transform: uppercase;
}
/* Kotak angka */
#orderNumberInput {
  flex: 1;
  min-width: 0;
}

/* Pemisah "-" */
.search-input-wrapper .input-group > span {
  color: var(--gray-400);
  font-weight: 600;
  flex-shrink: 0;
  user-select: none;
}

.btn-primary {
  padding: 14px 18px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(42, 125, 140, 0.3);
  flex-shrink: 0;
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary:disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-primary .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-secondary {
  padding: 12px 20px;
  background: var(--gray-200);
  color: var(--gray-700);
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:active {
  background: var(--gray-300);
}

.btn-success {
  padding: 14px 28px;
  background: var(--success);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.btn-success:active {
  transform: scale(0.97);
}

.btn-success:disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-danger {
  padding: 14px 28px;
  background: var(--danger);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.btn-danger:active {
  transform: scale(0.97);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
  text-align: center;
}

.empty-state .empty-icon {
  font-size: 72px;
  color: var(--gray-300);
  margin-bottom: 20px;
  background: var(--gray-100);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: var(--gray-500);
  max-width: 280px;
  line-height: 1.6;
}

/* Order Detail Card */
.order-detail-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.order-id {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.3px;
}

.order-id .label {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 13px;
}

.badge {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  white-space: nowrap;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge-info {
  background: var(--info-bg);
  color: var(--info);
}

.badge-gray {
  background: var(--gray-200);
  color: var(--gray-600);
}

.order-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 14px;
}

.order-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-meta-item .meta-label {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-meta-item .meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

/* Product List */
.product-list {
  margin-bottom: 14px;
}

.product-list-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.product-item:last-child {
  border-bottom: none;
}

.product-info {
  flex: 1;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

.product-variant {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 1px;
}

.product-price {
  text-align: right;
}

.product-price .qty {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.product-price .amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
}

/* Order Summary */
.order-summary {
  padding-top: 14px;
  border-top: 2px solid var(--gray-200);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 14px;
  color: var(--gray-600);
}

.summary-row .label {
  font-weight: 400;
}

.summary-row .value {
  font-weight: 500;
}

.summary-row.total {
  padding-top: 10px;
  margin-top: 6px;
  border-top: 2px solid var(--gray-200);
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
}

.summary-row.total .value {
  color: var(--primary);
  font-size: 20px;
}

.summary-row.discount .value {
  color: var(--danger);
}

/* Action Buttons */
.order-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* ========================================
            TAB LAPORAN
        ======================================== */
.report-header {
  margin-bottom: 16px;
}

.report-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}

.report-header .date {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 2px;
}

/* Date Filter */
.date-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.date-filter .filter-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--gray-200);
  background: white;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.date-filter .filter-btn:active {
  transform: scale(0.95);
}

.date-filter .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.stat-card .stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card .stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-top: 2px;
}

.stat-card .stat-value.primary {
  color: var(--primary);
}

.stat-card .stat-value.success {
  color: var(--success);
}

.stat-card .stat-value.danger {
  color: var(--danger);
}

.stat-card .stat-value.warning {
  color: var(--warning);
}

.stat-card.full {
  grid-column: 1 / -1;
}

/* Payment Methods */
.payment-breakdown {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.payment-breakdown .title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.payment-method-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
}

.payment-method-item:last-child {
  border-bottom: none;
}

.payment-method-item .method-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-method-item .method-name .icon {
  font-size: 16px;
  color: var(--gray-400);
}

.payment-method-item .method-total {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
}

.payment-method-item .method-count {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
  margin-right: 8px;
}

/* Transaction List */
.transaction-list {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.transaction-list .list-title {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--gray-100);
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background 0.15s;
}

.transaction-item:active {
  background: var(--gray-50);
}

.transaction-item:last-child {
  border-bottom: none;
}

.transaction-item .left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.transaction-item .left .id {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
}

.transaction-item .left .time {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}

.transaction-item .right {
  text-align: right;
}

.transaction-item .right .amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
}

.transaction-item .right .method {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
}

/* ========================================
            MODAL / OVERLAY
======================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-sheet {
  background: white;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-width: 100%;
  width: 100%;
  max-height: 90vh;
  padding: 20px 20px 30px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
  padding-bottom: calc(20px + var(--safe-bottom));
  will-change: transform;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
}

.modal-overlay.open .modal-sheet {
  transform: translateY(0);
}

.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--gray-300);
  border-radius: 4px;
  margin: 0 auto 16px;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  text-align: center;
}

.modal-title .sub {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-500);
  display: block;
  margin-top: 4px;
}

.modal-amount {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.modal-amount .currency {
  font-size: 20px;
  font-weight: 600;
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-method-btn {
  padding: 14px 8px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
}

.payment-method-btn:active {
  transform: scale(0.95);
}

.payment-method-btn .icon {
  font-size: 24px;
}

.payment-method-btn.selected {
  border-color: var(--primary);
  background: rgba(42, 125, 140, 0.05);
  color: var(--primary);
}

/* Cash Input */
.cash-input-group {
  margin-bottom: 16px;
}

.cash-input-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  display: block;
  margin-bottom: 6px;
}

.cash-input-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 20px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-align: center;
  color: var(--gray-800);
  transition: border-color 0.2s;
  height: 56px;
}

.cash-input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(42, 125, 140, 0.1);
}

.change-display {
  text-align: center;
  padding: 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.change-display .label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.change-display .value {
  font-size: 28px;
  font-weight: 900;
  color: var(--success);
}

.change-display .value.negative {
  color: var(--danger);
}

/* Success Modal */
.success-icon {
  font-size: 64px;
  color: var(--success);
  text-align: center;
  margin-bottom: 12px;
}

.success-details {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 16px;
  margin: 16px 0;
}

.success-details .row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 14px;
}

.success-details .row .label {
  color: var(--gray-500);
}

.success-details .row .value {
  font-weight: 600;
  color: var(--gray-800);
}

/* Scrollable modal content */
.modal-scroll {
  max-height: 60vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  max-width: 400px;
  width: 90%;
  pointer-events: none;
}

.toast {
  background: var(--gray-900);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: auto;
  margin-bottom: 8px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: var(--danger);
}

.toast.success {
  background: var(--success);
}

.toast .icon {
  font-size: 20px;
  flex-shrink: 0;
}

/* Scrollable transaction list */
.transaction-scroll {
  max-height: 300px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.transaction-scroll::-webkit-scrollbar {
  width: 3px;
}

.transaction-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 10px;
}

/* No transactions */
.no-data {
  padding: 30px 20px;
  text-align: center;
  color: var(--gray-400);
  font-size: 14px;
}

.no-data .icon {
  font-size: 40px;
  color: var(--gray-300);
  margin-bottom: 8px;
}