/* MyFINMA International Case Portal — shared styles */
:root {
  --navy: #16233d;
  --navy-2: #1f3357;
  --red: #c8102e;
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #232a35;
  --muted: #6b7484;
  --line: #dde1e8;
  --ok: #1e7a46;
  --warn: #a06a00;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--navy-2); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
}
.topbar-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand svg { display: block; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: .3px; }
.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #b9c3d6;
  letter-spacing: .4px;
}
.lang-toggle { display: flex; gap: 4px; }
.lang-btn {
  background: transparent;
  border: 1px solid #3d4f75;
  color: #cfd8ea;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
}
.lang-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- layout ---------- */
main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- hero ---------- */
.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 44px 40px;
  margin-top: 28px;
}
.hero h1 { font-size: 28px; color: var(--navy); margin-bottom: 10px; }
.hero p { color: var(--muted); max-width: 620px; margin-bottom: 22px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: #eef1f6; }

/* ---------- sections ---------- */
.section { padding: 40px 0; }
.section h2 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
}
.step-num {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  width: 24px; height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 10px;
}
.step h3 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ---------- contact strip ---------- */
.contact-strip {
  background: var(--navy);
  color: #cfd8ea;
  margin-top: 10px;
}
.contact-strip-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}
.contact-strip a { color: #fff; font-weight: 600; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 18px 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
footer .foot-links { margin-top: 6px; }
footer .foot-links a { color: var(--muted); margin: 0 8px; }

/* ---------- portal (login / verify) ---------- */
.portal-wrap {
  max-width: 460px;
  margin: 60px auto 40px;
  width: 100%;
}
.portal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 32px;
}
.portal-card h1 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.portal-card .sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.field input {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}
.field input:focus { outline: none; border-color: var(--navy); }
.err { color: var(--red); font-size: 13px; margin-top: 10px; display: none; }
.notice {
  font-size: 12.5px;
  color: var(--muted);
  background: #f0f2f6;
  border-left: 3px solid var(--navy);
  padding: 10px 12px;
  margin-top: 18px;
}
.hidden { display: none !important; }

/* ---------- dashboard ---------- */
.dash { max-width: 720px; margin: 40px auto; width: 100%; }
.dash-head {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.dash-head .kicker { font-size: 12px; letter-spacing: 1px; color: var(--red); font-weight: 700; text-transform: uppercase; }
.dash-head h1 { font-size: 22px; color: var(--navy); margin-top: 4px; }
.dash-head .meta { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.status-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
  background: #fdeef0;
  color: var(--red);
  border: 1px solid #f2c1ca;
}
.timeline { background: var(--card); border: 1px solid var(--line); padding: 24px 28px; margin-bottom: 16px; }
.timeline h2 { font-size: 15px; color: var(--navy); margin-bottom: 16px; }
.tl-item { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 7px; top: 18px; bottom: 0;
  width: 2px;
  background: var(--line);
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #cdd4e0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #cdd4e0;
  flex-shrink: 0;
  margin-top: 2px;
  z-index: 1;
}
.tl-item.done .tl-dot { background: var(--ok); box-shadow: 0 0 0 1px var(--ok); }
.tl-item.current .tl-dot { background: var(--red); box-shadow: 0 0 0 1px var(--red); }
.tl-body strong { display: block; font-size: 14px; color: var(--navy); }
.tl-body span { font-size: 12.5px; color: var(--muted); }
.tl-item.pending .tl-body strong { color: var(--muted); }
.info-card { background: var(--card); border: 1px solid var(--line); padding: 24px 28px; }
.info-card h2 { font-size: 15px; color: var(--navy); margin-bottom: 12px; }
.info-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.info-card .contact-line { font-size: 14px; color: var(--text); }
.info-card .contact-line b { color: var(--navy); }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 28px 22px; }
}
