/* Layout only for candidate access. Colours follow stylesass.css and its form rules. */
.candidate-access { max-width: 980px; margin: 0 auto 2.5rem; }
.candidate-access-intro { margin-bottom: 1.5rem; }
.candidate-access-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.candidate-access-card { padding: 1.75rem; border: 1px solid #acacac; background: #fff; }
.candidate-access-card h4 { margin: 0 0 .75rem; }
.candidate-access-code { border-top: 3px solid #359bd2; }
.candidate-access-badge { display: inline-block; margin-bottom: .75rem; font-family: "open_sansbold"; }
.candidate-access .form-control { min-height: 44px; color: #495057; background-color: #f6f6f6; border: 0; border-radius: 0; }
/* btn-default supplies the same outline, colours and hover as the other site forms.
   Large bold text preserves readable contrast with the site's light blue. */
.btn.candidate-access-button { min-height: 46px; padding: .5rem 1rem; font-family: "open_sansbold"; font-size: 20px; font-weight: 700; white-space: normal; }
.candidate-access-button:focus-visible, .candidate-access .form-control:focus-visible, .candidate-access a:focus-visible { outline: 3px solid #003399; outline-offset: 3px; }
.candidate-access-help { font-size: .9rem; margin: 1rem 0 0; }
/* Keep shared link colours and make the account actions recognisable. */
.candidate-access a { text-decoration: underline; }
.candidate-access-register { margin-top: 1.5rem; }
.candidate-access .messages:empty { display: none; }
@media (max-width: 767px) {
    .candidate-access-options { grid-template-columns: 1fr; gap: 1rem; }
    .candidate-access-card { padding: 1.25rem; }
    .candidate-access-code { order: -1; }
    .candidate-access-button { width: 100%; }
}
