/* LeftLion HR portal: self-hosted fonts, and the small classes that replace the design files'
   inline styles (the Content-Security-Policy blocks style=""). Components and tokens are in
   leftlion-hr.css, copied unchanged from the design package. */

/* Variable fonts: one file covers every weight used. Licences: ../fonts/*-OFL.txt */
@font-face {
    font-family: Archivo;
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url(../fonts/archivo-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(../fonts/inter-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html, body { margin: 0; }

/* App shell: the tab bar sits at the bottom of a short page too */
.app { min-height: 100vh; display: flex; flex-direction: column; }
.app > .main { flex: 1 0 auto; width: 100%; }
.app > .tabbar:empty { display: none; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 10px; background: var(--primary); color: var(--on-primary); font-weight: 600; }
.skip-link:focus { top: 8px; }

/* Spacing helpers used in place of inline styles */
.stack-xs { display: flex; flex-direction: column; gap: 4px; }
.mt-16 { margin-top: 16px; }
.center { text-align: center; }

/* Sign in, "not set up" and error pages (01 Sign in) */
.signin { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; }
.signin-inner { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 24px; }
.signin-head { align-items: flex-start; }
.wordmark-lg b { font-size: 30px; }
.note-error { background: var(--declined-bg); color: var(--declined-fg); }

/* The sign-out button sits in the top bar on phones and laptops */
.topbar form { margin: 0; }
