/* ============================================================
   ACCOUNT V2: jobs board + sign up / log in (owner approved the
   mock-ups 8 Nov 2026). Preview only: every rule is scoped under
   html.app-v2, so nothing changes without the class.
   Prefix: .acc2-  (the markup is added by app.js only under the class)
   Uses the role tokens from styles.css.
   ============================================================ */

/* ---------------- jobs board ---------------- */
html.app-v2 .acc2-jobs { color: var(--ink-navy); }
html.app-v2 .acc2-jobs-hero { background: var(--naija-deep-green); color: #F2F7F2; border-radius: 28px; padding: 32px clamp(18px, 3vw, 32px) 28px; }
html.app-v2 .acc2-jobs-kicker { font: 700 13px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--soft-mint); margin-bottom: 10px; }
html.app-v2 .acc2-jobs-hero h2 { font: 800 clamp(28px, 3.4vw, 40px)/1.08 Poppins, sans-serif; letter-spacing: -.02em; margin: 0 0 10px; color: #fff; }
html.app-v2 .acc2-jobs-hero p { margin: 0 0 22px; color: #C9DED1; font-size: 17px; line-height: 1.55; max-width: 640px; }
html.app-v2 .acc2-jobs-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
html.app-v2 .acc2-jobs-search { flex: 2 1 320px; min-width: 0; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; background: #fff; border-radius: 14px; cursor: text; }
html.app-v2 .acc2-jobs-search span { display: flex; }
html.app-v2 .acc2-jobs-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 500 16px Inter, sans-serif; color: var(--ink-navy); height: 48px; }
html.app-v2 .acc2-jobs-search:focus-within { box-shadow: 0 0 0 3px var(--proof-gold); }
html.app-v2 .acc2-jobs-cat { flex: 1 1 180px; min-width: 0; height: 52px; border: 0; border-radius: 14px; padding: 0 14px; font: 500 15px Inter, sans-serif; background: #fff; color: var(--ink-navy); }
html.app-v2 .acc2-jobs-remote { flex: none; height: 52px; padding: 0 18px; border-radius: 14px; cursor: pointer; font: 600 15px Inter, sans-serif; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
html.app-v2 .acc2-jobs-remote.on { background: var(--soft-mint); color: var(--naija-deep-green); border-color: var(--soft-mint); }
html.app-v2 .acc2-jobs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
html.app-v2 .acc2-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; font: 600 14px Inter, sans-serif; background: transparent; color: #F2F7F2; border: 1px solid rgba(255,255,255,.35); }
html.app-v2 .acc2-chip:hover { border-color: #fff; }
html.app-v2 .acc2-chip.on { background: #fff; color: var(--naija-deep-green); border-color: #fff; }
html.app-v2 .acc2-jobs-hero :focus-visible { outline: 3px solid var(--proof-gold); outline-offset: 3px; }

html.app-v2 .acc2-jobs-body { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-top: 24px; }
html.app-v2 .acc2-jobs-list { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
html.app-v2 .acc2-jobs-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
html.app-v2 .acc2-jobs-head > b { font-size: 15px; }
html.app-v2 .acc2-jobs-alerts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html.app-v2 .acc2-jobs-alerts label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; }
html.app-v2 .acc2-jobs-alerts input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--action-green); margin: 0; }
html.app-v2 .acc2-jobs-alerts select { height: 40px; border: 1px solid var(--slate-300); border-radius: 10px; padding: 0 10px; font: 500 14px Inter, sans-serif; background: #fff; }
html.app-v2 .acc2-jobs-cards { display: flex; flex-direction: column; gap: 12px; }
html.app-v2 .acc2-jobs-empty { background: #fff; border: 1px dashed var(--slate-300); border-radius: 18px; padding: 28px 20px; text-align: center; color: var(--slate-700); font-size: 15px; }
html.app-v2 .acc2-job { display: flex; flex-direction: column; gap: 8px; text-align: left; width: 100%; padding: 18px 20px; border-radius: 18px; cursor: pointer; font-family: Inter, sans-serif; color: var(--ink-navy); background: #fff; border: 2px solid var(--slate-200); transition: border-color .15s ease, box-shadow .15s ease; }
html.app-v2 .acc2-job:hover { border-color: #A7D7B5; }
html.app-v2 .acc2-job.on { border-color: var(--action-green); box-shadow: 0 18px 36px -28px rgba(11,61,46,.55); }
html.app-v2 .acc2-job-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
html.app-v2 .acc2-job-top b { font: 600 18px/1.3 Poppins, sans-serif; }
html.app-v2 .acc2-pill { flex: none; font-size: 12px; font-weight: 700; color: var(--slate-700); background: var(--slate-100); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
html.app-v2 .acc2-pill.mint { color: #14532D; background: #DCFCE7; }
html.app-v2 .acc2-job-where { font-size: 14px; color: #475569; }
html.app-v2 .acc2-job-blurb { font-size: 14px; line-height: 1.55; color: var(--slate-700); }
html.app-v2 .acc2-job-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #475569; }
html.app-v2 .acc2-job-fit { font-weight: 700; color: var(--ink-navy); background: #FDE68A; padding: 3px 10px; border-radius: 999px; }
html.app-v2 .acc2-jobs-cards .ad-card { border-radius: 18px; }

html.app-v2 .acc2-jobs-pane { flex: 1.15 1 440px; min-width: 0; position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; background: #fff; border: 1px solid var(--slate-200); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
html.app-v2 .acc2-jobs-pane.hidden { display: none; }
html.app-v2 .acc2-pane-pills { display: flex; flex-wrap: wrap; gap: 8px; }
html.app-v2 .acc2-jobs-pane h2 { font: 700 28px/1.2 Poppins, sans-serif; margin: 0; }
html.app-v2 .acc2-jobs-pane h3 { font-size: 16px; margin: 6px 0 0; }
html.app-v2 .acc2-pane-where { margin: 0; font-size: 15px; color: #475569; }
html.app-v2 .acc2-pane-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
html.app-v2 .acc2-pane-acts .btn { min-height: 52px; padding: 0 22px; border-radius: 14px; font-size: 16px; display: inline-flex; align-items: center; }
html.app-v2 .acc2-pane-acts .btn.ghost { font-size: 15px; padding: 0 18px; }
html.app-v2 .acc2-pane-acts .tag { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; }
html.app-v2 .acc2-pane-note { background: #F8FAFC; border-radius: 16px; padding: 16px; font-size: 14px; line-height: 1.55; color: var(--slate-700); }
html.app-v2 .acc2-pane-note b { color: var(--ink-navy); }
html.app-v2 .acc2-pane-about { margin: 0; font-size: 15px; line-height: 1.7; color: var(--slate-700); white-space: pre-line; }
html.app-v2 .acc2-jobs-pane ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.7; color: var(--slate-700); }
html.app-v2 .acc2-pane-course { font-size: 14px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; color: var(--action-green); }
html.app-v2 .acc2-pane-course:hover { color: var(--naija-deep-green); }
html.app-v2 .acc2-pane-closes { margin: 0; font-size: 13px; color: #475569; }

/* No room for the pane: the cards open the full posting instead (app.js). */
@media (max-width: 1000px) {
  html.app-v2 .acc2-jobs-pane { display: none; }
}
@media (max-width: 640px) {
  html.app-v2 .acc2-jobs-hero { border-radius: 22px; padding: 24px 16px 20px; }
  html.app-v2 .acc2-jobs-hero p { font-size: 15px; margin-bottom: 16px; }
  html.app-v2 .acc2-jobs-search, html.app-v2 .acc2-jobs-cat { flex-basis: 100%; }
  html.app-v2 .acc2-jobs-remote { flex: 1 1 auto; }
  html.app-v2 .acc2-jobs-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  html.app-v2 .acc2-chip { flex: none; }
  html.app-v2 .acc2-job { padding: 16px; }
  html.app-v2 .acc2-job-top b { font-size: 17px; }
}

/* ---------------- sign up / log in ---------------- */
/* The same #authModal, turned into a full page: brand half + form half. */
html.app-v2 #authModal { padding: 0; background: var(--naija-deep-green); display: flex; flex-wrap: wrap; align-items: stretch; justify-content: stretch; overflow-y: auto; animation: none; z-index: 60; }
html.app-v2 #authModal.hidden { display: none; }
html.app-v2 .acc2-auth-brand { flex: 1 1 480px; min-width: 0; padding: 56px 64px; color: #F2F7F2; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; background: radial-gradient(circle at 15% 85%, rgba(134,239,172,.16) 0, transparent 45%), var(--naija-deep-green); }
html.app-v2 .acc2-auth-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; align-self: flex-start; }
html.app-v2 .acc2-auth-logo > span:first-child { display: flex; }
html.app-v2 .acc2-auth-word { font: 800 24px Poppins, sans-serif; color: #fff; }
html.app-v2 .acc2-auth-word span { color: var(--soft-mint); }
html.app-v2 .acc2-auth-h1 { font: 800 60px/1 Poppins, sans-serif; letter-spacing: -.03em; margin: 0 0 18px; color: #F2F7F2; }
html.app-v2 .acc2-auth-h1 span { color: var(--soft-mint); }
html.app-v2 .acc2-auth-lede { margin: 0 0 28px; font-size: 18px; line-height: 1.6; color: #C9DED1; max-width: 460px; }
html.app-v2 .acc2-auth-ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
html.app-v2 .acc2-auth-ticks li { display: flex; gap: 12px; align-items: center; }
html.app-v2 .acc2-auth-ticks li > span { flex: none; width: 28px; height: 28px; border-radius: 999px; background: rgba(134,239,172,.18); color: var(--soft-mint); display: flex; align-items: center; justify-content: center; font-weight: 800; }
html.app-v2 .acc2-auth-ticks li > span.gold { background: var(--proof-gold); color: var(--ink-navy); }
html.app-v2 .acc2-auth-org { font-size: 13px; color: #A7C4B5; }

html.app-v2 .acc2-auth-panel { flex: 1 1 520px; min-width: 0; background: #F6F8F5; padding: 56px 40px; display: flex; align-items: center; justify-content: center; }
html.app-v2 #authModal .modal { max-width: 460px; max-height: none; overflow: visible; border: 1px solid var(--slate-200); border-radius: 26px; padding: 34px; box-shadow: 0 30px 60px -36px rgba(15,23,42,.35); display: flex; flex-direction: column; gap: 16px; }
html.app-v2 #authModal .modal-close { top: 18px; right: 18px; width: 40px; height: 40px; }
html.app-v2 #authModal .auth-switch { display: none; }
html.app-v2 .acc2-auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: var(--slate-100); border-radius: 14px; padding: 4px; margin-right: 48px; }
html.app-v2 .acc2-auth-tabs button { min-height: 44px; border: 0; border-radius: 10px; cursor: pointer; font: 700 15px Inter, sans-serif; background: transparent; color: #475569; }
html.app-v2 .acc2-auth-tabs button[aria-selected="true"] { background: #fff; color: var(--naija-deep-green); box-shadow: 0 2px 6px rgba(15,23,42,.08); }
html.app-v2 #authModal #authTitle { font: 700 26px/1.2 Poppins, sans-serif; margin: 4px 0 0; }
html.app-v2 #authModal #authSubtitle { margin: -8px 0 0; font-size: 15px; color: #475569; }
html.app-v2 #authModal .form { margin-top: 0; gap: 14px; }
html.app-v2 #authModal .form label { font-size: 14px; font-weight: 600; color: var(--ink-navy); }
html.app-v2 #authModal .form .input { height: 50px; border: 1px solid var(--slate-300); border-radius: 12px; padding: 0 14px; font: 500 16px Inter, sans-serif; }
html.app-v2 #authModal .form select.input { padding: 0 10px; background: #fff; }
html.app-v2 #authModal .pw-wrap .input { padding-right: 52px; }
html.app-v2 #authModal .pw-eye { width: 44px; height: 44px; right: 3px; }
html.app-v2 .acc2-auth-hint { margin-top: -8px; font-size: 13px; color: #475569; }
html.app-v2 #authModal[data-mode="login"] .acc2-auth-hint { display: none; }
html.app-v2 #authModal .auth-consent { flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 500; line-height: 1.5; color: var(--slate-700); min-height: 44px; }
html.app-v2 #authModal .auth-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--action-green); }
html.app-v2 .acc2-auth-err { margin: 0; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.5; }
html.app-v2 #authModal #authSubmit { min-height: 54px; border-radius: 14px; font-size: 17px; }
html.app-v2 #authModal .auth-forgot { margin: -4px 0 0; text-align: center; }
html.app-v2 #authModal .auth-forgot .link-btn { min-height: 44px; font-size: 15px; font-weight: 600; color: var(--action-green); }

/* confirm-your-email: the notice becomes the whole card */
html.app-v2 #authModal[data-confirm="1"] .acc2-auth-tabs,
html.app-v2 #authModal[data-confirm="1"] #authTitle,
html.app-v2 #authModal[data-confirm="1"] #authSubtitle,
html.app-v2 #authModal[data-confirm="1"] #authForm,
html.app-v2 #authModal[data-confirm="1"] .auth-forgot { display: none; }
html.app-v2 #authModal #authConfirmNotice { margin: 0; background: none; border: 0; padding: 0; color: var(--slate-700); display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.6; }
html.app-v2 #authModal #authConfirmNotice.hidden { display: none; }
html.app-v2 #authModal #authConfirmNotice p { margin: 0 !important; }
html.app-v2 #authModal #authConfirmNotice p + p { font-size: 15px; color: #475569; }
html.app-v2 #authModal #authConfirmNotice .callout-title { font: 700 26px/1.2 Poppins, sans-serif; text-transform: none; letter-spacing: 0; color: var(--ink-navy); margin: 0; padding-right: 48px; }
html.app-v2 .acc2-auth-mail { width: 60px; height: 60px; border-radius: 18px; background: #DCFCE7; display: flex; align-items: center; justify-content: center; }
html.app-v2 .acc2-auth-confirm-acts { display: flex; flex-direction: column; gap: 10px; }
html.app-v2 .acc2-auth-confirm-acts .btn { min-height: 50px; border-radius: 14px; font-size: 16px; justify-content: center; }
html.app-v2 .acc2-auth-confirm-acts .btn.ghost { border: 1px solid var(--action-green); color: var(--action-green); background: #fff; }

@media (max-width: 760px) {
  html.app-v2 .acc2-auth-brand { flex-basis: 100%; padding: 20px 16px 22px; gap: 14px; }
  html.app-v2 .acc2-auth-h1 { font-size: 34px; margin-bottom: 8px; }
  html.app-v2 .acc2-auth-h1 br { display: none; }
  html.app-v2 .acc2-auth-lede { font-size: 15px; margin: 0; }
  html.app-v2 .acc2-auth-ticks, html.app-v2 .acc2-auth-org { display: none; }
  html.app-v2 .acc2-auth-panel { flex-basis: 100%; padding: 16px 16px 40px; align-items: flex-start; }
  html.app-v2 #authModal .modal { padding: 22px 18px; border-radius: 22px; }
  html.app-v2 #authModal .modal-close { top: 12px; right: 12px; }
}
