/* === Global Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

/* === Body === */
body {
  background: #f3f4f6;
  color: #333;
}

/* === Header / Titles === */
h1, h2, h3 {
  color: #1e293b;
  margin-bottom: 15px;
  font-weight: 600;
}

/* === Links === */
a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #1d4ed8;
}

/* === Buttons === */
button, .btn {
  background: #2563eb;
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
button:hover, .btn:hover {
  background: #1e40af;
}

/* === Forms === */
input, select, textarea {
  width: 100%;
  padding: 8px 10px;
  margin: 6px 0 16px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  font-size: 14px;
  background: #fff;
}
form {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 25px;
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}
th {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
}
tr:hover {
  background: #f1f5f9;
}

/* === Dashboard Links === */
ul {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
ul li a {
  display: block;
  background: #2563eb;
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}
ul li a:hover {
  background: #1e40af;
  transform: translateY(-3px);
}

/* === Alerts === */
.alert {
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
}
.alert-success {
  background: #dcfce7;
  color: #166534;
}
.alert-error {
  background: #fee2e2;
  color: #991b1b;
}

/* === Responsive === */
@media (max-width: 768px) {
  table, form, button, input, select {
    width: 100%;
  }
  ul {
    grid-template-columns: 1fr;
  }
}
