/* Apply from a job card, the job-alert pages. Kept apart from styles.css so the page design and this can change independently. */

/* ---- the quiet Apply on a job card ---- */
.job-card__act { display: inline-flex; align-items: center; gap: var(--s1); }
.apply-quick { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s4); border: 1.5px solid var(--primary);
  border-radius: var(--radius-pill); background: transparent; color: var(--link); font: 600 .875rem/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  position: relative; z-index: 2; }
.apply-quick:hover { background: var(--tint-rust); color: var(--rust-ink); text-decoration: none; }
.apply-quick.is-done, .btn.is-done { cursor: default; }
.apply-quick.is-done { border-color: transparent; background: var(--tint-olive); color: var(--olive-ink); }
.apply-quick.is-done::before { content: "\2713"; margin-right: .4em; font-weight: 700; }
.btn.is-done { background: var(--tint-olive); color: var(--olive-ink); border-color: transparent; box-shadow: none; }
.btn.is-done::before { content: "\2713"; margin-right: .5em; font-weight: 700; }
@media (min-width: 760px) { .job-list .job-card__foot { align-items: flex-end; } .job-list .job-card__act { justify-content: flex-end; } }

/* ---- the confirmation ---- */
.apply-dialog { border: 1px solid var(--line); border-radius: var(--radius); padding: 0; max-width: min(28rem, calc(100vw - 2rem)); width: 100%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2); }
.apply-dialog::backdrop { background: rgba(30, 24, 20, .55); }
.apply-dialog__box { padding: var(--s5); }
.apply-dialog__h { font-size: 1.35rem; margin-bottom: var(--s3); }
.apply-dialog__job { margin-bottom: var(--s3); }
.apply-dialog__row { margin-top: var(--s4); }

/* ---- the settings page of a job alert shares the sign-in card; only a select inside it needs a width ---- */
[data-hl^="alerts-"] .auth-card .select { width: 100%; }
[data-alert-for] { margin-top: var(--s1); }

/* ---- the agreement on the sign-up screens: ordinary size, never small print ---- */
.auth-agree { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.auth-agree .check { font-size: 1rem; }
