/* Local stylesheet (no external assets) */

:root{
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;

  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;

  --shadow: 0 1px 2px rgba(0,0,0,.06);
  --radius: 10px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background: var(--bg);
  color: var(--text);
}

a{ color: var(--blue); text-decoration:none; }
a:hover{ text-decoration:underline; }

/* Layout */
.topbar{
  background: var(--blue);
  color:#fff;
  padding:12px 14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.topbar .title{ font-weight:700; }
.topbar .who{ font-size:13px; opacity:.95; }

.container{
  max-width:1100px;
  margin:0 auto;
  padding:14px;
}

.card{
  background: var(--card);
  padding:14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.navbar{
  margin-bottom:12px;
  padding:10px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Form controls */
input, select{
  width:100%;
  padding:10px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  outline:none;
  background:#fff;
}
input:focus, select:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

/* Buttons */
button, .btn{
  display:inline-block;
  padding:10px 12px;
  border:0;
  border-radius: var(--radius);
  background: var(--blue);
  color:#fff;
  cursor:pointer;
  font: inherit;
}
button:hover, .btn:hover{ background: var(--blue-dark); }

/* Flash messages */
.flash{
  padding:10px;
  border-left:4px solid var(--blue);
  background: var(--blue-soft);
  border-radius: var(--radius);
  margin-bottom:12px;
}
.flash.ok{ border-left-color:#10b981; background:#ecfdf5; }
.flash.err{ border-left-color:#ef4444; background:#fef2f2; }

/* Tables */
.table-wrap{ overflow:auto; }
table{ width:100%; border-collapse:collapse; font-size:13px; }
th, td{ padding:8px; border-bottom:1px solid var(--line); text-align:left; }
thead tr{ background:#f3f4f6; }

/* Small text */
.small{ color: var(--muted); font-size:12px; }
.footer{ color: var(--muted); font-size:12px; margin-top:18px; }
