:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --bg-gray: #f9fafb;
  --sidebar-bg: #111827;
  --text-main: #111827;
  --text-muted: #6b7280;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--bg-gray);
  color: var(--text-main);
  margin: 0;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background-color: var(--sidebar-bg);
  color: white;
  padding: 2rem 1rem;
}

.sidebar h2 {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  padding-left: 0.5rem;
}

.sidebar nav a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background-color: #1f2937;
  color: white;
}

.main-content {
  flex: 1;
  padding: 2rem;
}

.card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
}

td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}
