/* =========================
   DESIGN SYSTEM (VARIABLES)
========================= */
:root {
  --primary: #c77e03;
  --primary-hover: #D1E7C4;

  --success: #22C55E;
  --success-hover: #16a34a;

  --green: #22C55E;
  --blue: #3B82F6;
  --purple: #8B5CF6;

  --hover-light: #D1E7C4;
  --text-dark: #1f2937;

  --background: #f4f6f9;
  --surface: #ffffff;

  --text: #1f2937;
  --text-light: #6b7280;

  --border: #e5e7eb;

  --shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BASE
========================= */
body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--text);
}

/* =========================
   LAYOUT
========================= */
.app {
  display: flex;
  min-height: 100vh;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content {
  padding: 25px;
}

/* =========================
   NAVBAR
========================= */
.custom-navbar {
  background-color: #c77e03;
}

.custom-navbar .navbar-brand,
.custom-navbar .navbar-text,
.custom-navbar a {
  color: #ffffff !important;
}

/* =========================
   SIDEBAR (kept but unused now)
========================= */
.sidebar {
  width: 240px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 15px 10px;
  min-height: 100vh;
}

/* =========================
   CARDS
========================= */
.card {
  background: var(--surface);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
}

.card-header {
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  padding: 10px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn.btn-primary,
.btn.btn-primary:focus,
.btn.btn-primary:active {
  background-color: #c77e03 !important;
  border: none !important;
  color: #ffffff !important;
}

.btn.btn-primary:hover {
  background-color: #D1E7C4 !important;
  color: #1f2937 !important;
}

/* =========================
   FORMS
========================= */
input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin-bottom: 15px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* =========================
   TABLES
========================= */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
}

th {
  background: #f9fafb;
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 12px;
  border-top: 1px solid var(--border);
}

tr:hover {
  background: #f9fafb;
}

/* =========================
   UTILITIES
========================= */
.w-100 { width: 100%; }
.text-center { text-align: center; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 20px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 20px; }

/* =========================
   DROPDOWN MENU (FIXED)
========================= */

/* Dropdown container */
.navbar .dropdown-menu {
  background-color: #c77e03 !important;
  border: none;
  border-radius: 8px;
  padding: 6px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Items */
.navbar .dropdown-menu .dropdown-item {
  color: #ffffff !important;
  font-weight: 500;
  padding: 10px 16px;
  transition: all 0.2s ease;
}

/* Hover */
.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #D1E7C4 !important;
  color: #1f2937 !important;
}

/* Active / click */
.navbar .dropdown-menu .dropdown-item:active,
.navbar .dropdown-menu .dropdown-item:focus {
  background-color: #D1E7C4 !important;
  color: #1f2937 !important;