/* iTrux Rebuild — base styles. Mobile-first: drivers use phones. */
:root {
  --brand: #0b5fa5;
  --brand-dark: #084a82;
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #1c2733;
  --muted: #6b7a8a;
  --danger: #c0392b;
  --radius: 10px;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.5;
}
.topbar {
  background: var(--brand); color: #fff; padding: .7rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.topbar a { color: #fff; text-decoration: none; margin-left: .8rem; }
.brand { font-weight: 800; font-size: 1.25rem; margin-left: 0 !important; }
.org-name { font-weight: 600; opacity: .9; }
.who { opacity: .85; }
.wrap { max-width: 640px; margin: 0 auto; padding: 1rem; }
.card {
  background: var(--card); border-radius: var(--radius);
  padding: 1.25rem; margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
h1 { font-size: 1.5rem; margin: 0 0 .75rem; }
h2 { font-size: 1.2rem; margin: 1.25rem 0 .5rem; }
label { display: block; font-weight: 600; margin: .8rem 0 .25rem; }
input[type=text], input[type=tel], input[type=email], input[type=number],
input[type=date], input[type=time], select, textarea {
  width: 100%; padding: .7rem; font-size: 1rem;
  border: 1px solid #c8d2dc; border-radius: 8px; background: #fff;
}
textarea { min-height: 90px; }
.btn {
  display: inline-block; background: var(--brand); color: #fff !important;
  border: 0; border-radius: 8px; padding: .8rem 1.4rem;
  font-size: 1.05rem; font-weight: 700; cursor: pointer;
  text-decoration: none; text-align: center; margin-top: 1rem;
}
.btn:hover { background: var(--brand-dark); }
.btn.small { padding: .35rem .7rem; font-size: .85rem; margin-top: 0; }
.btn.block { display: block; width: 100%; }
.btn.danger { background: var(--danger); }
.flash {
  background: #fff8e1; border: 1px solid #f0d060; border-radius: 8px;
  padding: .7rem 1rem; margin-bottom: 1rem;
}
.error {
  background: #fdecea; border: 1px solid #f5a9a0; border-radius: 8px;
  padding: .7rem 1rem; margin-bottom: 1rem;
}
.hint { color: var(--muted); font-size: .9rem; }
.otp-input {
  font-size: 1.6rem !important; letter-spacing: .5rem; text-align: center;
  max-width: 16rem;
}
.list { list-style: none; padding: 0; margin: 0; }
.list li {
  background: var(--card); border-radius: var(--radius);
  padding: .9rem 1rem; margin-bottom: .6rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.list a { color: var(--brand); font-weight: 600; }
.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 2rem 1rem; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.menu-grid a {
  background: var(--card); border-radius: var(--radius); padding: 1.1rem .8rem;
  text-align: center; font-weight: 700; color: var(--brand); text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
