/* Registry 9449: learner sign-in, sign-up, "check your email" and staff sign-in (auth_cfcsupabase/auth2).
   Colours and type of isocertification.africa: ink #171717, gilt #c9a227, flag yellow #FCDC04, Inter. */
body:has(#cfc-auth2) { background: #fafafa !important; }
body:has(#cfc-auth2) .navbar, body:has(#cfc-auth2) #page-footer, body:has(#cfc-auth2) footer,
body:has(#cfc-auth2) .cfc-login-panel, body:has(#cfc-auth2) .login-layout-left-content,
body:has(#cfc-auth2) .cfc-footer, body:has(#cfc-auth2) #page-header { display: none !important; }
body:has(#cfc-auth2) #page-wrapper, body:has(#cfc-auth2) #page, body:has(#cfc-auth2) .login-wrapper,
body:has(#cfc-auth2) .login-container, body:has(#cfc-auth2) #region-main, body:has(#cfc-auth2) [role="main"],
body:has(#cfc-auth2) .login-layout, body:has(#cfc-auth2) .login-layout-right-content {
    margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important;
    background: transparent !important; border: 0 !important; box-shadow: none !important; min-height: 0 !important; }
body:has(#cfc-auth2) #page { margin-top: 0 !important; height: auto !important; overflow: visible !important; }
body:has(#cfc-auth2) .login-layout { display: block !important; }
body:has(#cfc-auth2) #page-content, body:has(#cfc-auth2) #page-content.row, body:has(#cfc-auth2) #region-main-box,
body:has(#cfc-auth2) .login-layout-right, body:has(#cfc-auth2) .login-layout-left {
    display: block !important; padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important;
    background: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body:has(#cfc-auth2) .login-layout-left { display: none !important; }
body:has(#cfc-auth2) .login-container { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-radius: 0 !important; }
body:has(#cfc-auth2)::before, body:has(#cfc-auth2)::after, body:has(#cfc-auth2) #page-wrapper::before { display: none !important; }

.cfc-auth2 { --ink: #171717; --ink2: #454545; --ink3: #6b6b6b; --gilt: #c9a227; --gold: #7a5b00; --sun: #FCDC04;
    --rule: rgba(23,23,23,.14); display: grid; grid-template-columns: minmax(420px, 1fr) minmax(0, 1.08fr);
    min-height: 100vh; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink); text-align: left; }
.cfc-auth2-main { display: flex; flex-direction: column; padding: 40px 64px 28px; background: #fff; }
.cfc-auth2-brand img { height: 50px; width: auto; display: block; }
.cfc-auth2-box { width: 100%; max-width: 420px; margin: auto 0; padding: 48px 0 40px; }
.cfc-auth2-kicker { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
    margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.cfc-auth2-kicker::before { content: ""; width: 26px; height: 2px; background: var(--gilt); }
.cfc-auth2 h1, body.pagelayout-login .cfc-auth2 h1 { font-family: inherit !important; font-size: 37.8px !important; line-height: 1.08; font-weight: 700; letter-spacing: -.025em;
    margin: 0 0 14px; color: var(--ink); }
.cfc-auth2-lede { font-size: 14.4px; line-height: 1.6; color: var(--ink2); margin: 0 0 28px; }
.cfc-auth2-form { display: flex; flex-direction: column; gap: 0; margin: 0; }
.cfc-auth2-form label { font-size: 11.7px; font-weight: 600; color: var(--ink); margin: 0 0 7px; }
.cfc-auth2-form input[type=email], .cfc-auth2-form input[type=text], .cfc-auth2-form input[type=password] {
    height: 49px; border: 1px solid rgba(23,23,23,.22); border-radius: 10px; padding: 0 16px; font-size: 16px;
    background: #fff; color: var(--ink); margin: 0 0 18px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.cfc-auth2-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201,162,39,.25); }
.cfc-auth2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cfc-auth2-row > div { display: flex; flex-direction: column; }
.cfc-auth2-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important;
    font-size: 12.2px !important; line-height: 1.5; color: var(--ink2) !important; margin: 2px 0 20px !important; }
.cfc-auth2-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.cfc-auth2-check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cfc-auth2-form button { height: 50px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14.4px;
    font-weight: 600; letter-spacing: .005em; cursor: pointer; box-shadow: 0 16px 32px -16px rgba(23,23,23,.65);
    transition: transform .15s, background .15s; }
.cfc-auth2-form button span { color: var(--sun); margin-left: 6px; }
.cfc-auth2-form button:hover, .cfc-auth2-form button:focus-visible { background: #000; transform: translateY(-1px); }
.cfc-auth2-fine { font-size: 11.7px; line-height: 1.55; color: var(--ink3); margin: 16px 0 0; }
.cfc-auth2-switch { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink2); }
.cfc-auth2-switch a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gilt);
    text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cfc-auth2-alert { border-left: 3px solid #D90000; background: #fff4f4; color: #7a0000; padding: 12px 14px; font-size: 12.6px;
    border-radius: 6px; margin: 0 0 20px; }
.cfc-auth2-envelope { width: 72px; height: 72px; border-radius: 50%; background: #fdf6dc; color: var(--gold);
    display: grid; place-items: center; margin: 0 0 22px; }
.cfc-auth2-steps { margin: 0 0 6px; padding: 0; list-style: none; counter-reset: s; }
.cfc-auth2-steps li { counter-increment: s; position: relative; padding: 0 0 14px 40px; font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.cfc-auth2-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 26px; height: 26px;
    border-radius: 50%; background: var(--ink); color: var(--sun); font-size: 11.7px; font-weight: 700; display: grid; place-items: center; }
.cfc-auth2-legal { font-size: 10.8px; color: var(--ink3); margin: 0; }
.cfc-auth2-legal a { color: var(--ink3); }

.cfc-auth2-art { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 40%, #2a2410 0%, #171717 55%, #0d0d0d 100%);
    color: #fafafa; display: flex; align-items: flex-end; min-height: 100vh; }
.cfc-auth2-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: linear-gradient(90deg, #171717 0 33%, #FCDC04 33% 66%, #D90000 66% 100%); }
.cfc-auth2-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.cfc-auth2-pitch { position: relative; padding: 56px 60px 64px; max-width: 520px;
    background: linear-gradient(0deg, rgba(13,13,13,.92) 40%, rgba(13,13,13,0)); }
.cfc-auth2-logo { height: 64px; width: auto; display: block; margin: 0 0 26px; }
.cfc-auth2-pitch h2, body.pagelayout-login .cfc-auth2-pitch h2 { font-family: inherit !important; color: #fff !important; font-size: 27px !important; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; margin: 0 0 22px; }
.cfc-auth2-pitch ul { list-style: none; margin: 0; padding: 0; }
.cfc-auth2-pitch li { position: relative; padding: 0 0 12px 28px; font-size: 13.5px; line-height: 1.55; color: rgba(250,250,250,.84); }
.cfc-auth2-pitch li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 2px; background: #FCDC04; }

.cfc-auth2-staff .cfc-auth2-art { background: #171717; }

@media (max-width: 900px) {
    .cfc-auth2 { grid-template-columns: 1fr; min-height: 0; }
    .cfc-auth2-main { padding: 22px 22px 24px; }
    .cfc-auth2-brand img { height: 44px; }
    .cfc-auth2-box { max-width: none; padding: 30px 0 30px; margin: 0; }
    .cfc-auth2 h1, body.pagelayout-login .cfc-auth2 h1 { font-size: 28.8px !important; }
    .cfc-auth2-lede { font-size: 14px; margin-bottom: 22px; }
    .cfc-auth2-row { grid-template-columns: 1fr; gap: 0; }
    .cfc-auth2-art { min-height: 0 !important; }
    .cfc-auth2-map { opacity: .55; }
    .cfc-auth2-pitch { padding: 34px 22px 40px; max-width: none; }
    .cfc-auth2-logo { height: 46px; margin-bottom: 18px; }
    .cfc-auth2-pitch h2, body.pagelayout-login .cfc-auth2-pitch h2 { font-size: 19.8px !important; }
    .cfc-auth2-legal { order: 3; margin-top: 8px; }
}

/* Registry 9453: field errors shown in the browser beside the field (90% scale: 13px x 0.9). */
.cfc-auth2-form input.is-bad { border-color: #D90000 !important; }
.cfc-auth2-form input.is-bad:focus { box-shadow: 0 0 0 4px rgba(217,0,0,.15); }
.cfc-auth2-err { display: none; color: #B00000; font-size: 11.7px; line-height: 1.4; margin: -12px 0 14px; }
.cfc-auth2-err.on { display: block; }
.cfc-auth2-check + .cfc-auth2-err { margin: -14px 0 18px; }

/* Registry 9663 (His Highness, 19 Nov 2026): one screen, no scrolling, at 1366x768, 1920x1080 and a 390x844 phone;
   a photo of a young African learner online (Pexels 1181368, Pexels licence) in place of the dotted map. */
html:has(#cfc-auth2), body:has(#cfc-auth2) { min-height: 0 !important; height: auto !important; }
.cfc-auth2 { min-height: 100vh; min-height: 100svh; }
/* Moodle's 1px #maincontent skip anchor sat above the page and made it scroll by 1px: out of the flow, still focusable. */
body:has(#cfc-auth2) #maincontent { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; }
.cfc-auth2-main { padding: 28px 64px 20px; }
.cfc-auth2-box { padding: 24px 0; }
.cfc-auth2-art { min-height: 0; background: #171717; }
.cfc-auth2-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.cfc-auth2-art::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(0deg, rgba(13,13,13,.94) 0%, rgba(13,13,13,.86) 30%, rgba(13,13,13,.45) 52%, rgba(13,13,13,0) 70%); }
.cfc-auth2-art::after { z-index: 1; }
.cfc-auth2-pitch { background: none; padding: 40px 56px 46px; max-width: 560px; }
.cfc-auth2-logo { height: 52px; margin-bottom: 18px; }
.cfc-auth2-pitch h2, body.pagelayout-login .cfc-auth2-pitch h2 { margin-bottom: 16px; }
.cfc-auth2-pitch li { padding-bottom: 8px; }
@media (max-width: 900px) {
    .cfc-auth2 { grid-template-rows: auto 1fr; }
    .cfc-auth2-main { padding: 16px 20px 0; }
    .cfc-auth2-brand img { height: 36px; }
    .cfc-auth2-box { padding: 16px 0 14px; }
    .cfc-auth2-kicker { margin-bottom: 8px; }
    .cfc-auth2 h1, body.pagelayout-login .cfc-auth2 h1 { font-size: 26px !important; margin-bottom: 8px; }
    .cfc-auth2-lede { font-size: 13.5px; line-height: 1.5; margin-bottom: 14px; }
    .cfc-auth2-form input[type=email], .cfc-auth2-form input[type=text], .cfc-auth2-form input[type=password] { height: 46px; margin-bottom: 12px; }
    .cfc-auth2-form button { height: 46px; }
    .cfc-auth2-fine { margin-top: 10px; font-size: 11.25px; }
    .cfc-auth2-switch { margin-top: 12px; padding-top: 10px; }
    .cfc-auth2-legal { display: none; }
    .cfc-auth2-art { min-height: 200px !important; }
    .cfc-auth2-photo { object-position: 50% 22%; }
    .cfc-auth2-pitch { padding: 70px 20px 18px; }
    .cfc-auth2-logo { display: none; }
    .cfc-auth2-pitch h2, body.pagelayout-login .cfc-auth2-pitch h2 { font-size: 16.2px !important; margin-bottom: 8px; }
    .cfc-auth2-pitch li { font-size: 12.15px; line-height: 1.45; padding-bottom: 4px; }
}
/* Registry 9663 fix, 19 Nov 2026 06:25 EAT: the photo came later in the page than the dark gradient, so it painted over it and the
   white text sat on a bright photo. Gradient above the photo, text above the gradient. */
.cfc-auth2-art::before { z-index: 1; }
.cfc-auth2-pitch { z-index: 2; }

/* Registry 9868 (His Highness, 19 Nov 2026 18:15 EAT: "This page jacked ... Try to avoid that jacking stuff."). Nothing
   on the sign-in pages may move or swap while they load or after Send.
   1. Fonts: the page preloads InterVariable.woff2, but Inter's latin text used a second file that only starts after
      the stylesheet, and font-display:swap re-laid every line when it came. Here the preloaded file is used with
      font-display:optional (it is used if ready at first paint, otherwise never swapped in), and the fallback is sized
      to Inter's metrics so either way the lines sit in the same place. */
@font-face { font-family: "CFC Inter Auth"; font-style: normal; font-weight: 100 900; font-display: optional;
    src: url(/assets/site/fonts/InterVariable.woff2) format("woff2"); }
@font-face { font-family: "CFC Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"), local("Helvetica");
    ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }
.cfc-auth2 { font-family: "CFC Inter Auth", "CFC Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.cfc-auth2 input, .cfc-auth2 button { font-family: inherit; }
/* 2. The photo: a 24-pixel copy of it (about 1 KB, inline) fills the panel from the first paint, so the panel no longer
      flashes dark and then pops to the photo. */
.cfc-auth2-art { background: #171717 url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wAARCAAkABgDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDsZfuH6VkRT28F2FldVJ6A1rOeeelcJeS+drT7lI2NgGhysgUbs7w20MkeWAI9RRUdo5FnGVO75ehopXHYzNZ1BISITJsZxgGueWxgeTdJqa7j1qfVbiKW4QzOAoamRHS3fK24Y+poTuxtWR0Xh8wmN7aO5M5Q53GipNAgijDSxYAbtiiqaITPOtblfzlGelV7S6lDABuDRRSh0Kmem6BzpqE9SKKKK0e5ktj/2Q==") 50% 28% / cover no-repeat; }
/* 3. The cookie notice (consent.js) no longer slides up from below on these pages; it fades in where it stands. */
body:has(#cfc-auth2) .ica-cc { transform: none !important; transition: opacity .2s ease !important; }
/* 4. After Send: no cross-fade of the whole page (nav.css view transition), so the old and new pages never show
      through each other; the "check your email" page replaces the form in place. */
html:has(#cfc-auth2) { view-transition-name: none; }
html:has(#cfc-auth2)::view-transition-old(root), html:has(#cfc-auth2)::view-transition-new(root) { animation: none; }
/* 5. The sent page keeps the sign-in page's rhythm: its small envelope sits on the kicker line (it was a 72-pixel disc
      that pushed the heading down), and on a laptop the text block has one fixed height, so the heading stays where "Sign in" was. */
.cfc-auth2-kicker { min-height: 14px; }
.cfc-auth2-kicker-mail svg { width: 14px; height: 14px; display: block; }
@media (max-width: 900px) { .cfc-auth2-art { background-position: 50% 22%; } }
@media (min-width: 901px) { .cfc-auth2-box { min-height: 474px; } }
