:root {
  --primary-color: #212529;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.card {
  border-radius: 12px;
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
}

.btn-dark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-dark:hover {
  background-color: #495057;
  border-color: #495057;
}

.table {
  border-radius: 8px;
  overflow: hidden;
}

.table thead th {
  background-color: var(--primary-color);
  color: white;
  border: none;
  font-weight: 600;
}

.modal-content {
  border-radius: 12px;
  border: none;
}

.form-control {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.25);
}

.dashboard-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.dashboard-card:hover {
  transform: translateY(-5px);
}

.stats-card {
  background: white;
  border-left: 4px solid var(--primary-color);
}

.alert {
  border-radius: 8px;
  border: none;
}

.badge {
  font-size: 0.75em;
  padding: 0.5em 0.75em;
}

.sidebar {
  background-color: var(--primary-color);
  min-height: 100vh;
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 0.25rem 0;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

@media (max-width: 768px) {
  .sidebar {
      min-height: auto;
  }

  .table-responsive {
      font-size: 0.875rem;
  }
}

.product-scanner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.order-summary {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.total-display {
  font-size: 2rem;
  font-weight: 700;
  color: var(--success-color);
}