/* WBN team app — matches the approved mockups: navy #0b1f3a header,
   green #2CA01C buttons, white background. Phone-first, max 480px wide. */
* { box-sizing: border-box; }
body {
  margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f4f5f8; color: #0b1f3a;
}
a { color: #1a7f34; }
.app { max-width: 480px; margin: 0 auto; background: #fff; min-height: 100vh;
  padding-bottom: 76px; position: relative; }

/* header */
.topbar { background: #0b1f3a; color: #fff; padding: 18px 16px 20px;
  border-radius: 0 0 22px 22px; }
.topbar h1 { margin: 0; font-size: 30px; letter-spacing: 1px; }
.topbar .who { float: right; font-size: 15px; font-weight: 600; margin-top: 8px; }
.topbar .who a { color: #cfe6cb; text-decoration: none; font-weight: 400; font-size: 13px; }
.topbar .sub { margin: 6px 0 0; color: #cbd5e1; font-size: 14px; }
.topbar .back { color: #fff; text-decoration: none; font-size: 16px; display: inline-block; margin-bottom: 8px; }
.topbar .crumb { font-size: 12px; letter-spacing: 2px; color: #94a3b8; text-transform: uppercase; }

main { padding: 16px; }
h2 { font-size: 20px; margin: 4px 0 12px; }
p.muted { color: #64748b; font-size: 14px; }

/* search */
.search { width: 100%; padding: 12px 14px; font-size: 16px;
  border: 1px solid #cbd5e1; border-radius: 12px; margin-bottom: 14px; }

/* cards */
.card { border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px;
  margin-bottom: 12px; background: #fff;
  box-shadow: 0 1px 4px rgba(11, 31, 58, 0.06); }
.card h3 { margin: 0 0 4px; font-size: 18px; }
.card h3 a { color: #0b1f3a; text-decoration: none; }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card p { margin: 4px 0; color: #475569; font-size: 14px; }
.pill { display: inline-block; background: #2CA01C; color: #fff; font-size: 13px;
  font-weight: 600; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.pill.grey { background: #64748b; }
.pill.red { background: #D52B1E; }

/* buttons */
.btn { display: inline-block; background: #2CA01C; color: #fff; border: 0;
  font-size: 16px; font-weight: 700; padding: 13px 20px; border-radius: 10px;
  text-decoration: none; text-align: center; cursor: pointer; width: 100%; }
.btn-outline { display: inline-block; background: #fff; color: #2CA01C;
  border: 2px solid #2CA01C; font-size: 16px; font-weight: 700;
  padding: 11px 20px; border-radius: 10px; text-decoration: none;
  text-align: center; cursor: pointer; width: 100%; }
.btn-small { width: auto; padding: 8px 16px; font-size: 14px; }
.btn-navy { background: #0b1f3a; }
.btn + .btn, .btn + .btn-outline, .btn-outline + .btn { margin-top: 10px; }

/* forms */
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 5px; }
input[type=text], input[type=email], input[type=password], input[type=number],
select, textarea {
  width: 100%; padding: 12px; font-size: 16px; border: 1px solid #cbd5e1;
  border-radius: 10px; background: #fff; }
textarea { min-height: 90px; resize: vertical; }
.hint { font-size: 13px; color: #64748b; margin-top: 4px; }
.forgot { text-align: center; margin-top: 12px; font-size: 14px; }
.forgot a { text-decoration: none; }
.remember { display: flex; align-items: center; gap: 8px; font-weight: 500;
  font-size: 14px; margin: 14px 0 0; cursor: pointer; }
.remember input { width: 18px; height: 18px; accent-color: #2CA01C; margin: 0; }
.error { background: #FFF4D6; border: 1px solid #B7791F; color: #5b3a00;
  padding: 12px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
.ok { background: #E9F7E6; border: 1px solid #2CA01C; color: #1E7A12;
  padding: 12px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }

/* upload drop box */
.drop { border: 2px dashed #94a3b8; border-radius: 14px; padding: 26px 14px;
  text-align: center; margin-bottom: 14px; }
.drop .cam { font-size: 40px; }
.drop p { color: #475569; margin: 8px 0 12px; }
.file-list { list-style: none; padding: 0; margin: 0 0 14px; }
.file-list li { display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 2px; border-bottom: 1px solid #e5e7eb; font-size: 14px; }
.file-list li .ok-mark { color: #2CA01C; font-weight: 700; }

/* activity + messages */
.activity { list-style: none; padding: 0; margin: 0; }
.activity li { padding: 10px 2px; border-bottom: 1px solid #e5e7eb; font-size: 14px; }
.activity li small { color: #64748b; display: block; margin-top: 2px; }
.msg { border: 1px solid #e5e7eb; border-radius: 12px; padding: 10px 12px;
  margin-bottom: 10px; max-width: 88%; }
.msg.mine { margin-left: auto; background: #E9F7E6; border-color: #bfe6b8; }
.msg small { color: #64748b; display: block; margin-top: 4px; font-size: 12px; }
.reply { display: flex; gap: 8px; margin-top: 14px; }
.reply textarea { flex: 1; min-height: 48px; }
.reply .btn { width: auto; }

/* stat boxes */
.stats { display: flex; gap: 10px; margin-bottom: 12px; }
.stat { flex: 1; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 10px; text-align: center; }
.stat b { display: block; font-size: 20px; }
.stat span { font-size: 12px; color: #64748b; }

/* bottom nav */
.bottomnav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: #fff; border-top: 1px solid #e5e7eb;
  display: flex; padding: 8px 0 10px; }
.bottomnav a { flex: 1; text-align: center; text-decoration: none; color: #0b1f3a;
  font-size: 13px; font-weight: 600; }
.bottomnav a .ico { font-size: 22px; display: block; }
.bottomnav a.on { color: #2CA01C; }
.empty { text-align: center; color: #64748b; padding: 30px 10px; }
.logo-big { font-size: 44px; font-weight: 800; color: #0b1f3a; letter-spacing: 2px; margin: 10px 0 4px; }
