/* ABHRO GATEWAY - Professional Light Theme (Inter + Rajdhani) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Rajdhani:wght@600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Surfaces */
  --bg-app:         #f6f8fb;
  --bg-primary:     #f6f8fb;
  --bg-secondary:   #ffffff;
  --bg-tertiary:    #f1f5f9;
  --bg-hover:       #f8fafc;
  --bg-subtle:      #fafbfc;
  --border:         #e5e7eb;
  --border-strong:  #cbd5e1;
  --border-focus:   #818cf8;

  /* Brand (deep indigo - professional fintech feel) */
  --primary:        #4f46e5;
  --primary-hover:  #4338ca;
  --primary-active: #3730a3;
  --primary-light:  #eef2ff;
  --primary-soft:   #e0e7ff;

  --accent:         #4f46e5;
  --accent-hover:   #4338ca;
  --accent-light:   #eef2ff;
  --accent-2:       #0ea5e9;

  /* Semantic */
  --success:        #059669;
  --success-light:  #d1fae5;
  --success-soft:   #ecfdf5;
  --warning:        #d97706;
  --warning-light:  #fef3c7;
  --warning-soft:   #fffbeb;
  --error:          #dc2626;
  --error-light:    #fee2e2;
  --error-soft:     #fef2f2;
  --info:           #0891b2;
  --info-light:     #cffafe;
  --info-soft:      #ecfeff;

  /* Text */
  --text-primary:   #0f172a;
  --text-heading:   #0b1224;
  --text-secondary: #475569;
  --text-tertiary:  #64748b;
  --text-muted:     #94a3b8;
  --text-inverse:   #ffffff;
  --text-link:      #4f46e5;

  /* Gradients (subtle, professional) */
  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #0ea5e9 100%);
  --gradient-brand-soft: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  --gradient-success: linear-gradient(135deg, #059669, #10b981);
  --gradient-page: linear-gradient(180deg, #f6f8fb 0%, #eef2ff 100%);

  /* Elevation */
  --shadow-xs:    0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm:    0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:    0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-card:  0 1px 3px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-lg:    0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-modal: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-btn:   0 1px 2px rgba(79, 70, 229, 0.25), 0 4px 12px rgba(79, 70, 229, 0.18);
  --shadow-btn-hover: 0 1px 3px rgba(79, 70, 229, 0.3), 0 6px 18px rgba(79, 70, 229, 0.28);
  --focus-ring:   0 0 0 3px rgba(99, 102, 241, 0.25);

  /* Radius */
  --radius-xs:  4px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-2xl: 24px;
  --radius-pill: 999px;

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Rajdhani', 'Inter', -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', 'Courier New', monospace;

  /* Transitions */
  --t-fast:   120ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base:   180ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow:   320ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea, [contenteditable], pre, code, .selectable, .table td, .code-block {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

a, button, [role="button"], label {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Base */
html {
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (min-width: 768px) { html { font-size: 16px; } }

body {
  font-family: var(--font-body);
  background: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

a { color: var(--text-link); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--primary-hover); }

img, svg { max-width: 100%; display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; border: 2px solid var(--bg-app); }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.625rem, 4.5vw, 2.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.375rem, 3.5vw, 1.75rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }

p { color: var(--text-secondary); }

.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.75rem; }
.text-lg    { font-size: 1.125rem; }
.text-muted     { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary   { color: var(--text-primary); }
.text-accent    { color: var(--primary); }
.text-success   { color: var(--success); }
.text-warning   { color: var(--warning); }
.text-error     { color: var(--error); }
.text-info      { color: var(--info); }
.font-mono      { font-family: var(--font-mono); }
.font-display   { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.font-bold      { font-weight: 600; }
.font-semibold  { font-weight: 600; }
.font-medium    { font-weight: 500; }

/* Gradient text */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes pulse    { 0%,100% { box-shadow: 0 0 0 0 rgba(79,70,229,0.4); } 50% { box-shadow: 0 0 0 10px rgba(79,70,229,0); } }
@keyframes pulseGreen { 0%,100% { box-shadow: 0 0 0 0 rgba(5,150,105,0.4); } 50% { box-shadow: 0 0 0 10px rgba(5,150,105,0); } }
@keyframes shimmer  { from { background-position: -200% center; } to { background-position: 200% center; } }
@keyframes timerPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes float    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes dotBounce { 0%,80%,100% { transform: scale(0); } 40% { transform: scale(1); } }
@keyframes ripple   { to { transform: scale(4); opacity: 0; } }
@keyframes slideDown { from { transform: translateY(-6px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Cards */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.3s ease both;
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.card-body { padding: clamp(16px, 3vw, 24px); }
.card-header {
  padding: 16px clamp(16px, 3vw, 24px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--bg-subtle);
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}
.card-footer {
  padding: 14px clamp(16px, 3vw, 24px);
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); color: var(--text-inverse); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { background: var(--bg-tertiary); border-color: #94a3b8; }

.btn-success { background: var(--success); color: var(--text-inverse); box-shadow: 0 1px 2px rgba(5,150,105,.25), 0 4px 12px rgba(5,150,105,.18); }
.btn-success:hover { background: #047857; color: var(--text-inverse); }
.btn-danger  { background: var(--error); color: var(--text-inverse); box-shadow: 0 1px 2px rgba(220,38,38,.25), 0 4px 12px rgba(220,38,38,.18); }
.btn-danger:hover  { background: #b91c1c; color: var(--text-inverse); }
.btn-warning { background: var(--warning); color: var(--text-inverse); }
.btn-warning:hover { background: #b45309; color: var(--text-inverse); }
.btn-info    { background: var(--info); color: var(--text-inverse); }
.btn-info:hover { background: #0e7490; color: var(--text-inverse); }

.btn-sm { min-height: 32px; padding: 6px 12px; font-size: 0.8125rem; }
.btn-lg { min-height: 48px; padding: 12px 24px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn:disabled, .btn.disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

.btn-icon { min-height: 36px; width: 36px; height: 36px; padding: 0; border-radius: var(--radius-sm); }

.ripple-effect { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.4); animation: ripple 0.6s linear; pointer-events: none; }
.btn-secondary .ripple-effect { background: rgba(15,23,42,0.1); }

/* Forms */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}
.form-label .required { color: var(--error); margin-left: 2px; }

.form-control {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  -webkit-user-select: text;
  user-select: text;
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
  outline: none;
}

.form-control::placeholder { color: var(--text-muted); }
.form-control:disabled { background: var(--bg-tertiary); cursor: not-allowed; opacity: 0.7; }
.form-control.error { border-color: var(--error); }
.form-control.success { border-color: var(--success); }

.input-group {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-group > .form-control { flex: 1; min-width: 0; }
.input-group-prepend, .input-group-append {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 0 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.input-group-prepend { border-right: none; border-radius: var(--radius-md) 0 0 var(--radius-md); }
.input-group-append { border-left: none; border-radius: 0 var(--radius-md) var(--radius-md) 0; cursor: pointer; transition: all var(--t-base); }
.input-group-append:hover { background: var(--primary-light); color: var(--primary); }
.input-group .form-control:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; }

.form-text  { font-size: 0.8125rem; color: var(--text-muted); margin-top: 6px; }
.form-error { font-size: 0.8125rem; color: var(--error); margin-top: 6px; font-weight: 500; }

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3e%3cpath fill='none' stroke='%23475569' stroke-width='2' d='M2 4l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
textarea.form-control { resize: vertical; min-height: 100px; line-height: 1.6; }

/* Toggle */
.toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 32px; }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-track { width: 44px; height: 24px; background: var(--border-strong); border-radius: 12px; position: relative; transition: background var(--t-base); }
.toggle-thumb { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: var(--bg-secondary); border-radius: 50%; box-shadow: var(--shadow-sm); transition: transform var(--t-base); }
.toggle input:checked ~ .toggle-track { background: var(--primary); }
.toggle input:checked ~ .toggle-track .toggle-thumb { transform: translateX(20px); }
.toggle-label { font-size: 0.9375rem; color: var(--text-secondary); }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
  border: 1px solid transparent;
}
.badge-success { background: var(--success-light); color: var(--success); border-color: rgba(5,150,105,0.15); }
.badge-error   { background: var(--error-light);   color: var(--error);   border-color: rgba(220,38,38,0.15); }
.badge-warning { background: var(--warning-light); color: var(--warning); border-color: rgba(217,119,6,0.15); }
.badge-info    { background: var(--info-light);    color: var(--info);    border-color: rgba(8,145,178,0.15); }
.badge-primary { background: var(--primary-light); color: var(--primary); border-color: rgba(79,70,229,0.15); }
.badge-muted   { background: var(--bg-tertiary);   color: var(--text-secondary); border-color: var(--border); }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  position: relative;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--bg-secondary);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table th {
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

.table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text-primary);
}

.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: var(--bg-subtle); }

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid;
  border-left-width: 4px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  animation: slideDown 0.3s ease;
  font-size: 0.9375rem;
}
.alert-info    { background: var(--info-soft);    border-color: var(--info);    color: var(--info); }
.alert-success { background: var(--success-soft); border-color: var(--success); color: var(--success); }
.alert-warning { background: var(--warning-soft); border-color: var(--warning); color: var(--warning); }
.alert-error   { background: var(--error-soft);   border-color: var(--error);   color: var(--error); }
.alert-body    { flex: 1; color: inherit; }
.alert-title   { font-weight: 600; margin-bottom: 2px; font-family: var(--font-display); letter-spacing: -0.005em; }
.alert-text    { font-size: 0.875rem; opacity: 0.9; }

/* Spinner */
.spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}
.spinner-sm { width: 14px; height: 14px; border-width: 2px; }
.spinner-lg { width: 36px; height: 36px; border-width: 3px; }

.loading-dots { display: inline-flex; gap: 4px; align-items: center; }
.loading-dots span { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: dotBounce 1.4s ease-in-out infinite both; }
.loading-dots span:nth-child(2) { animation-delay: 0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0.32s; }

.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--border) 50%, var(--bg-tertiary) 75%);
  background-size: 200% auto;
  animation: shimmer 1.5s linear infinite;
  border-radius: var(--radius-sm);
}

.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* Grid */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.flex { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }

.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}
.mt-4{margin-top:16px}.mt-5{margin-top:20px}.mt-6{margin-top:24px}
.mb-1{margin-bottom:4px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}
.mb-4{margin-bottom:16px}.mb-5{margin-bottom:20px}.mb-6{margin-bottom:24px}
.p-4{padding:16px}.p-6{padding:24px}
.hidden { display: none !important; }

/* Copy button */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--primary-light);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all var(--t-base);
  font-family: inherit;
}
.copy-btn:hover { background: var(--primary); color: var(--text-inverse); }
.copy-btn.copied { background: var(--success-light); color: var(--success); }

/* Code */
.code-block {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #e2e8f0;
  overflow-x: auto;
  -webkit-user-select: text;
  user-select: text;
  line-height: 1.6;
}
code { font-family: var(--font-mono); font-size: 0.875em; background: var(--bg-tertiary); padding: 1px 6px; border-radius: 4px; color: var(--text-primary); border: 1px solid var(--border); }

/* Pagination */
.pagination { display: flex; align-items: center; gap: 4px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-base);
}
.page-btn:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: var(--text-inverse); }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

.stagger > * { animation: fadeInUp 0.35s ease both; }
.stagger > *:nth-child(1) { animation-delay: 0.03s; }
.stagger > *:nth-child(2) { animation-delay: 0.06s; }
.stagger > *:nth-child(3) { animation-delay: 0.09s; }
.stagger > *:nth-child(4) { animation-delay: 0.12s; }
.stagger > *:nth-child(5) { animation-delay: 0.15s; }
.stagger > *:nth-child(6) { animation-delay: 0.18s; }

/* Tooltip */
[data-tooltip] { position: relative; }
@media (hover: hover) {
  [data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--text-heading);
    color: var(--text-inverse);
    font-size: 0.75rem;
    padding: 5px 9px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--t-base), transform var(--t-base);
    z-index: 100;
    box-shadow: var(--shadow-md);
  }
  [data-tooltip]:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Empty state */
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-secondary); }
.empty-state i { font-size: 2.5rem; color: var(--text-muted); margin-bottom: 14px; display: block; }
.empty-state h3 { font-size: 1.0625rem; margin-bottom: 6px; color: var(--text-primary); font-family: var(--font-display); }
.empty-state p  { font-size: 0.9375rem; }

/* SweetAlert2 */
.swal2-popup { font-family: var(--font-body) !important; border-radius: var(--radius-lg) !important; padding: 24px !important; }
.swal2-title { color: var(--text-heading) !important; font-family: var(--font-display) !important; font-weight: 700 !important; letter-spacing: -0.01em !important; }
.swal2-html-container { color: var(--text-secondary) !important; }
.swal2-styled.swal2-confirm { background: var(--primary) !important; border-radius: var(--radius-md) !important; box-shadow: var(--shadow-btn) !important; font-weight: 600 !important; font-family: var(--font-body) !important; }
.swal2-styled.swal2-cancel { background: var(--bg-tertiary) !important; color: var(--text-primary) !important; border-radius: var(--radius-md) !important; font-weight: 600 !important; font-family: var(--font-body) !important; }
.swal2-icon { margin-top: 8px !important; }

/* Order row reusable */
.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}
.order-row:last-child { border-bottom: none; }
.order-row-label { color: var(--text-secondary); }
.order-row-value { font-weight: 500; color: var(--text-primary); text-align: right; }
