:root {
  --brand: #0d6efd;
  --brand-dark: #084298;
  --sidebar-width: 240px;
}

body {
  background-color: #f4f6f9;
}

.app-navbar {
  background-color: var(--brand-dark);
}

.app-layout {
  display: flex;
  min-height: calc(100vh - 56px);
}

.app-sidebar {
  width: var(--sidebar-width);
  background: #fff;
  border-right: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.app-sidebar .nav-link {
  color: #374151;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.app-sidebar .nav-link:hover {
  background-color: #eef2ff;
  color: var(--brand-dark);
}

.app-sidebar .nav-link.active {
  background-color: var(--brand);
  color: #fff;
}

.app-main {
  flex: 1;
  min-width: 0;
}

.stat-card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6b7280;
  border-bottom-width: 1px;
}

.badge-status-pending   { background-color: #f59e0b; }
.badge-status-accepted  { background-color: #0ea5e9; }
.badge-status-completed { background-color: #22c55e; }
.badge-status-cancelled { background-color: #ef4444; }
.badge-status-paid      { background-color: #22c55e; }
.badge-status-failed    { background-color: #ef4444; }

@media (max-width: 991.98px) {
  .app-sidebar {
    position: fixed;
    top: 56px;
    left: -100%;
    height: calc(100vh - 56px);
    z-index: 1030;
    transition: left 0.2s ease;
  }
  .app-sidebar.show {
    left: 0;
  }
}
