/* HIRE ME + Jobs + Employer portal (Er Dk 2026-10-21) -- public website pages (base_site.html, design.css tokens) */
.hm-wrap { padding: 40px var(--gutter, 20px) 56px; max-width: 1120px; }
.hm-hero { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.hm-hero h1 { font-size: 32px; margin: 0 0 6px; }
.hm-hero p { margin: 0; color: var(--ink-mute, #5b6474); font-size: 15px; max-width: 640px; }
.hm-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-filter { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr auto; gap: 10px; padding: 14px; border: 1px solid var(--line, #e3e7ee);
  border-radius: 14px; background: #fff; margin-bottom: 16px; }
.hm-filter select, .hm-filter input { height: 40px; border: 1px solid var(--line, #e3e7ee); border-radius: 9px; padding: 0 10px; font: inherit; background: #fff; width: 100%; }
.hm-count { color: var(--ink-mute, #5b6474); font-size: 13.5px; margin: 0 0 12px; }
.hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.hm-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line, #e3e7ee); border-radius: 16px; background: #fff;
  color: inherit; text-decoration: none; transition: box-shadow .15s, border-color .15s, transform .15s; }
.hm-card:hover { border-color: #0A3868; box-shadow: 0 8px 22px rgba(10, 56, 104, .08); transform: translateY(-1px); }
.hm-top { display: flex; gap: 12px; align-items: center; }
.hm-av { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #eaf1fb; color: #0A3868; display: grid; place-items: center;
  font-weight: 800; font-size: 19px; }
.hm-name { font-weight: 700; font-size: 16px; color: #0A3868; }
.hm-sub { font-size: 12.5px; color: var(--ink-mute, #5b6474); }
.hm-head { font-size: 13.5px; color: #33455e; line-height: 1.45; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.hm-chips span { font-size: 11.5px; padding: 2px 9px; border-radius: 999px; background: #f2f5fa; border: 1px solid #e3e7ee; color: #33455e; }
.hm-chips .hm-cert { background: #e7f5ea; border-color: #bfe3c5; color: #1f6b2c; font-weight: 700; }
.hm-open { margin-top: auto; font-weight: 700; font-size: 13px; color: #0A3868; }
.hm-empty { padding: 40px 20px; text-align: center; color: var(--ink-mute, #5b6474); border: 1px dashed var(--line, #e3e7ee); border-radius: 14px; background: #fff; }
.hm-pages { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.hm-pages a, .hm-pages span { padding: 6px 12px; border: 1px solid var(--line, #e3e7ee); border-radius: 8px; text-decoration: none; color: inherit; background: #fff; }
.hm-pages span { background: #0A3868; color: #fff; border-color: #0A3868; }

/* profile */
.hp { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.hp-card { background: #fff; border: 1px solid var(--line, #e3e7ee); border-radius: 16px; padding: 20px 22px; margin-bottom: 16px; }
.hp-card h2 { font-size: 17px; margin: 0 0 10px; }
/* logo red #F1181C -> maroon #5E0A14 background (Er Dk 2026-10-21 chose "Laal + Maroon"), maroon->red strip below, white "Certified" chip */
.hp-hero { position: relative; overflow: hidden; display: flex; gap: 18px; align-items: center; padding: 22px 22px 26px; border-radius: 16px; color: #fff;
  margin-bottom: 16px; background: linear-gradient(110deg, #F1181C 0%, #B3121F 35%, #5E0A14 100%); }
.hp-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #5E0A14, #F1181C); }
.hp-hero .hp-tags .hp-cert { background: #fff; color: #C8102E; font-weight: 600; }
.hp-hero .hm-av { color: #8E0F1B; width: 92px; height: 92px; font-size: 30px; border: 3px solid rgba(255,255,255,.8); }
.hp-hero h1 { margin: 0; font-size: 26px; color: #fff; }
.hp-hero p { margin: 4px 0 0; opacity: .9; font-size: 14px; }
.hp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hp-tags span { background: rgba(255,255,255,.16); border-radius: 999px; padding: 3px 11px; font-size: 12.5px; }
.hp-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.hp-list .hp-cert-row { list-style: none; margin-left: -18px; display: flex; gap: 14px; align-items: center; }
.hp-badge { width: 104px; height: 104px; flex: none; object-fit: contain; display: block; transition: transform .15s; }
.hp-badge:hover { transform: scale(1.05); }
.hp-list small { display: block; color: var(--ink-mute, #5b6474); font-size: 12.5px; }
.hp-side { position: sticky; top: 16px; }
.hp-hire { text-align: center; }
.hp-hire p { font-size: 13.5px; color: var(--ink-mute, #5b6474); margin: 0 0 12px; }
.hp-safe { font-size: 12px; color: var(--ink-mute, #5b6474); margin-top: 10px; }

/* popup */
.hm-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; border: 0; border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 24px 60px rgba(10, 56, 104, .3); }
.hm-dlg::backdrop { background: rgba(16, 24, 40, .5); }
.hm-dlg h3 { margin: 0 0 4px; font-size: 19px; }
.hm-dlg .hm-x { float: right; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #75757f; }
.hm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.hm-grid2 .wide { grid-column: 1 / -1; }
.hm-dlg label, .hm-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: #33455e; }
.hm-dlg input, .hm-dlg textarea, .hm-form input, .hm-form textarea, .hm-form select { font: inherit; font-weight: 400; border: 1px solid var(--line, #d6dbe7);
  border-radius: 9px; padding: 9px 11px; width: 100%; box-sizing: border-box; background: #fff; }
.hm-step { padding: 12px; border-radius: 12px; background: #f4f7fc; border: 1px solid #dde7f5; margin: 12px 0; }
.hm-msg { font-size: 13.5px; font-weight: 600; margin: 8px 0 0; }
.hm-msg.err { color: #b42318; } .hm-msg.ok { color: #1f6b2c; }
.hm-done { padding: 18px; border-radius: 12px; background: #ecf8ef; border: 1px solid #bfe3c5; color: #1f6b2c; font-weight: 600; }

/* jobs */
.jb-list { display: grid; gap: 12px; }
.jb-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; padding: 16px 18px; border: 1px solid var(--line, #e3e7ee);
  border-radius: 14px; background: #fff; color: inherit; text-decoration: none; }
.jb-card:hover { border-color: #0A3868; }
.jb-card h3 { margin: 0 0 4px; font-size: 17px; color: #0A3868; }
.jb-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-mute, #5b6474); }
.jb-side { text-align: right; font-size: 12.5px; color: var(--ink-mute, #5b6474); }
.jb-desc { white-space: pre-line; font-size: 14.5px; line-height: 1.6; color: #33455e; }
.hm-form { display: grid; gap: 12px; }
.hm-form fieldset { border: 1px solid var(--line, #e3e7ee); border-radius: 14px; padding: 16px; margin: 0; display: grid; gap: 10px; background: #fff; }
.hm-form legend { font-weight: 700; padding: 0 6px; }
.hm-sw { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 12px; max-height: 220px; overflow: auto; padding: 4px;
  border: 1px solid var(--line, #e3e7ee); border-radius: 10px; }
.hm-sw label { display: flex; gap: 6px; align-items: center; font-weight: 400; font-size: 13px; }
.hm-sw input { width: auto; }
.hm-hp { position: absolute; left: -9999px; }

/* employer portal */
.em-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.em-st { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #f1f1ef; color: #4a4a52; }
.em-st.pending { background: #fff1dc; color: #8a5300; } .em-st.open { background: #e7f5ea; color: #1f6b2c; }
.em-st.rejected, .em-st.fraud { background: #fdecea; color: #b42318; } .em-st.closed, .em-st.expired { background: #eef2f8; color: #3d4a5c; }
.em-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.em-table th, .em-table td { padding: 10px 8px; border-bottom: 1px solid var(--line, #e3e7ee); text-align: left; vertical-align: top; }
.em-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-mute, #5b6474); }
@media (max-width: 860px) {
  .hm-filter { grid-template-columns: 1fr 1fr; }
  .hp { grid-template-columns: 1fr; }
  .hp-side { position: static; }
}
@media (max-width: 520px) {
  .hm-filter, .hm-grid2 { grid-template-columns: 1fr; }
  .hp-hero { flex-direction: column; text-align: center; }
  .jb-card { grid-template-columns: 1fr; } .jb-side { text-align: left; }
}

/* ===== 2026-10-29 (Er Dk: "hire me, post job, see job ka design khali khali lag raha hai") -- website/_hire_info.html ===== */
.hx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: -72px 0 26px; position: relative; z-index: 2;
  background: #fff; border: 1px solid var(--line, #e3e7ee); border-radius: 16px; box-shadow: 0 14px 34px rgba(10, 56, 104, .10); overflow: hidden; }
.hx-stats div { padding: 16px 18px; text-align: center; border-left: 1px solid #eef1f6; } .hx-stats div:first-child { border-left: 0; }
.hx-stats b { display: block; font: 800 26px/1.1 'Space Grotesk', Inter, sans-serif; color: #0A3868; letter-spacing: -.02em; }
.hx-stats span { font-size: 12.5px; color: var(--ink-mute, #5b6474); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.hx-sec { margin-top: 44px; }
.hx-sec > h2, .hx-cta h2 { font-size: clamp(21px, 2.3vw, 27px); letter-spacing: -.02em; margin: 0 0 6px; color: #0f1d33; }
.hx-lead { margin: 0 0 18px; color: var(--ink-mute, #5b6474); }
.hx-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #fde8e9, #fff3f3); color: #C8102E; }
.hx-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hx-ic.big { width: 64px; height: 64px; border-radius: 18px; } .hx-ic.big svg { width: 30px; height: 30px; }
.hx-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.hx-steps li { position: relative; background: #fff; border: 1px solid var(--line, #e3e7ee); border-radius: 16px; padding: 20px; }
.hx-steps li em { position: absolute; right: 16px; top: 12px; font: 800 38px/1 'Space Grotesk', sans-serif; font-style: normal; color: #eef2f8; }
.hx-steps h3, .hx-why h3 { margin: 12px 0 4px; font-size: 16.5px; color: #0A3868; } .hx-steps p, .hx-why p { margin: 0; font-size: 14px; line-height: 1.55; color: #4a5568; }
.hx-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.hx-why > div { background: linear-gradient(180deg, #fff, #f8fafd); border: 1px solid var(--line, #e3e7ee); border-radius: 16px; padding: 20px; }
.hx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hx-chips a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #dfe5ee; color: #26364f; font-size: 13.5px; text-decoration: none; transition: .15s; }
.hx-chips a:hover, .hx-chips a.on { border-color: #0A3868; background: #0A3868; color: #fff; }
.hx-faq details { background: #fff; border: 1px solid var(--line, #e3e7ee); border-radius: 12px; padding: 0 18px; margin-top: 10px; }
.hx-faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: #0f1d33; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.hx-faq summary::-webkit-details-marker { display: none; } .hx-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: #C8102E; }
.hx-faq details[open] summary::after { content: "–"; } .hx-faq details p { margin: 0 0 14px; color: #4a5568; line-height: 1.6; font-size: 14.5px; }
.hx-cta { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: 28px 30px; border-radius: 20px;
  color: #fff; background: radial-gradient(circle at 85% 20%, rgba(241,24,28,.35), transparent 45%), linear-gradient(120deg, #0A3868, #072747); }
.hx-cta h2 { color: #fff; } .hx-cta p { margin: 0; color: rgba(255,255,255,.82); max-width: 620px; }
.hx-cta-b, .hx-empty-b, .hx-box-b { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-btn-w { background: #fff; color: #0A3868; border: 0; } .hx-btn-w:hover { background: #eef3fa; }
.hx-empty { text-align: center; padding: 38px 22px; border-radius: 18px; background: linear-gradient(180deg, #fff, #f7f9fc); border: 1px solid var(--line, #e3e7ee); }
.hx-empty .hx-ic { margin: 0 auto 12px; } .hx-empty h3 { margin: 0 0 6px; font-size: 19px; color: #0f1d33; }
.hx-empty p { margin: 0 auto 16px; max-width: 560px; color: #4a5568; line-height: 1.6; } .hx-empty-b { justify-content: center; }
.hx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hx-box { background: #fff; border: 1px solid var(--line, #e3e7ee); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; }
.hx-box h2 { margin: 8px 0 10px; font-size: 21px; color: #0f1d33; }
.hx-tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #e8f0fb; color: #0A3868; }
.hx-tag.red { background: #fde8e9; color: #B3121F; }
.hx-list { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 10px; color: #4a5568; font-size: 14.5px; line-height: 1.55; } .hx-list b { color: #0f1d33; }
.hx-box-b { margin-top: auto; }
/* post a job */
.hx-post { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.hx-side { position: sticky; top: 16px; display: grid; gap: 14px; }
.hx-card { background: #fff; border: 1px solid var(--line, #e3e7ee); border-radius: 16px; padding: 18px; }
.hx-card h3 { margin: 0 0 12px; font-size: 16px; color: #0f1d33; }
.hx-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hx-mini li { display: flex; gap: 11px; align-items: flex-start; } .hx-mini .hx-ic { width: 36px; height: 36px; border-radius: 10px; } .hx-mini .hx-ic svg { width: 18px; height: 18px; }
.hx-mini b { display: block; font-size: 14px; color: #0A3868; } .hx-mini small { display: block; font-size: 12.5px; color: #5b6474; line-height: 1.45; }
.hx-tips { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 13.5px; color: #4a5568; line-height: 1.5; }
.hx-help p { margin: 0 0 8px; font-size: 13.5px; color: #5b6474; } .hx-help a { display: block; font-weight: 600; color: #0A3868; padding: 3px 0; text-decoration: none; }
.hm-form legend { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #0f1d33; padding: 0 6px; }
.hm-form legend em { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: #C8102E; color: #fff; display: grid; place-items: center; font-size: 12.5px; }
.hx-swhead { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .hx-swn { margin-left: auto; font-size: 12.5px; font-weight: 700; color: #1f6b2c; }
.hx-swq { width: 100%; box-sizing: border-box; margin: 8px 0; height: 38px; border: 1px solid var(--line, #d6dbe7); border-radius: 9px; padding: 0 11px; font: inherit; }
.hm-sw label[hidden] { display: none !important; }
.hx-submit { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; } .hx-submit small { color: #5b6474; font-size: 12.5px; }
@media (max-width: 980px) { .hx-why { grid-template-columns: 1fr 1fr; } .hx-post { grid-template-columns: 1fr; } .hx-side { position: static; } }
@media (max-width: 680px) {
  .hx-steps, .hx-why, .hx-two { grid-template-columns: 1fr; }
  .hx-stats { margin-top: -40px; grid-template-columns: 1fr 1fr; } .hx-stats div:nth-child(3) { border-left: 0; } .hx-stats div:nth-child(n+3) { border-top: 1px solid #eef1f6; }
  .hx-cta { padding: 22px; }
}
.jb-filter { grid-template-columns: 1.5fr 1fr 1fr auto; }
@media (max-width: 900px) { .jb-filter { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .jb-filter { grid-template-columns: 1fr; } }
