/* ============================================================
   KBG PAY — Global Stylesheet
   Brand: Navy #0B1D3A · KBG Orange #F58220 · Dark bg #0E0E1E
   Aligned to the main ERP KBG-orange system so Pay reads as one product.
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0B1D3A;
  --navy2:      #16162E;
  --orange:     #F58220;   /* KBG primary — matches the ERP */
  --orange2:    #E06A1B;   /* deeper partner for gradients   */
  --on-accent:  #FFFFFF;   /* text/icons that sit on the orange accent */
  --bg:         #0E0E1E;
  --card:       #161626;
  --card2:      #1A1A2E;
  --border:     rgba(255,255,255,0.07);
  --border2:    #2A2A46;
  --white:      #FFFFFF;
  --gray:       #9CA3AF;
  --dgray:      #6B7280;
  --green:      #10B981;
  --green-lt:   #D1FAE5;
  --red:        #EF4444;
  --red-lt:     #FEE2E2;
  --yellow:     #F59E0B;
  --yellow-lt:  #FEF3C7;
  --blue:       #3B82F6;
  --teal:       #4ECDC4;
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  24px;
  --shadow:     0 8px 32px rgba(0,0,0,0.4);
  --transition: 0.2s ease;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', 'Plus Jakarta Sans', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-decoration: none; }
a:hover { opacity: 0.85; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }
img { max-width: 100%; display: block; }

/* ── Layout ────────────────────────────────────────────────── */
.app-wrapper {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.page {
  flex: 1;
  padding: 0 0 80px;
  overflow-x: hidden;
}

.container { padding: 0 16px; }

/* ── Top Bar ─────────────────────────────────────────────────*/
.top-bar {
  background: var(--bg);
  padding: 14px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.top-bar-left .label  { font-size: 10px; color: var(--orange); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.top-bar-left .title  { font-size: 19px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.top-bar-right        { display: flex; align-items: center; gap: 12px; }

.back-link { font-size: 13px; color: var(--orange); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.page-title { font-size: 17px; font-weight: 800; color: var(--white); }

/* ── Bottom Nav ─────────────────────────────────────────────*/
.bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 480px;
  background: rgba(14,14,30,0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border2);
  display: flex;
  padding: 8px 0 20px;
  z-index: 200;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  color: var(--dgray);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 0;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}
.nav-item .nav-icon { display: flex; align-items: center; justify-content: center; height: 22px; }
.nav-item .nav-icon svg { width: 22px; height: 22px; }
.nav-item:not(.active) .nav-icon { opacity: 0.9; }
.nav-item.active { color: var(--orange); }
.nav-item.active::before {
  content: '';
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 3px;
  background: var(--orange);
  border-radius: 0 0 3px 3px;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 16px;
}
.card-sm { border-radius: var(--radius); padding: 12px; }
.card-xl { border-radius: var(--radius-xl); padding: 20px; }

/* ── Wallet Card ─────────────────────────────────────────────*/
.wallet-card {
  margin: 12px 16px;
  background: linear-gradient(135deg, #1a1a3e 0%, #0d1b4b 100%);
  border-radius: var(--radius-xl);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.wallet-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.wallet-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; margin-bottom: 4px; }
.wallet-balance { font-size: 34px; font-weight: 900; color: var(--white); letter-spacing: -1px; line-height: 1.1; }
.wallet-actions { display: flex; gap: 8px; margin-top: 14px; }
.wallet-btn {
  flex: 1;
  padding: 9px 0;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: opacity var(--transition), transform var(--transition);
}
.wallet-btn:active { transform: scale(0.97); opacity: 0.9; }
.wallet-btn-primary { background: var(--orange); color: var(--on-accent); }
.wallet-btn-secondary { background: rgba(255,255,255,0.08); color: var(--white); }

/* ── Stats Row ───────────────────────────────────────────────*/
.stats-row {
  display: flex;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 10px 16px;
}
.stat-cell { flex: 1; padding: 10px 8px; text-align: center; }
.stat-cell + .stat-cell { border-left: 1px solid var(--border); }
.stat-val   { font-size: 15px; font-weight: 700; color: var(--white); }
.stat-label { font-size: 10px; color: var(--gray); margin-top: 2px; }

/* ── KPI Grid ────────────────────────────────────────────────*/
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px; }
.kpi-card { background: var(--card); border-radius: var(--radius); padding: 14px; border: 1px solid var(--border); }
.kpi-icon  { font-size: 20px; margin-bottom: 8px; }
.kpi-val   { font-size: 18px; font-weight: 800; }
.kpi-label { font-size: 11px; color: var(--gray); margin-top: 3px; }

/* ── Section Header ──────────────────────────────────────────*/
.section-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px 8px; }
.section-title  { font-size: 14px; font-weight: 700; color: var(--white); }
.section-link   { font-size: 12px; color: var(--orange); font-weight: 600; }

/* ── Transaction Row ─────────────────────────────────────────*/
.txn-list { padding: 0 16px; }
.txn-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.txn-dot  { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.txn-info { flex: 1; min-width: 0; }
.txn-desc { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.txn-meta { font-size: 11px; color: var(--gray); margin-top: 2px; }
.txn-right { text-align: right; flex-shrink: 0; }
.txn-amt  { font-size: 13px; font-weight: 700; color: var(--red); }
.txn-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 12px;
  position: relative;
}
.txn-card-accent {
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 4px; border-radius: 0 4px 4px 0;
}
.txn-card-body { flex: 1; min-width: 0; padding-left: 8px; }

/* ── Badges ──────────────────────────────────────────────────*/
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-green  { background: var(--green-lt);  color: var(--green); }
.badge-yellow { background: var(--yellow-lt); color: var(--yellow); }
.badge-red    { background: var(--red-lt);    color: var(--red); }
.badge-blue   { background: rgba(59,130,246,0.14); color: #2563EB; }
.badge-gray   { background: rgba(255,255,255,0.08); color: var(--gray); }
.badge-orange { background: rgba(255,107,53,0.15); color: var(--orange); }
.badge-count  { background: var(--red); color: var(--white); font-size: 10px; padding: 1px 6px; border-radius: 10px; font-weight: 700; }

/* ── Progress Bar ────────────────────────────────────────────*/
.progress-wrap { height: 6px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.progress-lg { height: 10px; }

/* ── Avatar ──────────────────────────────────────────────────*/
.avatar {
  width: 40px; height: 40px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--white);
  flex-shrink: 0;
}
.avatar-sm  { width: 32px; height: 32px; border-radius: 10px; font-size: 11px; }
.avatar-lg  { width: 64px; height: 64px; border-radius: 20px; font-size: 20px; }
.avatar-xl  { width: 80px; height: 80px; border-radius: 24px; font-size: 24px; }

/* ── Employee Cards ──────────────────────────────────────────*/
.emp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.emp-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
  text-decoration: none; color: inherit;
  display: block;
}
.emp-card:hover { transform: translateY(-2px); border-color: var(--orange); }
.emp-card-top-accent { height: 4px; border-radius: 4px 4px 0 0; margin: -16px -16px 12px; }
.emp-name  { font-size: 13px; font-weight: 700; margin: 8px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emp-role  { font-size: 10px; color: var(--gray); margin-bottom: 10px; }
.emp-spent { font-size: 15px; font-weight: 800; }
.emp-limit { font-size: 11px; color: var(--gray); }
.emp-remaining { font-size: 11px; font-weight: 600; margin-top: 5px; }
.emp-actions { display: flex; gap: 6px; margin-top: 10px; }
.emp-action-btn {
  flex: 1; padding: 6px 0; border-radius: 8px;
  font-size: 11px; font-weight: 600;
  background: rgba(255,255,255,0.06); color: var(--gray);
  transition: all var(--transition);
}
.emp-action-btn.primary { background: var(--orange); color: var(--white); }

/* ── Forms ───────────────────────────────────────────────────*/
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 11px; font-weight: 700; color: var(--gray); letter-spacing: 0.5px; margin-bottom: 6px; text-transform: uppercase; }
.form-control {
  width: 100%; padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--white); font-size: 14px; font-family: inherit;
  transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--orange); }
.form-control::placeholder { color: var(--dgray); }
.form-control.error { border-color: var(--red); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239CA3AF' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-error { font-size: 11px; color: var(--red); margin-top: 4px; display: none; }
.form-error.show { display: block; }

/* ── Category Chips ──────────────────────────────────────────*/
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0; padding: 6px 14px;
  border-radius: 20px; border: 1px solid var(--border2);
  background: transparent; color: var(--gray);
  font-size: 12px; font-weight: 600;
  transition: all var(--transition); cursor: pointer;
}
.cat-chip.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ── Buttons ─────────────────────────────────────────────────*/
.btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 14px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; font-family: inherit;
  transition: opacity var(--transition), transform var(--transition);
}
.btn:active { transform: scale(0.98); opacity: 0.9; }
.btn-primary  { background: linear-gradient(135deg, var(--orange), var(--orange2)); color: var(--on-accent); }
.btn-secondary{ background: rgba(255,255,255,0.06); color: var(--gray); }
.btn-success  { background: var(--green); color: var(--white); }
.btn-danger   { background: var(--red); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 10px; width: auto; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── File Upload ─────────────────────────────────────────────*/
.upload-area {
  border: 2px dashed var(--border2);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center; cursor: pointer;
  transition: border-color var(--transition);
}
.upload-area:hover { border-color: var(--orange); }
.upload-area.has-file { border-color: var(--green); border-style: solid; }
.upload-icon { font-size: 28px; margin-bottom: 8px; }
.upload-label { font-size: 13px; color: var(--gray); }
.upload-hint  { font-size: 11px; color: var(--dgray); margin-top: 4px; }
.upload-preview { width: 100%; max-height: 160px; object-fit: cover; border-radius: 8px; margin-top: 10px; }

/* ── Alert / Notice Bars ─────────────────────────────────────*/
.alert { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.alert-warning { background: rgba(245,158,11,0.12); border: 1px solid rgba(245,158,11,0.3); color: var(--yellow); }
.alert-success { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); color: var(--green); }
.alert-danger  { background: rgba(239,68,68,0.12);  border: 1px solid rgba(239,68,68,0.3);  color: var(--red); }
.alert-info    { background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3); color: var(--blue); }

/* ── Modal / Bottom Sheet ────────────────────────────────────*/
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex; align-items: flex-end;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-sheet {
  background: var(--card2);
  border-radius: 24px 24px 0 0;
  padding: 20px 20px 36px;
  width: 100%; max-height: 88vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.open .modal-sheet { transform: translateY(0); }
.modal-handle { width: 36px; height: 4px; background: var(--border2); border-radius: 4px; margin: 0 auto 16px; }
.modal-title { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.modal-sub   { font-size: 13px; color: var(--gray); margin-bottom: 16px; }

/* ── Toast ───────────────────────────────────────────────────*/
.toast {
  position: fixed; bottom: 90px; left: 16px; right: 16px; max-width: 448px; margin: 0 auto;
  background: var(--green); color: var(--white);
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 13px; font-weight: 700; text-align: center;
  z-index: 1000; box-shadow: var(--shadow);
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--red); }

/* ── QR Scanner ──────────────────────────────────────────────*/
.scanner-overlay {
  position: fixed; inset: 0;
  background: #000;
  z-index: 600;
  display: flex; flex-direction: column;
}
.scanner-header { padding: 50px 20px 20px; display: flex; align-items: center; justify-content: space-between; }
.scanner-close { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.15); color: var(--white); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.scanner-frame-wrap { flex: 1; display: flex; align-items: center; justify-content: center; }
.scanner-frame { width: 240px; height: 240px; position: relative; }
.scanner-corner {
  position: absolute; width: 32px; height: 32px;
  border: 3px solid var(--orange);
}
.scanner-corner.tl { top:0; left:0; border-right:none; border-bottom:none; border-radius: 4px 0 0 0; }
.scanner-corner.tr { top:0; right:0; border-left:none; border-bottom:none; border-radius: 0 4px 0 0; }
.scanner-corner.bl { bottom:0; left:0; border-right:none; border-top:none; border-radius: 0 0 0 4px; }
.scanner-corner.br { bottom:0; right:0; border-left:none; border-top:none; border-radius: 0 0 4px 0; }
.scan-line { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,var(--orange),transparent); animation: scanMove 1.5s ease-in-out infinite; }
@keyframes scanMove { 0%{top:0} 50%{top:calc(100% - 2px)} 100%{top:0} }
.scanner-result { background: rgba(16,185,129,0.1); border: 1px solid var(--green); border-radius: var(--radius); padding: 12px 16px; margin: 12px; display: none; }
.scanner-result.show { display: block; }
.scanner-actions { padding: 16px; }

/* ── Receipt Lightbox ────────────────────────────────────────*/
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 700; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; background: rgba(255,255,255,0.2); border-radius: 50%; color: var(--white); font-size: 18px; display: flex; align-items: center; justify-content: center; }

/* ── Bank Details Card ───────────────────────────────────────*/
.bank-card { background: var(--bg); border-radius: var(--radius); padding: 14px; border: 1px solid var(--border); margin-bottom: 14px; }
.bank-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border); }
.bank-row:last-child { border-bottom: none; }
.bank-label { font-size: 12px; color: var(--gray); }
.bank-val   { font-size: 12px; font-weight: 700; color: var(--white); }

/* ── Quick Amount Chips ──────────────────────────────────────*/
.quick-amts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.quick-amt-btn {
  padding: 10px; background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3); border-radius: 10px;
  color: var(--orange); font-size: 13px; font-weight: 700;
  transition: all var(--transition);
}
.quick-amt-btn:hover { background: rgba(255,107,53,0.2); }

/* ── Budget Ring (Progress) ──────────────────────────────────*/
.budget-card { background: linear-gradient(135deg,#1a1a3e,#0d1b4b); border-radius: var(--radius-xl); padding: 20px; margin: 12px 16px; border: 1px solid rgba(255,255,255,0.06); }
.budget-remaining { font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.budget-label { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.budget-sub { font-size: 12px; color: var(--gray); display: flex; justify-content: space-between; margin-top: 6px; }

/* ── Success Screen ──────────────────────────────────────────*/
.success-bg { background: linear-gradient(135deg,#0a1e10,#0d2a1a); min-height: 100vh; }
.success-ring { width: 140px; height: 140px; border-radius: 50%; background: rgba(16,185,129,0.15); display: flex; align-items: center; justify-content: center; margin: 0 auto; animation: pulse 2s ease-in-out infinite; }
.success-ring-inner { width: 110px; height: 110px; border-radius: 50%; background: rgba(16,185,129,0.25); display: flex; align-items: center; justify-content: center; }
.success-check { font-size: 48px; line-height: 1; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.04)} }
.receipt-card { background: var(--card); border-radius: var(--radius-xl); padding: 20px; margin: 16px; }
.receipt-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.receipt-row:last-child { border-bottom: none; }
.receipt-key { color: var(--gray); }
.receipt-val { font-weight: 700; }

/* ── Charts (Chart.js containers) ───────────────────────────*/
.chart-container { position: relative; height: 180px; margin: 8px 0; }

/* ── Empty State ─────────────────────────────────────────────*/
.empty-state { text-align: center; padding: 40px 20px; }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.4; }
.empty-state p { color: var(--gray); font-size: 14px; }

/* ── Spinner ─────────────────────────────────────────────────*/
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: var(--white); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Settings ────────────────────────────────────────────────*/
.settings-group { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; margin: 0 16px 12px; border: 1px solid var(--border); }
.settings-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.settings-item:last-child { border-bottom: none; }
.settings-label { font-size: 11px; color: var(--gray); margin-bottom: 3px; letter-spacing: 0.3px; }
.settings-val   { font-size: 14px; font-weight: 600; }
.settings-icon  { font-size: 18px; opacity: 0.6; }

/* ── Approval Cards ──────────────────────────────────────────*/
.approval-card { background: var(--card); border-radius: var(--radius-lg); padding: 16px; margin: 0 16px 12px; border: 1px solid var(--border); }
.approval-header { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.approval-amount { font-size: 22px; font-weight: 900; color: var(--orange); }
.approval-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); border-radius: 6px; padding: 6px 10px; font-size: 11px; color: var(--yellow); margin-bottom: 10px; }
.approval-actions { display: flex; gap: 8px; margin-top: 12px; }
.approval-actions .btn { flex: 1; padding: 10px; font-size: 13px; border-radius: 10px; }

/* ── Responsive helpers ──────────────────────────────────────*/
@media (max-width: 400px) {
  .wallet-balance { font-size: 28px; }
  .emp-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 481px) {
  body { background: #060610; }
  .app-wrapper { box-shadow: 0 0 0 1px var(--border), var(--shadow); border-radius: 0; min-height: 100vh; }
}

/* ── Utility ─────────────────────────────────────────────────*/
.text-orange { color: var(--orange); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-yellow { color: var(--yellow); }
.text-gray   { color: var(--gray); }
.text-teal   { color: var(--teal); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fs-11  { font-size: 11px; }
.fs-12  { font-size: 12px; }
.fs-13  { font-size: 13px; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.py-8  { padding-top: 8px; padding-bottom: 8px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
