/* Additions made when the site left WordPress: the site's own forms. Colours come from the theme's variables. */
.scf { display: grid; gap: 1rem; text-align: left; }
.scf-title { margin: 0 0 0.25rem; font-size: 1.5rem; }
.scf-two { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .scf-two { grid-template-columns: 1fr; } }
.scf-field { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.scf-field b { color: #b3261e; font-weight: 700; }
.scf-field small { font-weight: 400; opacity: 0.75; }
.scf-field input, .scf-field textarea { font: inherit; font-weight: 400; width: 100%; padding: 0.7rem 0.85rem; border: 1px solid #b9c2cf; border-radius: 8px; background: #fff; color: #14233a; }
.scf-field input[type='file'] { padding: 0.5rem; }
.scf-field input:focus, .scf-field textarea:focus { outline: 2px solid var(--wp--preset--color--blue, #1b6fd0); outline-offset: 1px; }
.scf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.scf-button { justify-self: start; font: inherit; font-weight: 700; cursor: pointer; border: 0; border-radius: 999px; padding: 0.85rem 1.6rem; background: var(--wp--preset--color--sun, #f5b418); color: #14233a; }
.scf-button:hover { filter: brightness(0.95); }
.scf-button[disabled] { opacity: 0.6; cursor: wait; }
.scf-result { margin: 0; min-height: 1.5em; font-weight: 600; }
.scf-result.is-ok { color: #1b5e20; }
.scf-result.is-bad { color: #b3261e; }
.scf-pending { padding: 1.25rem 1.5rem; border: 1px solid #b9c2cf; border-radius: 12px; background: #f6f8fb; }
.scf-pending p { margin: 0; }

/* Phone menu: the header's blur traps the full-screen menu inside the header strip (it showed as a sliver on the
   WordPress site too). While the menu is open the blur is switched off so the menu can fill the screen. */
html.has-modal-open .sc-header { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Agent training (/training/): the status table, the sign-in and the quizzes. */
.sct table { border-collapse: collapse; width: 100%; margin: 0.6rem 0 1.5rem; font-size: 0.95rem; }
.sct th, .sct td { border: 1px solid #d5dbe3; padding: 0.5rem 0.65rem; text-align: left; vertical-align: top; }
.sct th { background: #f3f5f7; }
.sct-scroll { overflow-x: auto; }
.sct .sct-ok { background: #e6f4ea; color: #1e6b32; font-weight: 600; }
.sct .sct-missing { background: #fdecea; color: #a12622; font-weight: 600; }
.sct-small { font-size: 0.85rem; color: #5b6676; }
.sct-h { font-size: 1.35rem; margin: 1.75rem 0 0.5rem; }
.sct-signin { max-width: 26rem; margin: 1rem 0 1.5rem; }
.sct-note { margin: 0; padding: 0.8rem 1rem; border-radius: 8px; background: #f3f5f7; }
.sct-signout { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #d5dbe3; }
.sct-link { font: inherit; font-size: 0.9rem; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.sct-quiz { margin-top: 2.5rem; padding-top: 0.5rem; border-top: 2px solid #d5dbe3; }
.sct-q { border: 1px solid #d5dbe3; border-radius: 10px; padding: 0.9rem 1.1rem 1rem; margin: 0; min-width: 0; }
.sct-q legend { font-weight: 600; padding: 0 0.35rem; float: left; width: 100%; margin-bottom: 0.6rem; }
.sct-q legend b { color: #b3261e; }
.sct-q legend + * { clear: both; }
.sct-desc { margin: 0 0 0.75rem; font-size: 0.95rem; }
.sct-choice { display: flex; gap: 0.55rem; align-items: baseline; padding: 0.3rem 0; cursor: pointer; }
.sct-choice input { flex: none; width: 1.05rem; height: 1.05rem; position: relative; top: 0.15rem; }
.sct-done { padding: 0.9rem 1.1rem; border-radius: 10px; background: #e6f4ea; color: #1e6b32; font-weight: 600; }
.sct-done .sct-small { display: block; font-weight: 400; color: #1e6b32; margin-top: 0.25rem; }
