:root {
  --bs-primary: #ff5c00;
  --bs-primary-rgb: 255, 92, 0;
  --core: #ff8a1e;
  --mid: #ff5c00;
  --deep: #e62e00;
  --edge: #a81f00;
  --deep-1: #1c0f06;
  --deep-2: #2b1204;
}

body {
  background-color: #fdf1e8;
}

/* ---- Sidebar ---- */
.sidebar {
  background: linear-gradient(180deg, var(--deep-1), var(--deep-2)) !important;
}
.sidebar .brand-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.sidebar .brand-mark svg { flex-shrink: 0; }
.sidebar .brand-mark div { color: #fff3e6; font-weight: 700; letter-spacing: 0.06em; line-height: 1.2; }
.sidebar .brand-mark small { display: block; font-weight: 400; letter-spacing: 0; color: rgba(255,243,230,0.55); font-size: 0.72rem; }
.sidebar .nav-link {
  color: #ffe1c2 !important;
  border-radius: 8px;
}
.sidebar .nav-link.active {
  background: linear-gradient(120deg, var(--core), var(--mid)) !important;
  color: #1c0900 !important;
  font-weight: 600;
}
.sidebar .nav-link:hover:not(.active) {
  background-color: rgba(255,138,30,0.14);
}

/* ---- Cards ---- */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(230,46,0,0.08);
}

/* ---- Buttons ---- */
.btn-primary {
  background: linear-gradient(120deg, var(--core), var(--mid));
  border: none;
  font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(120deg, var(--mid), var(--deep));
}
.btn-outline-primary {
  color: var(--deep);
  border-color: var(--mid);
}
.btn-outline-primary:hover {
  background: var(--mid);
  border-color: var(--mid);
  color: #fff;
}

/* ---- Colored summary cards on admin dashboard ---- */
.bg-primary { background: linear-gradient(120deg, var(--core), var(--mid)) !important; }
.bg-success { background: linear-gradient(120deg, #ffb347, var(--core)) !important; color: #3a1e00 !important; }
.bg-info    { background: linear-gradient(120deg, var(--mid), var(--deep)) !important; }
.bg-danger  { background: linear-gradient(120deg, var(--edge), #6e1503) !important; }

.text-primary { color: var(--mid) !important; }

/* ---- Badges ---- */
.badge.bg-success { background: #e8871a !important; color: #fff; }
.badge.bg-warning { background: var(--core) !important; color: #3a1e00; }
.badge.bg-danger  { background: var(--deep) !important; }
.badge.bg-info    { background: #ff9a4d !important; color: #3a1e00; }
.badge.bg-secondary { background: #a67856 !important; }

/* ---- Table hover ---- */
.table-hover > tbody > tr:hover { background-color: #fff2e5; }
