html {
    font-size: 10px !important;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: 1.4rem;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-display: fallback;
    color: var(--black);
    text-decoration-skip-ink: none;
    overflow-x: hidden;
    background: var(--grey-100);
}

i {
    font-feature-settings: "liga";
    user-select: none;
    font-family: "Icons" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    letter-spacing: 0px !important;
}

.center {
    text-align: center;
}

.h-space {
    margin-bottom: 1.5em;
}

.nowrap {
    white-space: nowrap;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure {
    margin: 0;
    padding: 0;
}

main,
time {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

strong {
    font-weight: bold;
}

a,
button {
    color: inherit;
    cursor: pointer;
}

    a[disabled],
    button[disabled] {
        opacity: 0.5;
        cursor: default;
    }

a {
    text-decoration: none;
}

input,
textarea,
select {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
    text-transform: inherit;
    display: block;
    border: 0;
    margin: 0;
    background: none;
    text-align: inherit;
}

textarea {
    resize: vertical;
}

button {
    overflow: visible;
    border: 0;
    font: inherit;
    letter-spacing: inherit;
    background: none;
    cursor: pointer;
    padding: 0;
}

img,
svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border: 0;
}

svg {
    overflow: visible;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    display: block;
}

svg {
    fill: currentColor;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

    *::selection {
        color: var(--white);
        background: var(--primary);
    }

* {
    scrollbar-width: thin;
    scrollbar-color: #86888a transparent;
}

    *::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    *::-webkit-scrollbar-thumb {
        background-color: #86888a;
        border-radius: 99px;
    }

body {
    --corner: 4rem;
    --curve: cubic-bezier(0.77, 0, 0.175, 1);
    --shadow: 0 1px 1px rgba(0, 0, 0, 0.015), 0 2px 2px rgba(0, 0, 0, 0.015), 0 4px 4px rgba(0, 0, 0, 0.015), 0 8px 8px rgba(0, 0, 0, 0.015), 0 16px 16px rgba(0, 0, 0, 0.015), 0 32px 32px rgba(0, 0, 0, 0.015);
    --green: #49d491;
    --red: #ee676f;
    --blue: #67bdee;
    --yellow: #eeb867;
    --primary: #4be8b6;
    --white: #fff;
    --black: #131320;
    --grey-100: #f1f5fb;
    --grey-150: #f8fafd;
    --grey-200: #dae1ea;
    --grey-300: #a2aab5;
    --grey-600: #464343;
}

    body.dark-mode-enabled {
        --white: #313235;
        --black: #c5c5d6;
        --grey-100: #242629;
        --grey-150: #292b2d;
        --grey-200: #dae1ea;
        --grey-300: #a2aab5;
        --grey-600: #999ea4;
    }

@font-face {
    font-family: "Icons";
    src: url("/fonts/ogs-icons.woff");
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin: 0;
    display: inline-block;
    margin-right: 1rem;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

input[type=text],
input[type=number],
input[type=email],
input[type=date],
input[type=password],
input[type=time],
textarea,
select {
    display: block;
    width: 100%;
    background: var(--white);
    padding: 0.75em;
    border-radius: 0.5em;
}

    input[type=text][disabled],
    input[type=number][disabled],
    input[type=email][disabled],
    input[type=date][disabled],
    input[type=password][disabled],
    input[type=time][disabled],
    textarea[disabled],
    select[disabled] {
        cursor: text;
        background: var(--grey-150);
        color: var(--grey-600);
    }

label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.25em;
}

    label.label--disabled {
        color: var(--grey-600);
    }

.alert {
    display: inline-block;
    padding: 1.5rem;
    position: relative;
    border: 1px solid currentColor;
    color: currentColor;
    border-radius: 1rem;
    text-align: left;
    overflow: hidden;
}

    .alert::before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0px;
        top: 0px;
        background: currentColor;
        opacity: 0.1;
    }

.alert__inner {
    position: relative;
    z-index: 1;
    display: flex;
}

.alert__icon {
    margin-right: 1rem;
    font-size: 2rem;
}

.button {
    background: var(--primary);
    padding: 0.75em 1.25em;
    border-radius: 0.5em;
    font-weight: 700;
    color: var(--white);
}

.checkbox {
    display: inline-grid;
    gap: 0.75em;
    grid-auto-flow: column;
    align-items: center;
}

.checkbox__selector {
    position: relative;
    height: 2rem;
    width: 2rem;
    margin: 1.1rem 0;
}

.checkbox__input {
    background: var(--grey-200);
    -webkit-appearance: none;
    border-radius: 0.45rem;
    width: 100%;
    height: 100%;
    transition: background 250ms var(--curve);
    cursor: pointer;
}

    .checkbox__input:checked {
        background: var(--primary);
    }

        .checkbox__input:checked + .checkbox__indicator {
            opacity: 1;
        }

.checkbox__indicator {
    opacity: 0;
    color: var(--white);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    font-size: 1.1rem;
    transition: opacity 250ms var(--curve);
}

.checkbox__label {
    margin: 0;
    cursor: pointer;
}

.container {
    max-width: 120rem;
}

.dashboard {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0 4rem;
}

.dashboard__footer {
    margin-top: auto;
}

.dashboard-header {
    margin-bottom: 1rem;
}

.footer {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.footer__item {
    margin: 0 0.5em;
}

.fullpage {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.header {
    min-height: 8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
}

.header__logo {
    width: auto;
    height: 5rem;
}

.header__branding {
    display: flex;
    align-items: flex-end;
}

.header__ogs {
    max-width: 4.5rem;
    transform: translateY(-0.25rem);
    margin-left: 0.5rem;
}

.inline-navigation {
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.inliner {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 calc(1rem / 2 * -1) -1rem;
}

    .inliner > * {
        margin: 0 calc(1rem / 2) 1rem;
    }

.input-group {
    border-radius: 1rem;
    background: var(--grey-100);
    padding: 2rem;
}

.input-group__header {
    margin-bottom: 1rem;
}

.input-group__inputs {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .input-group__inputs {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.last-modified {
    margin-top: 0.5em;
    font-size: 1.2rem;
    color: var(--grey-300);
}

.link {
    color: var(--primary);
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 100% 1px;
    background-position: 0 98%;
    background-repeat: no-repeat;
    font-weight: 700;
}

.link--default-colour {
    color: inherit;
    color: var(--black);
    background-image: linear-gradient(var(--black), var(--black));
}

.location-orders {
    max-height: 32rem;
    overflow-y: auto;
}

.login-container {
    width: 80%;
    max-width: 32rem;
    display: grid;
    gap: 2rem;
}

.logo__background {
    fill: var(--black);
}

.logo__text {
    fill: var(--white);
}

.main {
    background: var(--white);
    border-radius: var(--corner);
    padding: 4rem;
    flex-grow: 1;
}

.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: inherit;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
}

    .modal-background[open] {
        display: flex;
    }

.blazored-prompt-modal {
    background: var(--grey-100);
    padding: 2rem;
    border-radius: 2rem;
    width: calc(100% - 4rem);
    max-height: calc(100% - 4rem);
    max-width: 64rem;
    overflow-y: auto;
    z-index: 102;
}

@media (min-width: 768px) {
    .blazored-prompt-modal {
        padding: 4rem;
    }
}

.blazored-prompt-modal .blazored-modal-header {
    display: none;
}

@keyframes progressBarLoad {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }

    100% {
        opacity: 1;
    }
}

.progress-bar {
    height: 1rem;
    background: #f1f1f1;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar__progress {
    height: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    animation: progressBarLoad 2s infinite;
    background: var(--primary);
}

.spacer {
    display: grid;
    gap: 2rem;
}

.styled-table {
    width: 100%;
    font-size: 1.2rem;
    border-collapse: collapse;
    white-space: nowrap;
}

    .styled-table thead {
        font-weight: 500;
    }

    .styled-table tr td:first-child {
        border-radius: 1rem 0 0 1rem;
    }

    .styled-table tr td:last-child {
        border-radius: 0 1rem 1rem 0;
    }

    .styled-table td,
    .styled-table th {
        padding: 2rem;
    }

    .styled-table tbody tr:nth-child(odd) td {
        background: var(--grey-100);
    }

.table-actions {
    margin-top: 2rem;
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .table-actions {
        text-align: left;
        justify-content: space-between;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.table-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.table-pagination__navigation {
    font-size: 2.4rem;
    display: flex;
    gap: 2rem;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.upload-log {
    height: 32rem;
    overflow-y: scroll;
    background: var(--grey-100);
    border-radius: 1rem;
    padding: 2rem;
}

.radio {
    display: inline-grid;
    gap: 0.75em;
    grid-auto-flow: column;
    align-items: center;
}

.radio__selector {
    position: relative;
    height: 2rem;
    width: 2rem;
}

.radio__input {
    background: var(--grey-200);
    -webkit-appearance: none;
    border-radius: 99rem;
    width: 100%;
    height: 100%;
    transition: background 250ms var(--curve);
    cursor: pointer;
}

    .radio__input:checked {
        background: var(--primary);
    }

        .radio__input:checked + .radio__indicator {
            opacity: 1;
        }

.radio__indicator {
    opacity: 0;
    height: 50%;
    width: 50%;
    background: var(--white);
    border-radius: 99rem;
    position: absolute;
    left: 25%;
    top: 25%;
    pointer-events: none;
    transition: opacity 250ms var(--curve);
}

.radio__label {
    margin: 0;
    cursor: pointer;
}

.section {
    margin: 4rem 0;
}

    .section:first-child {
        margin-top: 0;
    }

    .section:last-child {
        margin-bottom: 0;
    }

.submenu-container {
    position: relative;
}

    .submenu-container:hover .submenu {
        display: block;
    }

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    white-space: nowrap;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 1rem;
}

.submenu__item {
    border-bottom: 1px solid var(--grey-200);
}

    .submenu__item a {
        padding: 1rem;
        display: block;
    }

        .submenu__item a:hover {
            background: var(--grey-100);
        }

    .submenu__item:last-child {
        border-bottom: 0;
    }

.green {
    color: var(--green);
}

.red {
    color: var(--red);
}

.orange {
    color: var(--orange);
}

.blue {
    color: var(--blue);
}

.yellow {
    color: var(--yellow);
}

.purple {
    color: var(--purple);
}

.blazored-typeahead.valid {
    border: 0;
}

.validation-errors {
    background: var(--redHighlight);
    color: var(--red);
    border: 1px solid var(--red);
    padding: 2rem;
    font-weight: 500;
}

    .validation-errors li {
        display: list-item;
        margin-left: 1rem;
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
