/* Password recovery pages (forgot / reset) for the company app, the customer portal and the admin.
   Owner 2026-11-21: professional, enterprise-level, no big header: one quiet card that asks one thing. */
:root {
  --rc-brand: #0b4e9c; --rc-accent: #f49e0b; --rc-ink: #14212e; --rc-muted: #5f6d7c; --rc-line: #dfe6ee;
  --rc-bg: #f2f5f9; --rc-card: #ffffff; --rc-soft: #f6f8fb; --rc-ok: #0a7d33; --rc-bad: #b42318;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body.rc { min-height: 100vh; background: var(--rc-bg); color: var(--rc-ink); font: 14px/1.55 Inter, "Segoe UI", Arial, sans-serif;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; }
.rc-wrap { width: 100%; max-width: 420px; }
.rc-card { background: var(--rc-card); border: 1px solid var(--rc-line); border-top: 3px solid var(--rc-brand); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(16, 32, 56, .05), 0 8px 24px rgba(16, 32, 56, .06); padding: 26px 28px 24px; }
.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.rc-top .bmark img { height: 30px !important; }
.rc-ctx { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rc-muted);
  border: 1px solid var(--rc-line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.rc-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; }
.rc-steps li { flex: 1; font-size: 11px; color: var(--rc-muted); }
.rc-steps li::before { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--rc-line); margin-bottom: 6px; }
.rc-steps li.done::before { background: var(--rc-ok); }
.rc-steps li.on { color: var(--rc-ink); font-weight: 600; }
.rc-steps li.on::before { background: var(--rc-brand); }
.rc h1 { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; }
.rc-lead { color: var(--rc-muted); margin: 0 0 20px; }
.rc-form { display: flex; flex-direction: column; gap: 14px; }
.rc-f { display: flex; flex-direction: column; gap: 6px; }
.rc-f span { font-size: 13px; font-weight: 600; }
.rc-f small { color: var(--rc-muted); font-size: 12px; }
.rc-f input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid #c9d3de; border-radius: 6px; font: inherit; color: var(--rc-ink); background: #fff;
  transition: border-color .15s, box-shadow .15s; }
.rc-f input:focus { outline: none; border-color: var(--rc-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc-brand) 18%, transparent); }
.rc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--rc-brand);
  background: var(--rc-brand); color: #fff; font: 600 14px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; width: 100%; }
.rc-btn:hover { filter: brightness(1.08); }
.rc-btn.ghost { background: #fff; color: var(--rc-ink); border-color: #c9d3de; }
.rc-btn.ghost:hover { background: var(--rc-soft); filter: none; }
.rc-msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; font-size: 13px; line-height: 1.5; margin: 0 0 16px; }
.rc-msg i { font-size: 18px; line-height: 1.2; flex: none; }
.rc-msg.ok { background: #ecf7f0; border: 1px solid #c3e6cf; color: #145c2e; }
.rc-msg.bad { background: #fdf0ef; border: 1px solid #f3cbc7; color: #8c1d13; }
.rc-msg.info { background: var(--rc-soft); border: 1px solid var(--rc-line); color: var(--rc-ink); }
.rc-msg b { display: block; margin-bottom: 2px; }
.rc-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rc-line); font-size: 13px; }
.rc-links a { color: var(--rc-brand); text-decoration: none; font-weight: 500; }
.rc-links a:hover { text-decoration: underline; }
.rc-sec { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 12px; color: var(--rc-muted); }
.rc-sec i { font-size: 15px; color: var(--rc-ok); }
.rc-foot { text-align: center; margin-top: 18px; font-size: 12px; color: var(--rc-muted); }
.rc-foot a { color: var(--rc-muted); text-decoration: none; margin: 0 6px; }
.rc-foot a:hover { color: var(--rc-ink); }
.rc-meter { height: 4px; border-radius: 4px; background: var(--rc-line); overflow: hidden; }
.rc-meter b { display: block; height: 100%; width: 0; background: var(--rc-bad); transition: width .2s, background .2s; }
@media (max-width: 480px) { body.rc { justify-content: flex-start; padding-top: 20px; } .rc-card { padding: 22px 18px 20px; } }
