:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --danger: #dc2626;
    --line: #dbe4ee;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; }
body { margin:0; font-family: Arial, Helvetica, sans-serif; background: var(--bg); color: var(--text); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 24px; }
.topbar { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:24px; }
.topbar h1 { margin:0 0 6px 0; }
.sub, .muted { color: var(--muted); }
.actions { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.card { background: var(--card); border:1px solid var(--line); border-radius:18px; box-shadow: var(--shadow); padding:20px; margin-bottom:20px; }
.login-box { max-width: 460px; margin: 40px auto; }
.form-simple, .filters { display:grid; gap:16px; }
.filters { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items:end; }
label { display:block; font-weight:bold; margin-bottom:8px; }
input[type=text], input[type=password], input[type=file], select { width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:12px; font-size:14px; background:#fff; }
.btn { display:inline-block; border:0; cursor:pointer; text-decoration:none; padding:12px 18px; border-radius:12px; font-weight:bold; background: var(--primary); color:#fff; }
.btn:hover { background: var(--primary-dark); }
.btn-light { background:#e8eef9; color: var(--text); }
.btn-danger { background: var(--danger); }
.alert { padding:14px 16px; border-radius:12px; margin-bottom:18px; }
.alert-success { background:#ecfdf3; color:#166534; border:1px solid #b7e4c7; }
.alert-error { background:#fef2f2; color:#991b1b; border:1px solid #fecaca; }
.note, .pill { background:#eef4ff; border-radius:999px; display:inline-block; padding:8px 12px; font-size:13px; }
.note { border-radius:12px; display:block; margin-top:18px; }
.stats { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:16px; margin-bottom:20px; }
.stat { background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow: var(--shadow); padding:18px; }
.stat span { display:block; color:var(--muted); margin-bottom:8px; }
.results-head { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:16px; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; }
th, td { text-align:left; vertical-align:top; border-bottom:1px solid var(--line); padding:12px 10px; }
th { color:var(--muted); text-transform:uppercase; font-size:12px; }
pre, .mono { white-space:pre-wrap; word-break:break-word; font-family: Consolas, monospace; }
pre { background:#0f172a; color:#e2e8f0; padding:14px; border-radius:12px; max-height:320px; overflow:auto; }
.method { display:inline-block; min-width:72px; text-align:center; padding:8px 10px; border-radius:999px; font-size:12px; font-weight:bold; }
.method-get { background:#e0f2fe; color:#0369a1; }
.method-post { background:#dcfce7; color:#15803d; }
.method-put { background:#ffedd5; color:#c2410c; }
.method-delete { background:#fee2e2; color:#b91c1c; }
.method-patch { background:#ede9fe; color:#6d28d9; }
.copy-btn { margin-top:10px; padding:8px 12px; border:1px solid var(--line); background:#fff; border-radius:10px; cursor:pointer; }
.filter-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
@media (max-width: 760px) {
    .wrap { padding: 16px; }
    .topbar, .results-head { flex-direction: column; align-items:flex-start; }
}
