:root {
  --accent: #eab308;
  --ink: #1e293b;
  --bg: #f9fafb;
}

body { margin: 0; font-family: Arial, sans-serif; background: var(--bg); }

/* Login */
.login-screen {
  display: flex; justify-content: center; align-items: center;
  height: 100vh; background: var(--bg);
}
.login-card {
  background: #fff; padding: 30px; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); width: 300px;
}
.login-card h2 { margin-bottom: 20px; text-align: center; }
.login-card input {
  width: 100%; padding: 10px; margin: 8px 0; border: 1px solid #ddd; border-radius: 6px;
}
.demo-note { font-size: 0.8rem; text-align: center; margin-top: 10px; color: #555; }

/* Layout */
.hidden { display: none; }
.sidebar {
  width: 220px; background: var(--ink); color: #fff; height: 100vh; position: fixed; left: 0; top: 0;
  display: flex; flex-direction: column; padding: 20px;
}
.sidebar h2 { margin-bottom: 20px; font-size: 1.2rem; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li {
  padding: 10px; margin: 4px 0; cursor: pointer; border-radius: 6px;
}
.sidebar li a {
  padding: 1px; margin: 4px 0; cursor: pointer; border-radius: 4px;text-decoration: none; color: #fff;
}
.sidebar li.active, .sidebar li:hover { background: var(--accent); color: #000; }
.sidebar li.active, .sidebar li a:hover { background: var(--accent); color: #000; }

.main-content {
  margin-left: 220px; padding: 20px;
}
.topbar { display: flex; justify-content: flex-end; margin-bottom: 20px; }

.panel { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

.filters { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; }
.filters select, .filters input {
  padding: 8px; border: 1px solid #ddd; border-radius: 6px;
}

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border: 1px solid #ddd; padding: 8px; text-align: center; font-size: 0.9rem; }
.table th { background: #f1f5f9; }

.row-actions button {
  margin: 2px; padding: 4px 8px; border: none; border-radius: 6px; cursor: pointer; font-size: 0.8rem;
}
.row-actions button:hover { opacity: 0.85; }

/* Status colors */
.status.pending { color: orange; font-weight: bold; }
.status.approved { color: green; font-weight: bold; }
.status.rejected { color: red; font-weight: bold; }

/* Drawer */
.drawer {
  position: fixed; right: 0; top: 0; width: 320px; height: 100%; background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1); padding: 20px; z-index: 999;
}
.drawer button { float: right; border: none; background: none; font-size: 1.4rem; cursor: pointer; }

/* Buttons */
.btn { padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 0.9rem; transition: 0.3s; }
.btn.primary { background: var(--accent); border: none; color: #000; }
.a.btn.primary { background: var(--ink); border: none; color: var(--bg); display: inline-flex; text-decoration: none; }
/* .btn.primary:hover { background: #ca8a04; color: #fff; } */
.btn.outline { border: 1px solid var(--accent); background: transparent; color: var(--accent); }
.btn.outline:hover { background: var(--accent); color: #000; }

/* Responsive */
@media (max-width: 768px) {
  .sidebar { width: 100%; height: auto; position: relative; flex-direction: row; }
  .main-content { margin-left: 0; margin-top: 10px; }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;}