/* =====================================================================================================================
   Talent design system — Bharat Recruit (bharatrecruit.com, employer.bharatrecruit.com) and VeproHR (veprohr.com,
   org.veprohr.com, employee.veprohr.com). A blue theme layer over each site's app.css (the Miosynergy flexbox base:
   .row, .stack, .card, .btn, forms, tables, the panel). No framework, no web fonts from outside: Montserrat and
   Font Awesome come from global_assets/fonts. Served as /assets/global/talent/talent.css.
     body.tl          every page of these sites
     body.tl-br       Bharat Recruit accent (amber)       body.tl-vp   VeproHR accent (cyan)
   New components are prefixed tl-. Sizes are in px where a component must not follow the base rem.
   ===================================================================================================================== */
html:has(body.tl) { font-size: 13.5px; scroll-padding-top: 84px; }
body.tl {
  --brand: #2563EB; --brand-dark: #1E40AF; --brand-ink: #1D4ED8; --brand-tint: #EFF4FF; --brand-soft: #DBE7FF;
  --navy: #0B1736; --navy-2: #12285E;
  --ink: #0F172A; --muted: #5B6478; --muted-2: #8A93A6; --line: #E3E8F2; --line-2: #EEF2F8; --paper: #F5F7FC; --surface: #FFFFFF;
  --accent: #F59E0B; --accent-tint: #FEF3DC; --accent-ink: #8A5A00;
  --ok: #10B981; --ok-tint: #E6F7F0; --ok-ink: #047857;
  --warn: #F59E0B; --warn-tint: #FEF3DC; --warn-ink: #8A5A00;
  --bad: #EF4444; --bad-tint: #FDECEC; --bad-ink: #B42318;
  --info: #3B82F6; --info-tint: #EAF2FF; --info-ink: #1D4ED8;
  --good: var(--ok-ink); --deal: var(--bad-ink);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --font-display: var(--font);
  --radius: 18px; --radius-sm: 12px; --radius-xs: 8px;
  --shadow: none;
  --shadow-lg: 0 6px 20px rgb(15 23 42 / 8%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grad: #2563EB;
  font-family: var(--font); color: var(--ink); background: var(--paper); letter-spacing: -.005em;
}
body.tl.tl-vp { --accent: #06B6D4; --accent-tint: #E0F7FB; --accent-ink: #0E7490; }
body.tl :is(h1, h2, h3) { font-family: var(--font); letter-spacing: -.025em; color: var(--ink); }
body.tl h1 { font-weight: 800; }
body.tl h2 { font-weight: 750; }
body.tl a { color: var(--brand-ink); }
body.tl a:hover { color: var(--brand-dark); }
body.tl :focus-visible { outline: 3px solid rgb(37 99 235 / 35%); outline-offset: 2px; }
body.tl ::selection { background: var(--brand-soft); }

/* ---------- Base components (app.css vocabulary) in the blue theme ---------- */
body.tl .card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
body.tl .btn { border-radius: 999px; font-weight: 700; padding: 11px 20px; background: var(--grad); color: #fff; box-shadow: none; transition: transform .15s var(--ease), box-shadow .15s, filter .15s; }
body.tl .btn:hover { color: #fff; background: var(--brand-dark); filter: none; }
body.tl .btn:active { transform: translateY(1px); }
body.tl .btn.small { padding: 7px 14px; }
body.tl .btn.outline { background: #fff; color: var(--brand-ink); border: 1px solid #C9D7F5; box-shadow: none; }
body.tl .btn.outline:hover { background: var(--brand-tint); color: var(--brand-dark); filter: none; }
body.tl .btn.ghost { background: transparent; color: var(--brand-ink); border: 0; box-shadow: none; }
body.tl .btn.ghost:hover { background: var(--brand-tint); }
body.tl .btn.accent { background: var(--accent); color: #1F1300; box-shadow: none; }
body.tl.tl-vp .btn.accent { color: #fff; }
body.tl .btn.danger { background: #fff; color: var(--bad-ink); border: 1px solid #F3B4B4; box-shadow: none; }
body.tl .btn.danger:hover { background: var(--bad-tint); }
body.tl .btn.white { background: #fff; color: var(--brand-dark); box-shadow: none; }
body.tl .btn.link { background: none; box-shadow: none; color: var(--brand-ink); padding: 0; border-radius: 0; }
body.tl .badge { border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: .85rem; background: var(--line-2); color: var(--muted); }
body.tl .badge.ok { background: var(--ok-tint); color: var(--ok-ink); }
body.tl .badge.warn { background: var(--warn-tint); color: var(--warn-ink); }
body.tl .badge.bad { background: var(--bad-tint); color: var(--bad-ink); }
body.tl .badge.info, body.tl .badge.brand { background: var(--info-tint); color: var(--info-ink); }
body.tl .notice { border-radius: var(--radius-sm); border: 0; padding: 12px 16px; }
body.tl .notice.ok { background: var(--ok-tint); color: var(--ok-ink); }
body.tl .notice.warn { background: var(--warn-tint); color: var(--warn-ink); }
body.tl .notice.info { background: var(--info-tint); color: var(--info-ink); }
body.tl .notice.error { background: var(--bad-tint); color: var(--bad-ink); }
body.tl :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), select, textarea) { border-radius: var(--radius-sm); border: 1px solid #D5DDEA; background: #fff; padding: 11px 14px; font: inherit; color: var(--ink); min-height: 44px; transition: border-color .15s, box-shadow .15s; }
body.tl :is(input, select, textarea):focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(37 99 235 / 14%); }
body.tl label, body.tl .label { color: #24304A; }
body.tl .hint { color: var(--muted); }
body.tl .table th { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; background: #FAFBFE; }
body.tl .table td { border-top: 1px solid var(--line-2); }
body.tl .table tr:hover td { background: #F8FAFF; }
body.tl .muted { color: var(--muted); }
body.tl .stat { border-radius: var(--radius); box-shadow: var(--shadow); border-color: var(--line); }
body.tl .page-head h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* ---------- Panel chrome (employer panel, VeproHR HR panel) ---------- */
body.tl .panel-nav { background: var(--navy); color: #C7D2EA; padding: 20px 14px; gap: 3px; flex-basis: 256px; }
body.tl .panel-nav .logo { color: #fff; padding: 2px 8px 18px; text-decoration: none; }
body.tl .panel-nav a.item, body.tl .panel-nav summary.item { color: #C7D2EA; border-radius: 12px; padding: 10px 12px; font-weight: 600; transition: background .15s, color .15s; }
body.tl .panel-nav a.item:hover, body.tl .panel-nav summary.item:hover { background: rgb(255 255 255 / 8%); color: #fff; }
body.tl .panel-nav a.item.on { background: #fff; color: var(--brand-dark); box-shadow: none; }
body.tl .panel-nav a.item.on i { color: var(--brand); }
body.tl .panel-nav .count { background: var(--accent); color: #1F1300; }
body.tl .panel-nav .nav-group .nav-sub { padding-left: 10px; }
body.tl .panel-nav .tl-nav-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8EA0C8; padding: 14px 12px 6px; font-weight: 700; }
body.tl .panel-nav .tl-nav-card { margin-top: auto; background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 10%); border-radius: 16px; padding: 14px; color: #DCE4F7; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
body.tl .panel-nav .tl-nav-card strong { color: #fff; }
body.tl .panel-top { background: rgb(255 255 255 / 86%); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); padding: 12px 28px; position: sticky; top: 0; z-index: 30; }
body.tl .panel-main { padding: 28px; gap: 22px; max-width: 1360px; width: 100%; }
body.tl .panel-foot { border-top: 1px solid var(--line); background: transparent; }
body.tl .profile-menu .avatar { background: var(--grad); color: #fff; }

/* ---------- Brand marks ---------- */
.tl-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -.03em; font-size: 20px; line-height: 1; }
.tl-logo .tl-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 17px;  flex: none; }
.tl-logo small { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 4px; }
.tl-logo .tl-word b { color: var(--brand); }
.panel-nav .tl-logo { color: #fff; }
.panel-nav .tl-logo small { color: #8EA0C8; }
.panel-nav .tl-logo .tl-word b { color: #7FB0FF; }

/* ---------- Public site shell (bharatrecruit.com, veprohr.com) ---------- */
.tl-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.tl-top { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / 88%); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.tl-top .tl-wrap { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.tl-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.tl-nav a { padding: 9px 14px; border-radius: 999px; color: #2A3550; text-decoration: none; font-weight: 600; font-size: 14px; }
.tl-nav a:hover, .tl-nav a.on { background: var(--brand-tint); color: var(--brand-dark); }
.tl-top .tl-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tl-burger { display: none; background: none; border: 0; font-size: 20px; color: var(--ink); padding: 8px; cursor: pointer; }
.tl-main { min-height: calc(100vh - 260px); }
.tl-foot { background: var(--navy); color: #AFC0E4; margin-top: 64px; padding: 48px 0 28px; font-size: 14px; }
.tl-foot .tl-wrap { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.tl-foot h4 { color: #fff; margin: 0 0 12px; font-size: 14px; letter-spacing: .02em; }
.tl-foot a { color: #C9D6F2; text-decoration: none; display: block; padding: 3px 0; }
.tl-foot a:hover { color: #fff; }
.tl-foot .tl-foot-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.tl-foot .tl-foot-brand .tl-logo { color: #fff; }
.tl-foot .tl-foot-base { flex-basis: 100%; border-top: 1px solid rgb(255 255 255 / 10%); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: #8EA0C8; font-size: 13px; }
.tl-tabbar { display: none; }
@media (max-width: 860px) {
  .tl-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; box-shadow: var(--shadow-lg); }
  .tl-nav.open { display: flex; }
  .tl-burger { display: inline-flex; }
  .tl-top .tl-actions .tl-hide-sm { display: none; }
  body.tl.has-tabbar { padding-bottom: 76px; }
  .tl-tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgb(255 255 255 / 96%); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tl-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 6px 0; border-radius: 12px; position: relative; }
  .tl-tabbar a i { font-size: 18px; }
  .tl-tabbar a.on { color: var(--brand); }
  .tl-tabbar a .tl-dot { position: absolute; top: 2px; right: calc(50% - 18px); min-width: 16px; height: 16px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
}

/* ---------- Hero and search ---------- */
.tl-hero { position: relative; overflow: hidden; background: #F3F7FF; padding: 64px 0 72px; }
.tl-hero .tl-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.tl-hero-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 18px; }
.tl-hero h1 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.045em; margin: 0; }
.tl-hero h1 em { font-style: normal; color: var(--brand); }
.tl-hero p.tl-lead { font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); max-width: 54ch; line-height: 1.6; }
.tl-eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; font-size: 13px; font-weight: 700; color: #2A3550;  }
.tl-eyebrow i, .tl-eyebrow .tl-eyebrow-ic { width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-size: 12px; }
.tl-hero-art { flex: 1 1 360px; display: flex; justify-content: center; }
.tl-search { display: flex; flex-wrap: wrap; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 8px; box-shadow: none; max-width: 760px; }
.tl-search > label { flex: 1 1 200px; flex-direction: row; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; color: var(--muted); font-weight: 500; }
.tl-search > label + label { border-left: 1px solid var(--line); }
.tl-search > label input { border: 0 !important; box-shadow: none !important; padding: 12px 0 !important; min-height: 48px; flex: 1; background: transparent !important; font-size: 15px; }
.tl-search .btn { min-height: 52px; padding-inline: 26px; border-radius: 16px; font-size: 15px; }
@media (max-width: 640px) { .tl-search > label + label { border-left: 0; border-top: 1px solid var(--line); } .tl-search .btn { flex: 1 1 100%; } }
.tl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; color: #2A3550; text-decoration: none; transition: border-color .15s, color .15s, background .15s; cursor: pointer; }
.tl-chip:hover, .tl-chip.on { border-color: #BFD3FB; color: var(--brand-dark); background: var(--brand-tint); }
.tl-chip .n { color: var(--muted-2); font-weight: 600; }
.tl-trust { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 13px; font-weight: 600; }
.tl-trust span { display: inline-flex; align-items: center; gap: 7px; }
.tl-trust i { color: var(--ok); }

/* Floating cards in the hero */
.tl-stage { position: relative; width: min(440px, 100%); aspect-ratio: 1 / 1; }
.tl-float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 16px; display: flex; flex-direction: column; gap: 8px; animation: tl-bob 6s var(--ease) infinite; }
.tl-float:nth-child(2) { animation-delay: -2s; }
.tl-float:nth-child(3) { animation-delay: -4s; }
@keyframes tl-bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .tl-float { animation: none; } }

/* ---------- Sections ---------- */
.tl-section { padding: 48px 0 0; }
.tl-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.tl-section-head h2 { font-size: clamp(22px, 2.3vw, 30px); margin: 0; }
.tl-section-head p { color: var(--muted); margin: 4px 0 0; }
.tl-section-head .tl-more { margin-left: auto; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.tl-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tl-grid.tight { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* ---------- Job card ---------- */
.tl-job { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; min-width: 0; }
.tl-job:hover { border-color: #9DBBF7; }
.tl-job-head { display: flex; gap: 12px; align-items: flex-start; }
.tl-job h3 { font-size: 16px; line-height: 1.3; margin: 0; }
.tl-job h3 a { color: var(--ink); text-decoration: none; }
.tl-job h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.tl-job .tl-co { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: #3B4763; }
.tl-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tl-meta i { color: var(--muted-2); width: 14px; text-align: center; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-tag { font-size: 12px; font-weight: 600; background: var(--line-2); color: #3B4763; border-radius: 8px; padding: 4px 9px; }
.tl-job-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.tl-job-foot .tl-pay { color: var(--ink); font-weight: 800; font-size: 14px; }
.tl-job .tl-save { position: relative; z-index: 2; margin-left: auto; width: 34px; height: 34px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.tl-job .tl-save.on, .tl-save.on { color: var(--bad); border-color: #F7C6C6; background: #FFF5F5; }
.tl-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 700; font-size: 12px; }
.tl-verified i { color: var(--brand); }

/* Company logo tile / avatar */
.tl-av { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-dark); display: grid; place-items: center; font-weight: 800; font-size: 16px; overflow: hidden; border: 1px solid var(--line); }
.tl-av img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.tl-av.sm { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
.tl-av.lg { width: 72px; height: 72px; border-radius: 20px; font-size: 26px; }
.tl-av.round { border-radius: 999px; }
.tl-av.c1 { background: #E8F0FF; color: #1E40AF; } .tl-av.c2 { background: #E6F7F0; color: #047857; } .tl-av.c3 { background: #FEF3DC; color: #8A5A00; }
.tl-av.c4 { background: #F3E8FF; color: #6B21A8; } .tl-av.c5 { background: #FDECEC; color: #B42318; } .tl-av.c6 { background: #E0F7FB; color: #0E7490; }

/* ---------- KPI tiles ---------- */
.tl-kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.tl-kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s; }
a.tl-kpi:hover { border-color: #BFD3FB; color: var(--ink); }
.tl-kpi .tl-kpi-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; background: var(--brand-tint); color: var(--brand); flex: none; }
.tl-kpi.ok .tl-kpi-ic { background: var(--ok-tint); color: var(--ok-ink); }
.tl-kpi.warn .tl-kpi-ic { background: var(--warn-tint); color: var(--warn-ink); }
.tl-kpi.bad .tl-kpi-ic { background: var(--bad-tint); color: var(--bad-ink); }
.tl-kpi strong { font-size: 24px; letter-spacing: -.03em; line-height: 1.1; display: block; }
.tl-kpi small { color: var(--muted); font-weight: 600; font-size: 12.5px; }

/* Welcome banner */
.tl-banner { position: relative; overflow: hidden; border-radius: 24px; padding: 26px 28px; color: #fff; background: var(--brand);  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.tl-banner h1, .tl-banner h2 { color: #fff; margin: 0; }
.tl-banner p { color: #DCE7FF; margin: 4px 0 0; }
.tl-banner .tl-banner-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
body.tl .tl-banner .btn.outline { background: rgb(255 255 255 / 12%); color: #fff; border-color: rgb(255 255 255 / 35%); }
body.tl .tl-banner .btn.outline:hover { background: rgb(255 255 255 / 22%); color: #fff; }

/* ---------- Pipeline board ---------- */
.tl-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.tl-col { background: #EEF2FA; border-radius: 18px; padding: 10px; display: flex; flex-direction: column; gap: 10px; min-height: 160px; transition: background .15s, box-shadow .15s; }
.tl-col.drop { background: var(--brand-tint); box-shadow: inset 0 0 0 2px #9DBBF7; }
.tl-col-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px; font-weight: 800; font-size: 13px; }
.tl-col-head .n { margin-left: auto; background: #fff; border-radius: 99px; padding: 1px 9px; font-size: 12px; color: var(--muted); }
.tl-col-head .dot { width: 9px; height: 9px; border-radius: 99px; background: var(--brand); }
.tl-col[data-stage=shortlisted] .dot { background: #8B5CF6; } .tl-col[data-stage=interview] .dot { background: var(--warn); }
.tl-col[data-stage=offer] .dot { background: #06B6D4; } .tl-col[data-stage=hired] .dot { background: var(--ok); }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 2px rgb(15 23 42 / 5%); cursor: grab; text-decoration: none; color: var(--ink); }
.tl-card:hover { border-color: #BFD3FB; color: var(--ink); }
.tl-card.dragging { opacity: .5; }
.tl-card .tl-card-top { display: flex; gap: 10px; align-items: center; }
.tl-card strong { font-size: 14px; }
.tl-card small { color: var(--muted); }

/* ---------- Timeline ---------- */
.tl-timeline { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; display: flex; flex-direction: column; gap: 16px; }
.tl-timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--line); border-radius: 2px; }
.tl-timeline li { position: relative; }
.tl-timeline li::before { content: ""; position: absolute; left: -20px; top: 4px; width: 12px; height: 12px; border-radius: 99px; background: #fff; border: 3px solid var(--brand); }
.tl-timeline li.ok::before { border-color: var(--ok); } .tl-timeline li.bad::before { border-color: var(--bad); } .tl-timeline li.muted::before { border-color: var(--muted-2); }
.tl-timeline .when { font-size: 12px; color: var(--muted); }

/* ---------- Tabs, segmented, toggles ---------- */
.tl-tabs { display: flex; gap: 4px; background: #EAEFF8; border-radius: 14px; padding: 4px; overflow-x: auto; scrollbar-width: none; align-self: flex-start; max-width: 100%; }
.tl-tabs a, .tl-tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.tl-tabs a.on, .tl-tabs button.on, .tl-tabs [aria-selected=true] { background: #fff; color: var(--brand-dark); box-shadow: 0 1px 3px rgb(15 23 42 / 10%); }
.tl-tabs .n { background: var(--brand-tint); color: var(--brand-ink); border-radius: 99px; padding: 0 7px; font-size: 11px; }
.tl-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; flex-direction: row !important; }
.tl-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tl-switch .tl-knob { width: 46px; height: 26px; border-radius: 99px; background: #CBD5E1; position: relative; transition: background .2s; flex: none; }
.tl-switch .tl-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 99px; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 25%); transition: transform .2s var(--ease); }
.tl-switch input:checked + .tl-knob { background: var(--ok); }
.tl-switch input:checked + .tl-knob::after { transform: translateX(20px); }
.tl-switch input:focus-visible + .tl-knob { outline: 3px solid rgb(37 99 235 / 35%); outline-offset: 2px; }
.tl-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.tl-seg label { flex-direction: row; padding: 9px 14px; cursor: pointer; font-weight: 600; color: var(--muted); border-left: 1px solid var(--line); }
.tl-seg label:first-child { border-left: 0; }
.tl-seg input { position: absolute; opacity: 0; }
.tl-seg label:has(input:checked) { background: var(--brand-tint); color: var(--brand-dark); }

/* ---------- Choice cards (plans, request types) ---------- */
.tl-choices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.tl-choice { position: relative; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; font-weight: 500; }
.tl-choice input { position: absolute; opacity: 0; }
.tl-choice:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(37 99 235 / 12%); }
.tl-choice:has(input:focus-visible) { outline: 3px solid rgb(37 99 235 / 35%); }
.tl-choice strong { font-size: 15px; }
.tl-plan { border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: #fff; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); position: relative; }
.tl-plan.hot { border: 2px solid var(--brand); box-shadow: none; }
.tl-plan .tl-ribbon { position: absolute; top: -12px; left: 24px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 99px; padding: 4px 12px; }
.tl-plan .tl-price { font-size: 36px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tl-plan .tl-price small { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.tl-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tl-plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.tl-plan li i { color: var(--ok); margin-top: 3px; }

/* ---------- Progress ---------- */
.tl-progress { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.tl-progress > span { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .6s var(--ease); }
.tl-ring { --p: 50; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--line-2) 0); display: grid; place-items: center; flex: none; }
.tl-ring span { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.tl-steps { display: flex; flex-direction: column; gap: 10px; counter-reset: s; }
.tl-steps > * { display: flex; gap: 12px; align-items: flex-start; }
.tl-steps .tl-step-n { width: 28px; height: 28px; border-radius: 99px; background: var(--brand-tint); color: var(--brand); font-weight: 800; display: grid; place-items: center; flex: none; font-size: 13px; }
.tl-steps .done .tl-step-n { background: var(--ok); color: #fff; }

/* ---------- Lists ---------- */
.tl-list { display: flex; flex-direction: column; }
.tl-list > a, .tl-list > div { display: flex; gap: 12px; align-items: center; padding: 14px 4px; border-top: 1px solid var(--line-2); text-decoration: none; color: var(--ink); min-width: 0; }
.tl-list > :first-child { border-top: 0; }
.tl-list > a:hover { background: #F8FAFF; border-radius: 12px; }
.tl-list .grow { flex: 1; min-width: 0; }
.tl-list .grow strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-list .grow small { color: var(--muted); }

/* ---------- Empty state ---------- */
.tl-empty { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); }
.tl-empty .tl-empty-ic { width: 72px; height: 72px; border-radius: 24px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-size: 28px; margin-bottom: 6px; }
.tl-empty h3 { color: var(--ink); margin: 0; }

/* ---------- Dialog / sheet ---------- */
dialog.tl-dialog { border: 0; border-radius: 22px; padding: 0; width: min(560px, calc(100% - 24px)); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog.tl-dialog::backdrop { background: rgb(11 23 54 / 45%); backdrop-filter: blur(3px); }
dialog.tl-dialog[open] { animation: tl-pop .22s var(--ease); }
@keyframes tl-pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.tl-dialog-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.tl-dialog-head h2 { font-size: 18px; margin: 0; }
.tl-dialog-head .tl-x { margin-left: auto; border: 0; background: var(--line-2); width: 34px; height: 34px; border-radius: 99px; cursor: pointer; color: var(--muted); }
.tl-dialog-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; max-height: 70vh; overflow: auto; }
.tl-dialog-foot { padding: 14px 20px; border-top: 1px solid var(--line-2); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 640px) { dialog.tl-dialog { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; } }

/* Toast */
.tl-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; display: flex; gap: 10px; align-items: center; animation: tl-pop .25s var(--ease); }

/* ---------- Detail page layout ---------- */
.tl-detail { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.tl-detail > .tl-primary { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.tl-detail > .tl-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.tl-prose { line-height: 1.7; color: #26314B; white-space: pre-line; }
.tl-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tl-fact { background: var(--paper); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.tl-fact small { color: var(--muted); font-weight: 600; font-size: 12px; }
.tl-fact strong { font-size: 14px; }
.tl-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin: 18px 0 12px; }
.tl-crumbs a { color: var(--muted); text-decoration: none; }
.tl-crumbs a:hover { color: var(--brand); }

/* ---------- Filters ---------- */
.tl-filters { display: flex; flex-direction: column; gap: 14px; }
.tl-filters h3 { font-size: 14px; margin: 0; }
.tl-filter-toggle { display: none; }
@media (max-width: 900px) {
  .tl-filter-toggle { display: inline-flex; }
  .tl-filters-panel { display: none; }
  .tl-filters-panel.open { display: flex; }
}

/* ---------- Auth (sign-in) ---------- */
.tl-auth { min-height: calc(100vh - 68px); display: flex; align-items: stretch; }
.tl-auth-art { flex: 1 1 46%; background: var(--brand); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.tl-auth-art h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.tl-auth-art p { color: #DCE7FF; }
.tl-auth-form { flex: 1 1 54%; display: grid; place-items: center; padding: 40px 20px; }
.tl-auth-form .card { width: min(440px, 100%); padding: 32px; }
@media (max-width: 860px) { .tl-auth-art { display: none; } }
.tl-otp { letter-spacing: .5em; text-align: center; font-size: 22px !important; font-weight: 800; }

/* ---------- Misc ---------- */
.tl-divider { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.tl-divider::before, .tl-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tl-kbd { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--line-2); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.tl-idcard { border-radius: 20px; padding: 18px; color: #fff; background: var(--navy); display: flex; flex-direction: column; gap: 10px;  }
.tl-idcard .mono { font-size: 20px; letter-spacing: .08em; }
.tl-repeat-item { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 12px; position: relative; background: #FBFCFF; }
.tl-repeat-item .tl-remove { position: absolute; top: 10px; right: 10px; }
.tl-sticky-bar { position: sticky; bottom: 0; z-index: 20; background: rgb(255 255 255 / 92%); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 12px 0; margin-top: 8px; }
.tl-pill-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); flex: none; }
.tl-hide { display: none !important; }
@media (max-width: 640px) { body.tl .panel-main { padding: 16px; } body.tl .panel-top { padding: 10px 16px; } .tl-banner { padding: 20px; } .tl-hide-sm { display: none !important; } }
@media (prefers-reduced-motion: reduce) { body.tl *, body.tl *::before, body.tl *::after { transition: none !important; animation: none !important; } }

/* Component links keep their own colours (body.tl a is blue) */
body.tl .tl-nav a { color: #2A3550; }
body.tl .tl-nav a:hover, body.tl .tl-nav a.on { color: var(--brand-dark); }
body.tl .tl-chip { color: #2A3550; }
body.tl .tl-chip:hover, body.tl .tl-chip.on { color: var(--brand-dark); }
body.tl a.tl-kpi, body.tl a.tl-card, body.tl .tl-list > a, body.tl a.tl-job, body.tl .tl-tabbar a { color: var(--ink); }
body.tl .tl-tabbar a { color: var(--muted); }
body.tl .tl-tabbar a.on { color: var(--brand); }
body.tl .tl-tabs a { color: var(--muted); }
body.tl .tl-tabs a.on { color: var(--brand-dark); }
body.tl .tl-foot a { color: #C9D6F2; }
body.tl .tl-foot a:hover { color: #fff; }
body.tl .tl-foot a.tl-logo { display: inline-flex; color: #fff; }
body.tl .tl-foot a.tl-logo .tl-word b { color: #7FB0FF; }
body.tl .tl-logo { color: var(--ink); }
body.tl .tl-section-head .tl-more { color: var(--brand-ink); }
/* VeproHR employee app tab bar */
body.tl .hr-tabs a { color: var(--muted); }
body.tl .hr-tabs a.on { color: var(--brand); }
/* Bharat Recruit employer pages (employer.bharatrecruit.com and /recruit in the VeproHR panel) */
body.tl .tl-board { min-height: 320px; }
body.tl details > summary.btn { list-style: none; }
body.tl .tl-banner :is(h1, h2, h3) { color: #fff; }
/* Panel footer is fixed: keep it opaque, aligned with the menu, and keep sticky save bars above it */
body.tl .panel-foot { background: var(--paper); left: 256px; }
@media (max-width: 860px) { body.tl .panel-top { position: static; } body.tl .panel-foot { left: 0; position: static; } body.tl .panel-main .tl-sticky-bar { bottom: 0; } }
body.tl .panel-main { padding-bottom: 64px; }
body.tl .panel-main .tl-sticky-bar { bottom: 40px; z-index: 26; background: var(--paper); padding: 10px 0; }
