/* recruiter-plans page and the plan cards of job-posting.php (scope .jr.rp:is(.pg-plans,.pg-jp) / .pg-jp). Builds on recruiter-pages.css (rp-panel, rp-plan, rp-btn, rp-tag …). */

/* hero: navy band, centred, tabs sit on its lower edge */
.jr.rp:is(.pg-plans,.pg-jp) .pl-hero { padding: 52px 0 0; text-align: center; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-hero .rp-hero__lead { margin: 16px auto 0; max-width: 640px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-tabs { display: inline-flex; gap: 4px; margin: 32px auto 0; padding: 5px; background: rgba(255, 255, 255, .08); border: 1px solid var(--rp-band-line); border-bottom: 0; border-radius: 12px 12px 0 0; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 8px; background: transparent; color: var(--rp-band-ink-2); font: 600 .92rem/1 Geist, "Geist Fallback", system-ui, sans-serif; cursor: pointer; transition: background .15s, color .15s; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-tabs button .ic { width: 16px; height: 16px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-tabs button:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-tabs button[aria-selected="true"] { background: var(--rp-bg); color: var(--rp-ink); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.jr.rp:is(.pg-plans,.pg-jp) .pl-panel { padding: 32px 0 0; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-panel .rp-head { margin-bottom: 20px; }

/* plan grid: 4 across on desktop, 2 on tablets, 1 on phones */
.jr.rp:is(.pg-plans,.pg-jp) .pl-grid { display: grid; grid-template-columns: repeat(min(var(--n, 3), 4), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.jr.rp:is(.pg-plans,.pg-jp) .rp-plan__for { min-height: 3.1em; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-basic { background: linear-gradient(180deg, var(--rp-green-soft) 0, var(--rp-surface) 132px); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-custom { font-size: 1.5rem !important; }

/* quantity picker */
.jr.rp:is(.pg-plans,.pg-jp) .pl-qty { margin: 0 0 16px; padding: 14px; background: var(--rp-bg); border: 1px solid var(--rp-border); border-radius: 10px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-qty__label { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 600; color: var(--rp-ink-2); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-step { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; height: 40px; background: var(--rp-surface); border: 1px solid var(--rp-border-strong); border-radius: 8px; overflow: hidden; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-step button { display: grid; place-items: center; border: 0; background: none; color: var(--rp-ink-2); cursor: pointer; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-step button:hover:not(:disabled) { background: var(--rp-surface-2); color: var(--rp-ink); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-step button:disabled { color: var(--rp-ink-4); cursor: default; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-step input { width: 100%; min-width: 0; border: 0; border-left: 1px solid var(--rp-border); border-right: 1px solid var(--rp-border); text-align: center; font: 600 1rem/1 "Geist Mono", ui-monospace, monospace; color: var(--rp-ink); background: none; -moz-appearance: textfield; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-step input::-webkit-outer-spin-button, .jr.rp:is(.pg-plans,.pg-jp) .pl-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-step input:focus { outline: none; background: var(--rp-blue-soft); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-chips { display: flex; gap: 6px; margin-top: 8px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-chips button { flex: 1; height: 28px; border: 1px solid var(--rp-border); border-radius: 6px; background: var(--rp-surface); font: 600 .8rem/1 "Geist Mono", ui-monospace, monospace; color: var(--rp-ink-2); cursor: pointer; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-chips button:hover { border-color: var(--rp-border-strong); color: var(--rp-ink); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-chips button[aria-pressed="true"] { border-color: var(--rp-blue); background: var(--rp-blue-soft); color: var(--rp-blue-text); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 8px; margin: 12px 0 0; font-size: .84rem; color: var(--rp-ink-3); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-total b { font-size: 1.15rem; font-weight: 650; color: var(--rp-ink); font-variant-numeric: tabular-nums; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-total small { grid-column: 1 / -1; font-size: .74rem; color: var(--rp-ink-4); }

/* how live jobs work */
.jr.rp:is(.pg-plans,.pg-jp) .pl-how { margin-top: 20px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-how .rp-panel__h span { font-size: .8rem; color: var(--rp-ink-3); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-how__steps li { display: flex; gap: 12px; padding: 18px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-how__steps li + li { border-left: 1px solid var(--rp-border); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-how__n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--rp-blue-soft); color: var(--rp-blue-text); font: 600 .85rem/1 "Geist Mono", ui-monospace, monospace; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-how__steps h4 { font-size: .95rem; font-weight: 600; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-how__steps p { margin-top: 4px; font-size: .86rem; line-height: 1.55; color: var(--rp-ink-3); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-link { padding: 0; border: 0; background: none; color: var(--rp-blue-text); font: inherit; font-weight: 600; cursor: pointer; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-link:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .jr.rp:is(.pg-plans,.pg-jp) .pl-grid { grid-template-columns: repeat(min(var(--n, 3), 2), minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .jr.rp:is(.pg-plans,.pg-jp) .pl-hero { padding-top: 40px; }
  .jr.rp:is(.pg-plans,.pg-jp) .pl-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .jr.rp:is(.pg-plans,.pg-jp) .pl-tabs button { justify-content: center; padding: 0 6px; font-size: .82rem; gap: 6px; }
  .jr.rp:is(.pg-plans,.pg-jp) .pl-grid { grid-template-columns: minmax(0, 1fr); }
  .jr.rp:is(.pg-plans,.pg-jp) .rp-plan__for { min-height: 0; }
  .jr.rp:is(.pg-plans,.pg-jp) .pl-how__steps { grid-template-columns: minmax(0, 1fr); }
  .jr.rp:is(.pg-plans,.pg-jp) .pl-how__steps li + li { border-left: 0; border-top: 1px solid var(--rp-border); }
}
@media (max-width: 420px) {
  .jr.rp:is(.pg-plans,.pg-jp) .pl-tabs button .ic { display: none; }
}

/* keep the quantity box and button on one line across cards of different lengths */
.jr.rp:is(.pg-plans,.pg-jp) .pl-pack .pl-qty { margin-top: auto; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-pack .rp-btn { margin-top: 0; }

/* v2 job posting cards: Basic · Standard · Elite · Enterprise, shorter content */
.jr.rp:is(.pg-plans,.pg-jp) .pl-grid--jp .rp-plan__price { margin-top: 14px; }
.jr.rp:is(.pg-plans,.pg-jp) .rp-plan__price em { font-style: normal; font-size: .9rem; font-weight: 500; color: var(--rp-ink-3); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-grid--jp .rp-plan__facts { margin: 16px 0 18px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-qty { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-qty .pl-step { grid-template-columns: 36px minmax(0, 1fr) 36px; height: 38px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-qty .pl-total { margin: 0; display: block; text-align: right; line-height: 1.2; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-qty .pl-total span { display: block; font-size: .76rem; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-qty .pl-total b { font-size: 1.05rem; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-qty .pl-total small { margin-left: 4px; font-size: .72rem; }
/* Enterprise: ink card */
.jr.rp:is(.pg-plans,.pg-jp) .pl-ent { background: linear-gradient(180deg, var(--rp-band) 0%, var(--rp-band-2) 100%); border-color: var(--rp-band); color: var(--rp-band-ink-2); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-ent h3, .jr.rp:is(.pg-plans,.pg-jp) .pl-ent .rp-plan__price b { color: #fff; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-ent .rp-plan__price { border-bottom-color: var(--rp-band-line); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-ent .rp-plan__price b { font-size: 1.6rem; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-ent .rp-plan__price span, .jr.rp:is(.pg-plans,.pg-jp) .pl-ent .rp-plan__facts li { color: var(--rp-band-ink-2); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-ent .rp-plan__facts li .ic { color: #8FB4FF; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-tag--ent { color: #fff; background: rgba(255, 255, 255, .1); border-color: var(--rp-band-line); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-btn--ent { gap: 8px; background: #fff; color: var(--rp-ink); border-color: #fff; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-btn--ent:hover { background: var(--rp-blue-soft); color: var(--rp-ink); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-btn--ent .ic { width: 15px; height: 15px; }

/* Listing standards (30 Oct 2026): who Jobaaj posts jobs for */
.jr.rp:is(.pg-plans,.pg-jp) .pl-standards { padding-bottom: 18px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-standards__lead { margin: 0 18px 10px; font-size: .9rem; line-height: 1.55; color: var(--rp-ink-2); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-standards__list { margin: 0 18px; }
.jr.rp:is(.pg-plans,.pg-jp) .pl-standards__no { margin: 12px 18px 0; padding: 10px 12px; border-radius: 10px; background: var(--rp-blue-soft); font-size: .86rem; line-height: 1.55; color: var(--rp-ink-2); }
.jr.rp:is(.pg-plans,.pg-jp) .pl-standards + .pl-how { margin-top: 16px; }
