*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

body{
  background:#f1f5f9;
}

/* Registration Form */

.form-body{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
}

.form-container{
  width:90%;
  max-width:900px;
  background:#fff;
  padding:30px;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.form-container h1{
  text-align:center;
  margin-bottom:25px;
  color:#0f172a;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.input-group{
  display:flex;
  flex-direction:column;
}

.input-group label{
  margin-bottom:8px;
  font-weight:bold;
}

.input-group input,
.input-group select,
.input-group textarea{
  padding:12px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  outline:none;
}

textarea{
  resize:none;
  height:100px;
}

.full-width{
  grid-column:1/-1;
}

.btn{
  margin-top:20px;
  padding:14px 25px;
  border:none;
  background:#0284c7;
  color:#fff;
  border-radius:8px;
  cursor:pointer;
  font-size:16px;
}

.btn:hover{
  background:#0369a1;
}

/* Dashboard */

body{
  display:flex;
  min-height:100vh;
}

.sidebar{
  width:250px;
  background:#0f172a;
  color:#fff;
  padding:20px;
}

.sidebar h2{
  text-align:center;
  margin-bottom:30px;
  color:#38bdf8;
}

.sidebar ul{
  list-style:none;
}

.sidebar ul li{
  padding:15px;
  background:#1e293b;
  margin-bottom:10px;
  border-radius:8px;
}

.main-content{
  flex:1;
  padding:30px;
}

.header{
  margin-bottom:20px;
}

.dashboard-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-bottom:30px;
}

.card{
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.card h3{
  margin-bottom:10px;
}

.card p{
  font-size:28px;
  font-weight:bold;
}

.table-container{
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  overflow-x:auto;
}

table{
  width:100%;
  border-collapse:collapse;
}

table th{
  background:#0284c7;
  color:#fff;
}

table th,
table td{
  padding:12px;
  border-bottom:1px solid #ddd;
  text-align:left;
}
/* Login Page */

.login-body{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
  background:#f1f5f9;
}

.login-container{
  width:400px;
  background:#fff;
  padding:35px;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.login-container h1{
  text-align:center;
  margin-bottom:25px;
  color:#0f172a;
}

#errorMsg{
  color:red;
  margin-top:15px;
  text-align:center;
}

/* Logout Button */

.logout-btn{
  padding:10px 18px;
  border:none;
  background:red;
  color:#fff;
  border-radius:8px;
  cursor:pointer;
}

.logout-btn:hover{
  background:darkred;
}

.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Export Button */

.export-btn{
  padding:10px 18px;
  border:none;
  background:green;
  color:#fff;
  border-radius:8px;
  cursor:pointer;
  margin-right:10px;
}

.export-btn:hover{
  background:darkgreen;
}
/* Sort Dropdown */

.sort-container{
  margin:15px 0;
  display:flex;
  align-items:center;
  gap:10px;
}

.sort-container label{
  font-weight:bold;
}

.sort-container select{
  padding:10px;
  border:1px solid #ccc;
  border-radius:6px;
}