/* Simple modern responsive CSS template */
:root{--bg:#f4f6f8;--card:#ffffff;--accent:#2563eb;--muted:#6b7280}
*{box-sizing:border-box}body{font-family:Inter,ui-sans-serif,system-ui,Segoe UI,Roboto,Helvetica,Arial;color:#111;margin:0;background:var(--bg);-webkit-font-smoothing:antialiased}
.container{max-width:1100px;margin:20px auto;padding:0 16px}
.header{background:#fff;border-bottom:1px solid #e6e9ee;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 16px}
.brand{font-size:18px;color:var(--accent);margin:0}
.nav a{margin-left:12px;color:#111;text-decoration:none;font-weight:500}
.nav .btn-ghost{background:transparent;border:1px solid #e5e7eb;padding:6px 10px;border-radius:6px;margin-left:8px;color:#111}
.main{padding:24px 0}
.card{background:var(--card);padding:18px;border-radius:10px;box-shadow:0 6px 18px rgba(16,24,40,.06);margin-bottom:18px}
.form-row{display:flex;gap:12px;flex-wrap:wrap}
.form-row .field{flex:1;min-width:160px}
label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
input[type="text"],input[type="number"],input[type="date"],input[type="password"],select,textarea{width:100%;padding:10px;border:1px solid #e6e9ee;border-radius:8px;background:#fff}
button{background:var(--accent);color:#fff;border:0;padding:10px 14px;border-radius:8px;cursor:pointer}
.btn-secondary{background:#111;color:#fff}
.table{width:100%;border-collapse:collapse;margin-top:10px}
.table th,.table td{padding:10px;border-bottom:1px solid #f1f5f9;text-align:left}
.actions a{margin-right:8px;color:var(--accent);text-decoration:none}
.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.filters{display:flex;gap:8px;align-items:center}
.error{color:#b91c1c;margin:8px 0}
.success{color:#065f46;margin:8px 0}
.footer{padding:12px 0;text-align:center;color:var(--muted);font-size:13px;margin-top:40px}
@media(max-width:700px){.form-row{flex-direction:column} .nav a{display:none}}
