body {
  background: linear-gradient(120deg, #2b5876, #4e4376);
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  color: #333;
}
.container {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  width: 420px;
}
.container.wide { width: 90%; }
.small { width: 400px; }
h2 { text-align: center; color: #333; }
input, select, textarea, button {
  width: 100%; 
  padding: 10px; 
  margin: 8px 0;
  border-radius: 6px; 
  border: 1px solid #ccc;
  box-sizing: border-box;
}
button {
  background: #4e4376; color: #fff; border: none; cursor: pointer;
  font-weight: bold; transition: 0.3s;
}
button:hover { background: #6c5ce7; }
.btn, .logout {
  text-decoration: none; padding: 8px 12px; border-radius: 5px;
  color: #fff; font-weight: bold;
}
.btn { background: #2ecc71; }
.logout { background: #e74c3c; float: right; }
table {
  width: 100%; border-collapse: collapse; margin-top: 20px;
}
th, td {
  border: 1px solid #ddd; padding: 8px; text-align: center;
}
th { background: #4e4376; color: #fff; }
.active { color: green; font-weight: bold; }
.inactive { color: red; font-weight: bold; }
.success {
    color: #026402;
    text-align: center;
    border: 1px solid #00c300;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 24px;
    background: #edffed;
}
.error {
    color: #640202;
    text-align: center;
    border: 1px solid #b36363;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 24px;
    background: #ffeded;
}
.profile-card { background: #f1f1f1; padding: 10px; border-radius: 5px; margin-bottom: 15px; }
.btn-sm { background: #3498db; color: white; padding: 4px 8px; border-radius: 4px; text-decoration: none; }
.table-box {
  width: 100%;
  overflow-x: auto;
}
