* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #edf2f7, #dbeafe);
  color: #1e293b;
  min-height: 100vh;
}
.container {
  width: min(1100px, 94%);
  margin: 30px auto;
}
.hero {
  background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
  color: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
  animation: fadeInUp .5s ease-out;
}
.title { margin: 0 0 8px; font-size: 34px; }
.subtitle { margin: 0; opacity: .9; }
.card {
  background: #fff;
  border-radius: 14px;
  margin-top: 18px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  animation: fadeInUp .6s ease-out;
}
.grid {
  display: grid;
  gap: 14px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.input, .textarea, .select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: #0284c7;
}
.btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  color: #fff;
  background: #0284c7;
}
.btn.secondary { background: #475569; }
.btn.success { background: #16a34a; }
.btn.danger { background: #dc2626; }
.muted { color: #64748b; font-size: 13px; }
.candidate {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 14px;
  transition: transform .2s;
}
.candidate:hover { transform: translateY(-2px); }
.candidate h3 { margin: 0 0 6px; }
.badge {
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  margin-right: 8px;
}
.pending { background: #fef3c7; color: #92400e; }
.approved { background: #dcfce7; color: #166534; }
.rejected { background: #fee2e2; color: #991b1b; }
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 6px;
  text-align: left;
  font-size: 14px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .grid-2, .stats { grid-template-columns: 1fr; }
}
