* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  display: flex;
  background-color: #f5f7fb;
}

/* Main Content */
.main-content {
  margin-left: 250px;
  padding: 20px;
  width: calc(100% - 250px);
}

.header {
  background-color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.header h1 {
  font-size: 1.5rem;
  color: #333;
}



/* Alerts */
.alert {
  padding: 12px 20px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.alert.success {
  background-color: #d4edda;
  color: #155724;
}

.alert.error {
  background-color: #f8d7da;
  color: #721c24;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

thead {
  background-color: #2A3F54;
  color: white;
}

th, td {
  padding: 15px 20px;
  text-align: left;
  font-size: 0.95rem;
}

tbody tr {
  border-bottom: 1px solid #f0f0f0;
}

tbody tr:hover {
  background-color: #f9f9f9;
}

/* Status */
.status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
}

.status.active {
  background-color: #28a745;
  color: white;
}

.status.blocked {
  background-color: #dc3545;
  color: white;
}

/* Buttons */
.btn {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  margin-right: 5px;
  display: inline-block;
}

.btn-block {
  background-color: #ffc107;
  color: white;
}

.btn-block:hover {
  background-color: #e0a800;
}

.btn-delete {
  background-color: #dc3545;
  color: white;
}

.btn-delete:hover {
  background-color: #c82333;
}
table thead {
  background-color: #9C7E99; /* purple tone */
}

table thead th {
  color: #ffffff;           /* text color */
  font-weight: 600;
}
