body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f9;
}

.topbar {
  height: 60px;
  background: #1e293b;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;
}

.wrapper {
  display: flex;
}

.sidebar {
  width: 230px;
  background: #0f172a;
  min-height: 100vh;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li a {
  display: block;
  padding: 15px;
  color: #cbd5e1;
  text-decoration: none;
}

.sidebar ul li a:hover {
  background: #1e293b;
  color: #fff;
}

.content {
  flex: 1;
  padding: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  font-weight: bold;
}

.panel {
  margin-top: 25px;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}



@media(max-width: 768px) {

  .wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  table {
    font-size: 14px;
  }
}


.badge.pending { color: orange; }
.badge.completed { color: green; }

.btn {
  background: #2563eb;
  color: #fff;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
}

.btn.danger {
  background: #dc2626;
}


.auth-page {
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.auth-box {
  background: #fff;
  padding: 30px;
  width: 350px;
  border-radius: 8px;
}

.auth-box h2 {
  margin-bottom: 20px;
}

.auth-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}

.error {
  color: red;
}

.success {
  color: green;
}
