@font-face {
    font-family: "FellixLog5";
    src: url("/assets/log5/fonts/Fellix-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "FellixLog5";
    src: url("/assets/log5/fonts/Fellix-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBMPlexMonoLog5";
    src: url("/assets/log5/fonts/IBMPlexMono-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
} 
html,
body,
button,
input,
select,
textarea {
    font-family: "FellixLog5", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "FellixLog5", sans-serif;
    font-weight: 600;
}

code,
pre,
kbd,
samp {
    font-family: "IBMPlexMonoLog5", monospace;
}

/* =========================================================
   Log5Data brand palette
   ========================================================= */

:root {
    --log5-brown: #220707;
    --log5-grey-dark: #576066;
    --log5-grey-3: #DBD9D2;
    --log5-grey-2: #E6E4DF;
    --log5-grey-1: #F5F3EA;
    --log5-white: #FBFAF7;
    --log5-orange: #FA4D35;

    /* TTS brand colour overrides */
    --c-bg-brand-normal: var(--log5-orange);
    --c-bg-brand-normal-hover: var(--log5-brown);

    /* TTS brand text overrides */
    --c-text-brand-light: var(--log5-orange);
    --c-text-brand-normal: var(--log5-orange);
}


/* =========================================================
   Log5Data base colours
   ========================================================= */

body {
    color: var(--log5-brown);
    background-color: var(--log5-white);
}



/* =========================================================
   Form focus accents
   ========================================================= */

input:focus,
select:focus,
textarea:focus {
    border-color: var(--log5-orange);
    outline-color: var(--log5-orange);
}

::selection {
    background-color: var(--log5-orange);
    color: var(--log5-white);
}


/* =========================================================
   Log5Data secondary logo
   ========================================================= */

img[src*="/assets/log5/logo.svg"] {
    width: 110px !important;
    max-width: 110px !important;
    height: auto !important;
}

/* =========================================================
   Log5Data primary accent overrides
   ========================================================= */

/* Primary action buttons */
button[class*="primary"],
[class*="button"][class*="primary"] {
    background-color: var(--log5-orange) !important;
    border-color: var(--log5-orange) !important;
    color: var(--log5-white) !important;
}

/* Primary button hover */
button[class*="primary"]:hover,
[class*="button"][class*="primary"]:hover {
    background-color: var(--log5-brown) !important;
    border-color: var(--log5-brown) !important;
}

/* SVG icons that inherit currentColor */
a svg,
button[class*="primary"] svg,
[class*="button"][class*="primary"] svg {
    color: inherit;
}


/* Selected / active navigation items */
[class*="active"],
[class*="selected"] {
    --log5-active-accent: var(--log5-orange);
}

/* Shortcut/action button text */
button.XFO2 {
    color: var(--log5-orange) !important;
}

/* Shortcut/action icons */
a.XFO2 svg,
button.XFO2 svg {
    color: var(--log5-orange) !important;
    stroke: currentColor !important;
}
