*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, sans-serif;
}

body{
  background:#f4f6f9;
  padding:20px;
}

/* LOGIN */

.login-container{
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
}

.login-box{
  background:white;
  width:320px;
  padding:30px;
  border-radius:10px;
  box-shadow:0 0 10px rgba(0,0,0,0.1);
}

.login-box h2{
  text-align:center;
  margin-bottom:20px;
}

.login-box input{
  width:100%;
  padding:12px;
  margin:10px 0;
  border:1px solid #ccc;
  border-radius:5px;
}

.login-box button{
  width:100%;
  padding:12px;
  background:#007bff;
  color:white;
  border:none;
  border-radius:5px;
  cursor:pointer;
}

.login-box button:hover{
  background:#0056b3;
}

#error{
  color:red;
  text-align:center;
  margin-top:10px;
}

/* DASHBOARD */

header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

header button{
  background:red;
  color:white;
  border:none;
  padding:10px 15px;
  border-radius:5px;
  cursor:pointer;
}

.dashboard{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
  gap:20px;
  margin-bottom:30px;
}

.card{
  background:white;
  padding:20px;
  border-radius:10px;
  box-shadow:0 0 10px rgba(0,0,0,0.1);
  text-align:center;
}

.card h3{
  margin-bottom:10px;
  color:#555;
}

.card p{
  font-size:30px;
  color:#007bff;
  font-weight:bold;
}

.table-container{
  background:white;
  padding:20px;
  border-radius:10px;
  box-shadow:0 0 10px rgba(0,0,0,0.1);
}

.table-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}

select{
  padding:8px;
}

table{
  width:100%;
  border-collapse:collapse;
}

table th,
table td{
  border:1px solid #ddd;
  padding:12px;
  text-align:center;
}

table th{
  background:#007bff;
  color:white;
}

tr:nth-child(even){
  background:#f2f2f2;
}
/* FORM INPUT */

.input-container{
  background:white;
  padding:20px;
  border-radius:10px;
  margin-bottom:20px;
  box-shadow:0 0 10px rgba(0,0,0,0.1);
}

.input-container h2{
  margin-bottom:15px;
}

.form-group{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.form-group input{
  flex:1;
  padding:12px;
  border:1px solid #ccc;
  border-radius:5px;
}

.form-group button{
  padding:12px 20px;
  border:none;
  background:#28a745;
  color:white;
  border-radius:5px;
  cursor:pointer;
}

.form-group button:hover{
  background:#1e7e34;
}