*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Century Gothic", CenturyGothic, AppleGothic, Futura, "Avant Garde", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f2733;
  background: #f5f6f8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .5rem; }
p { margin: 0 0 .75rem; }
.muted { color: #6b7280; }
.small { font-size: .8rem; }
.center { text-align: center; }
input, select, textarea, button {
  font-family: inherit;
  font-size: .95rem;
}
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=tel], input[type=time], input[type=file], select, textarea {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid #d7dbe0;
  border-radius: 8px;
  background: #fff;
  color: #1f2733;
}
label { display: block; font-size: .85rem; font-weight: 600; color: #374151; margin-bottom: .85rem; }
label input, label select, label textarea { margin-top: .3rem; font-weight: 400; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #e5e7eb;
  color: #1f2733;
  cursor: pointer;
  font-weight: 600;
  font-size: .9rem;
}
.btn:hover { filter: brightness(0.97); }
.btn-primary { background: var(--primary, #e0512c); color: #fff; }
.btn-secondary { background: #fff; border-color: #d7dbe0; }
.btn-danger { background: #fdecea; color: #b3261e; }
.btn-small { padding: .35rem .65rem; font-size: .8rem; }
.btn-block { width: 100%; }
.alert { padding: .7rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: .9rem; }
.alert-success { background: #e6f6ec; color: #146c2e; }
.alert-error { background: #fdecea; color: #b3261e; }
.badge { display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.badge-active { background: #e6f6ec; color: #146c2e; }
.badge-inactive { background: #f1f2f4; color: #6b7280; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; background: #f1f2f4; font-size: .78rem; font-weight: 500; margin: .15rem; cursor: pointer; }
