* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  display: flex;
}

.sidebar {
  width: 250px;
  min-height: 100vh;
  background: #111827;
  color: white;
  padding: 30px 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 15px;
}

.sidebar a {
  color: white;
  text-decoration: none;
}

.main-content {
  flex: 1;
  padding: 30px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.subtitle {
  color: #666;
  margin-top: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
}

.stat-title {
  color: #666;
}

.stat-value {
  font-size: 32px;
  font-weight: bold;
  margin-top: 10px;
}

.success-text {
  color: green;
}

.danger-text {
  color: red;
}

.table-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
}

.table-header {
  margin-bottom: 20px;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

th {
  background: #f8f8f8;
}

.status-badge {
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.active {
  background: #dcfce7;
  color: green;
}

.suspended {
  background: #fee2e2;
  color: red;
}

.btn {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 6px;
  color: white;
  display: inline-block;
}

.small {
  padding: 6px 10px;
  font-size: 12px;
}

.primary {
  background: #2563eb;
}

.secondary {
  background: #374151;
}

.success {
  background: #16a34a;
}

.warning {
  background: #d97706;
}

.danger {
  background: #dc2626;
}

.action-group {
  display: flex;
  gap: 8px;
}

.form-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 700px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  border: none;
  cursor: pointer;
}

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-page .main-content {
  width: 100%;
  max-width: 500px;
  padding: 0;
  flex: unset;
}

.login-page .form-card {
  width: 100%;
}
