:root {
  --primary-color: #ff5f19;
  --primary-hover: #e64a00;
  --bg-body: #f4f6f9;
  --text-main: #333333;
  --text-muted: #6c757d;
  --card-bg: #ffffff;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 0.75rem;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: #111;
  letter-spacing: -0.02em;
}

/* Navbar */
.navbar {
  background-color: #fff !important;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-brand {
  font-weight: 700;
  color: #111 !important;
  font-size: 1.15rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted) !important;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  box-shadow: 0 2px 4px rgba(255, 95, 25, 0.25);
  transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  box-shadow: 0 4px 12px rgba(255, 95, 25, 0.35);
  transform: translateY(-1px);
}

.btn-outline-secondary {
  border-color: #dee2e6;
  color: var(--text-muted);
}

.btn-outline-secondary:hover {
  background-color: #f8f9fa;
  color: #111;
  border-color: #c1c9d0;
}

/* Cards */
.card,
.card-soft {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* Forms */
.form-control,
.form-select {
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  padding: 0.6rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(255, 95, 25, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 95, 25, 0.1);
}

/* Utilities */
.text-primary {
  color: var(--primary-color) !important;
}

.hero {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.table-container {
  overflow: auto;
  max-height: 65vh;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: white;
}

.table thead th {
  background-color: #f8f9fa;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-color);
}

.footer {
  border-top: 1px solid var(--border-color);
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.spinner-border {
  color: var(--primary-color);
}