/* Free weekly job alerts: the sign-up box under the results heading, and the confirm / manage / unsubscribe pages. */
.alert-box { background: var(--accent-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 16px; }
.alert-title { margin: 0 0 8px; font-weight: 600; color: var(--ink); }
.alert-row { display: flex; gap: 8px; flex-wrap: wrap; }
.alert-row input[type=email] { flex: 1 1 220px; min-width: 0; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; }
.alert-row input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.alert-row .btn { padding: 10px 20px; font-size: .95rem; flex: 0 0 auto; }
.alert-consent { align-items: flex-start; margin: 10px 0 0; font-size: .9rem; line-height: 1.4; }
.alert-consent input { flex: 0 0 auto; margin: 1px 0 0; }
.alert-fine { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }
.alert-msg { margin: 8px 0 0; font-size: .9rem; color: var(--accent); }
.alert-msg.bad { color: var(--err); }
.alert-done { margin: 0; font-size: .95rem; }
.job.from-alert { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
/* Phones: email, then the consent tick, then a full-width Subscribe button. */
@media (max-width: 520px) {
  .alert-form { display: flex; flex-direction: column; }
  .alert-row { display: contents; }
  .alert-title { order: 0; } #alertEmail { order: 1; flex: none; } .alert-consent { order: 2; }
  .alert-row .btn { order: 3; width: 100%; margin-top: 10px; } .alert-fine { order: 4; } .alert-msg { order: 5; }
}

.alert-page .alert-what { padding: 12px 14px; background: var(--accent-soft); border-radius: 10px; }
.alert-page .alert-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.alert-page .alert-note { color: var(--warn); }

/* The box sits inside the job list (after the third job). */
.alert-holder { list-style: none; margin: 0 0 16px; padding: 0; }
.alert-holder .alert-box { margin: 0; }
