/* ========================================
   GOLD SHOP BILLING SOFTWARE
   Design System & Styles
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  /* Brand Colors */
  --gold-primary: #D4AF37;
  --gold-light: #E8C84A;
  --gold-dark: #B8960C;
  --gold-muted: #A0882D;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5D060 50%, #D4AF37 100%);
  --gold-gradient-text: linear-gradient(135deg, #D4AF37, #F5D060);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.3);

  /* Background Colors */
  --bg-primary: #0B0B14;
  --bg-secondary: #111122;
  --bg-card: #161630;
  --bg-card-hover: #1C1C3A;
  --bg-sidebar: #0E0E1C;
  --bg-header: rgba(26, 23, 39, 0.8);
  --bg-input: #1A1A35;
  --bg-input-focus: #20204A;
  --bg-modal-overlay: rgba(0, 0, 0, 0.7);

  /* Text Colors */
  --text-primary: #F0F0F5;
  --text-secondary: #9595B0;
  --text-muted: #6A6A85;
  --text-gold: #D4AF37;
  --text-dark: #1a1a1a;

  /* Status Colors */
  --success: #2DD4A0;
  --success-bg: rgba(45, 212, 160, 0.1);
  --danger: #F06565;
  --danger-bg: rgba(240, 101, 101, 0.1);
  --warning: #F0A030;
  --info: #60A5FA;

  /* Borders */
  --border-color: rgba(212, 175, 55, 0.12);
  --border-light: rgba(255, 255, 255, 0.06);
  --border-input: rgba(212, 175, 55, 0.2);
  --border-input-focus: rgba(212, 175, 55, 0.5);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', serif;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Sidebar */
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;
}

[data-theme="light"] {
  /* Background Colors */
  --bg-primary: #F4F4F8;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFC;
  --bg-sidebar: #FFFFFF;
  --bg-header: rgba(255, 255, 255, 0.85);
  --bg-input: #F8F8FA;
  --bg-input-focus: #FFFFFF;
  --bg-modal-overlay: rgba(0, 0, 0, 0.4);

  /* Text Colors */
  --text-primary: #1A1A24;
  --text-secondary: #4A4A65;
  --text-muted: #8A8A9E;
  
  /* Borders */
  --border-color: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.04);
  --border-input: rgba(0, 0, 0, 0.12);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
}


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

html {
  font-size: 15px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

/* Scrollbar Styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

/* ---------- Layout ---------- */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  padding-top: 70px;
  box-shadow: var(--shadow-lg);
  transition: width var(--transition-base);
}

.sidebar-header {
  padding: var(--space-lg) var(--space-lg);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.sidebar-logo {
  width: 42px;
  height: 42px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}

.sidebar-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.sidebar-brand small {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  -webkit-text-fill-color: var(--text-muted);
  display: block;
  letter-spacing: 0.5px;
}

/* Navigation */
.sidebar-nav {
  flex: 1;
  padding: var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--gold-primary);
  border-radius: 0 3px 3px 0;
  transition: height var(--transition-base);
}

.nav-item:hover {
  background: rgba(212, 175, 55, 0.06);
  color: var(--text-primary);
}

.nav-item.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  font-weight: 600;
}

.nav-item.active::before {
  height: 60%;
}

.nav-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 2px;
}
.nav-group-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.nav-group-header:hover {
  background: rgba(212, 175, 55, 0.06);
  color: var(--text-primary);
}
.nav-group.expanded .nav-group-header {
  color: var(--text-primary);
}
.nav-chevron {
  margin-left: auto;
  font-size: 0.8rem;
  transition: transform var(--transition-fast);
}
.nav-group.expanded .nav-chevron {
  transform: rotate(180deg);
}
.nav-group-items {
  display: none;
  flex-direction: column;
  padding-left: 2.2rem;
  margin-top: 2px;
  gap: 2px;
}
.nav-group.expanded .nav-group-items {
  display: flex;
}
.nav-item.sub-item {
  padding: 8px 12px;
  font-size: 0.85rem;
}
.nav-item.sub-item::before {
  display: none;
}

.nav-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Main Content ---------- */
.main-content {
  flex: 1;
  margin-left: 0;
  min-height: 100vh;
}

/* Page Header */
.page-header {
  padding: var(--space-xl) var(--space-2xl);
  border-bottom: none;
  background: transparent;
  position: relative;
  z-index: 50;
}

.page-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Page Body */
.page-body {
  padding: var(--space-xl) var(--space-2xl);
}

/* ---------- Views ---------- */
.view {
  display: none;
  animation: fadeIn 0.3s ease;
}

.view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(20px, -20px);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-gold);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-icon.gold {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-primary);
}

.stat-icon.green {
  background: var(--success-bg);
  color: var(--success);
}

.stat-icon.blue {
  background: rgba(96, 165, 250, 0.1);
  color: var(--info);
}

.stat-icon.purple {
  background: rgba(167, 139, 250, 0.1);
  color: #A78BFA;
}

.stat-info { flex: 1; }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-change {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ---------- Form Styles ---------- */
.form-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.form-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-row.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.form-row.cols-5 { grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.form-label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.93rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--border-input-focus);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.form-input::placeholder { color: var(--text-muted); }

.form-input[readonly] {
  opacity: 0.7;
  cursor: default;
}

.form-input.computed {
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  font-weight: 600;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239595B0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Inline Input (for items table) */
.inline-input {
  background: transparent;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
}

.inline-input:focus {
  background: var(--bg-input);
  border-color: var(--border-input-focus);
}

.inline-input.computed {
  color: var(--gold-light);
  font-weight: 600;
}

/* Radio / Checkbox Group */
.radio-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.radio-option {
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.radio-option input[type="radio"]:checked + label {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  font-weight: 500;
}

.radio-option label:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.04);
}

/* Toggle Switch */
.toggle-group {
  display: flex;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-full);
  overflow: hidden;
  width: fit-content;
}

.toggle-option {
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: transparent;
}

.toggle-option.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
}

/* ---------- Items Table ---------- */
.items-table-wrapper {
  overflow-x: auto;
  margin-top: var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  min-height: 300px;
}

.items-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.items-table thead {
  background: rgba(212, 175, 55, 0.06);
}

.items-table th {
  padding: 10px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.items-table td {
  padding: 4px 6px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.items-table tbody tr {
  transition: background var(--transition-fast);
}

.items-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.03);
}

.items-table .row-num {
  width: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.items-table .col-actions {
  width: 40px;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #1a1a1a;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.btn-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(240, 101, 101, 0.2);
}

.btn-danger:hover {
  background: rgba(240, 101, 101, 0.18);
}

.btn-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(45, 212, 160, 0.2);
}

.btn-success:hover {
  background: rgba(45, 212, 160, 0.18);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon.sm {
  width: 28px;
  height: 28px;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

/* Button Groups */
.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---------- Totals Section ---------- */
.totals-section {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-lg);
}

.totals-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  min-width: 360px;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.93rem;
}

.totals-row.border-top {
  border-top: 1px solid var(--border-color);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
}

.totals-row .label {
  color: var(--text-secondary);
}

.totals-row .value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.totals-row.grand-total {
  border-top: 2px solid var(--gold-primary);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
}

.totals-row.grand-total .label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.totals-row.grand-total .value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.totals-row.deduction .value {
  color: var(--danger);
}

/* Discount Inline */
.discount-inline {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.discount-inline .form-input {
  width: 100px;
  padding: 6px 10px;
  font-size: 0.85rem;
  text-align: right;
}

/* ---------- History Table ---------- */
.history-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-box .search-icon svg {
  width: 18px;
  height: 18px;
}

.search-box .form-input {
  padding-left: 42px;
}

.data-table-wrapper {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: rgba(212, 175, 55, 0.06);
}

.data-table th {
  padding: 14px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background var(--transition-fast);
  cursor: pointer;
}

.data-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.04);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table .amount {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold-light);
}

.data-table .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-cash { background: rgba(45, 212, 160, 0.12); color: var(--success); }
.badge-card { background: rgba(96, 165, 250, 0.12); color: var(--info); }
.badge-upi { background: rgba(167, 139, 250, 0.12); color: #A78BFA; }
.badge-mixed { background: rgba(240, 160, 48, 0.12); color: var(--warning); }

.empty-state {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  color: var(--text-muted);
}

.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.empty-state p {
  font-size: 0.95rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.pagination .page-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 var(--space-md);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-modal-overlay);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(10px);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 10;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.modal-body {
  padding: var(--space-xl);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border-color);
  position: sticky;
  bottom: 0;
  background: var(--bg-card);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ---------- Bill Preview (in modal) ---------- */
.bill-preview {
  background: #FFFFFF;
  color: #1a1a1a;
  padding: 30px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.bill-preview .bill-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #D4AF37;
}

.bill-preview .shop-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
  border-radius: 8px;
  object-fit: contain;
}

.bill-preview .shop-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.bill-preview .shop-details {
  font-size: 11px;
  color: #666;
  line-height: 1.6;
}

.bill-preview .bill-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #ddd;
}

.bill-preview .bill-meta .meta-group {
  font-size: 12px;
}

.bill-preview .bill-meta .meta-label {
  color: #999;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bill-preview .bill-meta .meta-value {
  font-weight: 600;
  color: #333;
}

.bill-preview .bill-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  font-size: 12px;
}

.bill-preview .bill-items-table th {
  background: #f8f6f0;
  padding: 8px 10px;
  text-align: left;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  border-bottom: 1px solid #e0d8c8;
}

.bill-preview .bill-items-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}

.bill-preview .bill-items-table .text-right {
  text-align: right;
}

.bill-preview .bill-totals {
  margin-left: auto;
  width: 280px;
  margin-bottom: 20px;
}

.bill-preview .bill-totals .totals-line {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 12px;
}

.bill-preview .bill-totals .totals-line.deduction {
  color: #c0392b;
}

.bill-preview .bill-totals .grand-total-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 5px;
  margin-top: 5px;
  border-top: 2px solid #D4AF37;
  font-size: 16px;
  font-weight: 700;
}

.bill-preview .bill-footer {
  text-align: center;
  padding-top: 15px;
  border-top: 1px dashed #ddd;
  font-size: 11px;
  color: #999;
}

.bill-preview .amount-words {
  font-size: 11px;
  color: #555;
  font-style: italic;
  margin-bottom: 15px;
  padding: 8px 10px;
  background: #faf8f2;
  border-radius: 4px;
}

/* ---------- Settings ---------- */
.invoice-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  z-index: 40;
  display: none;
  box-shadow: var(--shadow-lg);
}

.autocomplete-item {
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.autocomplete-item:hover {
  background: var(--bg-card-hover);
}

.autocomplete-meta {
  font-size: 0.85em;
  color: var(--text-muted);
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.logo-upload-area {
  width: 120px;
  height: 120px;
  border: 2px dashed var(--border-input);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  overflow: hidden;
  position: relative;
}

.logo-upload-area:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.04);
}

.logo-upload-area img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
}

.logo-upload-area .upload-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.logo-upload-area .upload-icon {
  font-size: 1.5rem;
  color: var(--text-muted);
}

/* ---------- Toast Notifications ---------- */
.toast-container {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
  min-width: 280px;
  max-width: 400px;
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.warning { border-left: 3px solid var(--warning); }

.toast-icon { font-size: 1.2rem; flex-shrink: 0; }
.toast-message { font-size: 0.88rem; flex: 1; }

.toast-dismiss {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 1rem;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

.toast.removing {
  animation: slideOutRight 0.3s ease forwards;
}

/* ---------- Confirm Dialog ---------- */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-modal-overlay);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.confirm-overlay.active {
  opacity: 1;
  visibility: visible;
}

.confirm-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 400px;
  text-align: center;
}

.confirm-box .confirm-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.confirm-box .confirm-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.confirm-box .confirm-message {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.confirm-box .confirm-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}

/* ---------- Old Gold Section ---------- */
.old-gold-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.old-gold-toggle input[type="checkbox"] {
  accent-color: var(--gold-primary);
  width: 18px;
  height: 18px;
}

.old-gold-fields {
  display: none;
}

.old-gold-fields.visible {
  display: block;
}

/* ---------- Recent Bills (Dashboard) ---------- */
.recent-bills-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recent-bill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.recent-bill-item:hover {
  background: rgba(212, 175, 55, 0.04);
}

.recent-bill-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.recent-bill-number {
  font-weight: 600;
  font-size: 0.9rem;
}

.recent-bill-customer {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.recent-bill-amount {
  font-weight: 600;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.recent-bill-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: var(--space-md);
}

/* ---------- Action Bar ---------- */
.action-bar {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
  margin-top: var(--space-lg);
}

/* ---------- Date filter ---------- */
.date-filter {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.date-filter label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.date-filter .form-input {
  width: 160px;
  padding: 8px 12px;
  font-size: 0.85rem;
}

/* ---------- Watermark ---------- */
.watermark-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.watermark-container img {
  max-width: 300px;
  max-height: 300px;
  filter: grayscale(100%);
}

.bill-preview {
  position: relative;
  z-index: 1;
}

.bill-header, .bill-meta, .bill-items-table, .bill-totals, .amount-words, .bill-footer {
  position: relative;
  z-index: 2;
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    font-size: 11px;
    line-height: 1.35;
  }

  .app-layout,
  .sidebar,
  .main-content,
  .toast-container,
  .modal-overlay,
  .confirm-overlay,
  .no-print {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  #print-area {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    z-index: 99999;
  }

  #print-area .bill-preview {
    padding: 5mm;
    max-width: 100%;
    background: white !important;
  }

  #print-area .shop-name {
    color: #000 !important;
  }

  #print-area .bill-items-table th {
    background: transparent !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  @page {
    margin: 6mm;
    size: A4;
  }
}

/* Print area hidden on screen */
#print-area {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row.cols-4 {
    grid-template-columns: 1fr 1fr;
  }

  .totals-card {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
  }
  
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.mobile-open {
    transform: translateX(0);
    width: 260px;
  }
  
  .form-row.cols-2,
  .form-row.cols-3 {
    grid-template-columns: 1fr;
  }

  .page-body {
    padding: var(--space-md);
  }

  .page-header {
    padding: var(--space-lg);
  }

  .history-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: 100%;
  }

  .bill-preview .bill-meta {
    flex-direction: column;
    gap: 8px;
  }
}

/* ========================================
   CATALOG & PRESENTATION
   ======================================== */
.presentation-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #000;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  color: white;
}
.presentation-overlay.active { display: flex; }
.presentation-content {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.presentation-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.presentation-btn {
  position: absolute;
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s;
  z-index: 10000;
}
.presentation-btn:hover { background: rgba(255,255,255,0.2); }
.btn-close { top: 20px; right: 20px; }
.btn-nav { top: 50%; transform: translateY(-50%); }
.btn-prev { left: 20px; }
.btn-next { right: 20px; }
.btn-info { bottom: 20px; right: 20px; }
.presentation-details {
  position: absolute;
  bottom: 80px; right: 20px;
  background: rgba(20,20,30,0.9);
  border: 1px solid var(--gold-muted);
  border-radius: 8px;
  padding: 20px;
  width: 300px;
  display: none;
  backdrop-filter: blur(5px);
}
.presentation-details.active { display: block; }
.presentation-details h2 { color: var(--gold-primary); margin-bottom: 10px; font-size: 1.2rem; }
.presentation-details .detail-row { display: flex; justify-content: space-between; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 4px; }
.presentation-details .label { color: #aaa; }
.presentation-details .detail-notes { margin-top: 10px; font-size: 0.9rem; color: #ccc; }

.catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  border-color: var(--gold-primary);
}
.catalog-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #000;
}
.catalog-card-info { padding: 12px; }
.catalog-card-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-card-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

/* CATALOG ROWS (Netflix Style) */
.catalog-grid {
  margin-top: var(--space-md);
}

.catalog-row-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-left: var(--space-xs);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.catalog-row {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-bottom: 16px;
  padding-top: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.catalog-row::-webkit-scrollbar {
  height: 8px;
}

.catalog-row::-webkit-scrollbar-track {
  background: var(--surface-light);
  border-radius: 4px;
}

.catalog-row::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.catalog-row::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

.catalog-card {
  flex: 0 0 auto;
  width: 260px;
  scroll-snap-align: start;
  background: var(--surface-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-color: var(--gold-primary);
}
.catalog-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}
.catalog-card-info {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.catalog-card-title {
  font-weight: 600;
  font-size: 1.1rem;
}
.catalog-card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* HEADER ACTIONS (Showcase & Manage) */
.header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

/* CUSTOM FILE INPUT BUTTON */
input[type="file"]::file-selector-button {
  margin-right: 16px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
}

input[type="file"]::file-selector-button:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* IMAGE PREVIEW HOVER (Edit Modal) */
.image-preview-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  max-width: 100px;
  max-height: 100px;
  border: 1px solid var(--border-color);
  background: #222;
}

.image-preview-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  color: white;
}

.image-preview-overlay svg {
  width: 24px;
  height: 24px;
}

.image-preview-wrapper:hover .image-preview-overlay {
  opacity: 1;
}

/* Collapsed Sidebar */
body.sidebar-collapsed .sidebar {
  width: 0 !important;
  background: transparent !important;
  border-right: none !important;
  box-shadow: none !important;
}

body.sidebar-collapsed .sidebar-nav,
body.sidebar-collapsed .sidebar-footer {
  display: none !important;
}

body.sidebar-collapsed .sidebar-header {
  border-bottom: none !important;
}





/* Sidebar Toggle Button General */
#sidebar-toggle {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
#sidebar-toggle:hover {
  background: rgba(128, 128, 128, 0.1);
  color: var(--text-primary);
}





/* App Header */
.app-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px var(--space-lg);
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  z-index: 101;
}
.app-header .sidebar-logo {
  width: 42px;
  height: 42px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}
.app-header .sidebar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.app-header .sidebar-brand small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full, 20px);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: rgba(39, 174, 96, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.badge-warning {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

.badge-danger {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}
