/* SCS 自定义样式补充 */
html, body { -webkit-tap-highlight-color: transparent; }
input, select, textarea, button { font-family: inherit; }

/* 表单控件移动端友好的最小点击区 */
.btn { @apply inline-flex items-center justify-center gap-2 px-4 py-2.5 rounded-lg font-medium transition active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed; }
.btn-primary { @apply bg-brand-600 text-white hover:bg-brand-700 shadow-sm; }
.btn-secondary { @apply bg-white text-slate-700 border border-slate-300 hover:bg-slate-50; }
.btn-danger { @apply bg-rose-600 text-white hover:bg-rose-700; }
.btn-warning { @apply bg-amber-500 text-white hover:bg-amber-600; }
.btn-success { @apply bg-emerald-600 text-white hover:bg-emerald-700; }

.input { @apply w-full px-4 py-3 rounded-lg border border-slate-300 focus:border-brand-500 focus:ring-2 focus:ring-brand-200 outline-none text-base disabled:bg-slate-100 disabled:text-slate-400 disabled:cursor-not-allowed; }
.select { @apply w-full px-4 py-3 rounded-lg border border-slate-300 focus:border-brand-500 focus:ring-2 focus:ring-brand-200 outline-none bg-white text-base disabled:bg-slate-100 disabled:text-slate-400 disabled:cursor-not-allowed appearance-none; }
.label { @apply block text-sm font-medium text-slate-700 mb-1.5; }

.card { @apply bg-white rounded-2xl shadow-sm border border-slate-100 p-5; }

.status-badge { @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium; }
.status-pending { @apply bg-slate-100 text-slate-700; }
.status-called { @apply bg-blue-100 text-blue-700; }
.status-in-factory { @apply bg-amber-100 text-amber-700; }
.status-exited { @apply bg-emerald-100 text-emerald-700; }

/* 企业标识 */
.corp-brand {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #1a7f37;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.corp-brand-main { font-size: 1.125rem; }
.corp-brand-dot { color: #15803d; margin: 0 0.05em; }
.corp-brand-sub { font-size: 1rem; color: #166534; }
@media (min-width: 768px) {
  .corp-brand-main { font-size: 1.25rem; }
  .corp-brand-sub { font-size: 1.125rem; }
}

.toast { @apply px-4 py-2.5 rounded-lg shadow-lg text-sm text-white max-w-xs; }
.toast-info { @apply bg-slate-800; }
.toast-success { @apply bg-emerald-600; }
.toast-error { @apply bg-rose-600; }
.toast-warning { @apply bg-amber-500; }

/* 滚动条美化（桌面） */
@media (min-width: 768px) {
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: #f1f5f9; }
  ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
}
