* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: #1F2329;
  background: #F5F6F8;
  font-size: 14px;
  line-height: 1.6;
}
a { color: #3B6FD4; text-decoration: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid #DEE3E8;
  border-radius: 6px;
  width: 100%;
  background: #fff;
  outline: none;
}
input:focus, textarea:focus { border-color: #3B6FD4; }
button {
  font-family: inherit;
  font-size: 14px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity .15s;
}
button:hover { opacity: .85; }
button:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: #3B6FD4; color: #fff; }
.btn-success { background: #3A9D5C; color: #fff; }
.btn-danger  { background: #D9534F; color: #fff; }
.btn-ghost   { background: #fff; color: #1F2329; border: 1px solid #DEE3E8; }
.btn-sm { padding: 4px 10px; font-size: 12px; }

.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center; z-index: 100;
}
.modal-box {
  background: #fff; border-radius: 10px; padding: 24px;
  width: 90%; max-width: 420px;
}
.modal-box h3 { margin-bottom: 16px; }
.modal-box input, .modal-box textarea { margin-bottom: 10px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }

.badge {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 12px; line-height: 1.5;
}
.badge-pending  { background: #FFF4E5; color: #B5700A; }
.badge-approved { background: #E8F6EC; color: #2A7A42; }
.badge-rejected { background: #FBEAEA; color: #B23A3A; }
