/* The employers' "post a job" page (/post-job): one short form, its own small stylesheet so a visitor from a
   Facebook ad gets a fast page on mobile data. Brand colours come from the page (--brand, --brand-dark). */
@font-face { font-family: 'Noto Sans Bengali'; src: url('/assets/noto-bengali-regular.ttf') format('truetype'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Noto Sans Bengali'; src: url('/assets/noto-bengali-bold.ttf') format('truetype'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Noto Sans Bengali'; src: url('/assets/noto-bengali-extrabold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
:root { --ink: #16201c; --muted: #5d6b65; --line: #e3e8e5; --soft: #f4f7f5; --error: #b3261e; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--soft); color: var(--ink); font-family: 'Noto Sans Bengali', system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
a { color: var(--brand); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; min-height: 34px; color: var(--ink); font-weight: 800; font-size: 20px; text-decoration: none; }
.logo img { height: 28px; width: auto; display: block; }
.bar-link { font-size: 14px; font-weight: 600; text-decoration: none; }

.hero { padding: 26px 16px 64px; background: var(--brand); color: #fff; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(28px, 7vw, 40px); font-weight: 800; line-height: 1.3; }
.hero h1 span { display: block; margin-top: 2px; font-size: .58em; font-weight: 700; color: rgba(255,255,255,.85); }
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: rgba(255,255,255,.92); }
.perks li::before { content: '✓ '; font-weight: 800; }

.card { max-width: 620px; margin: -44px auto 0; padding: 0 12px 28px; }
#job-form, .done { padding: 18px 16px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(17, 40, 30, .08); }
fieldset { margin: 0 0 6px; padding: 0; border: 0; min-width: 0; }
legend { margin-bottom: 6px; padding: 0; font-weight: 800; font-size: 16px; color: var(--brand-dark); }
legend small, .field small, summary small { color: var(--muted); font-weight: 400; font-size: 13px; }
.field { display: block; margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; line-height: 1.45; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { display: block; margin-top: 3px; color: var(--error); font-size: 13px; font-weight: 600; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.row.three { grid-template-columns: repeat(3, 1fr); }
.more { margin: 2px 0 12px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; }
.more summary { font-weight: 700; font-size: 14px; color: var(--brand-dark); cursor: pointer; }
.more[open] summary { margin-bottom: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 14px; cursor: pointer; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#captcha:not(:empty) { margin: 0 0 12px; }
.error { margin: 0 0 12px; padding: 10px 12px; border-radius: 11px; background: #fdecea; color: var(--error); font-size: 14px; font-weight: 600; }
.submit { display: block; width: 100%; padding: 14px; border: 0; border-radius: 13px; background: var(--brand); color: #fff; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
.submit:disabled { opacity: .65; cursor: wait; }
.submit.small { display: inline-block; width: auto; padding: 10px 18px; font-size: 15px; }
.after { margin: 8px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.done { text-align: center; }
.done-mark { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 28px; font-weight: 800; }
.done h2 { margin: 10px 0 4px; font-size: 20px; }
.done p { margin: 0 0 6px; color: var(--muted); }
.done strong { color: var(--ink); font-size: 18px; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px; }
.ghost { display: inline-flex; align-items: center; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 13px; font-weight: 700; text-decoration: none; }
.foot { padding: 4px 16px 24px; color: var(--muted); font-size: 13px; text-align: center; }
.foot p { margin: 2px 0; }
@media (min-width: 760px) {
  .hero { padding: 40px 16px 76px; }
  #job-form, .done { padding: 24px 26px; }
}
/* Pairs stay side by side on phones; the three option menus stack. */
@media (max-width: 480px) { .row.three { grid-template-columns: 1fr; } }
@media (max-width: 340px) { .row { grid-template-columns: 1fr; } }
