body {
    font-family: Arial, sans-serif;
    background: #f6f8fa;
    margin: 0;
}

a,
a:visited,
a:hover,
a:focus,
a:active,
a:focus-visible {
    color: inherit;
    text-decoration: none;
}

label {
    font-size: 9pt;
}

h1 {
    margin: 0;
}

h3 {
    margin-top: 0;
    margin-bottom: 0;
}

h4 {
    margin-top: 10px;
    margin-bottom: 5px;
}

body.with-admin-header {
    padding-top: calc(var(--admin-header-height, 56px) + 20px);
    padding-bottom: var(--admin-footer-height, 20px);
}

.admin-top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--admin-header-height, 56px);
    background: #0b2239;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.admin-top-header__title {
    font-family: Arial, sans-serif;
    font-size: max(12px, calc(var(--admin-header-height, 56px) / 3));
    font-weight: 400;
    letter-spacing: 0.2px;
}

.admin-top-header__logo {
    display: block;
    height: calc(var(--admin-header-height, 56px) - 14px);
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

.admin-top-header__logo-link {
    position: absolute;
    left: 12px;
    display: inline-flex;
    align-items: center;
}

.admin-top-header__account {
    position: absolute;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.admin-top-header__user {
    opacity: 0.95;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
}

.admin-top-header__first-name {
    font-size: max(10px, calc(var(--admin-header-height, 56px) / 4));
}

.admin-top-header__username {
    font-size: 13px;
}

.admin-top-header__account-link {
    color: inherit;
    text-decoration: none;
}

.admin-top-header__account-link:hover,
.admin-top-header__account-link:focus-visible {
    text-decoration: none;
}

.admin-top-header__logout-form {
    margin: 0;
}

.admin-top-header__logout-link {
    margin: 0;
    padding: 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-top-header__logout-icon {
    height: min(50px, calc(var(--admin-header-height, 56px) * 0.4));
    width: auto;
    max-width: 50px;
    display: block;
}

.admin-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--admin-footer-height, 20px);
    z-index: 900;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: calc(100vh - var(--admin-header-height, 56px) - var(--admin-footer-height, 20px) - 80px);
    overflow: hidden;
}

.container--plain {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.badge {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    color: #fff;
}

.badge-live {
    background: #2f9e44;
}

.badge-dev {
    background: #f08c00;
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
   width:100%
}

.form-card h2,
.form-card h3 {
    margin: 6px 0 3px;
}

.form-card hr {
    margin: 8px 0;
}

.login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: min(400px, 92vw);
    border: 2px solid #0b2239;
    border-radius: 10px;
    background: #fff;
    padding: 22px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.login-box__logo {
    max-width: 220px;
    width: auto;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

.login-box__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #0b2239;
    text-align: center;
}

.login-box__subtitle {
    margin: 0;
    text-align: center;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.login-control {
    width: min(200px, 100%);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.login-control label {
    margin: 0;
}

.login-control input[type="text"],
.login-control input[type="password"] {
    width: 100%;
    box-sizing: border-box;
}

.login-control .password-field-wrap {
    width: 100%;
}

.login-submit {
    width: min(200px, 100%);
}

.account-screen {
    min-height: 100%;
}

.account-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.account-details-card {
    margin-top: 2px;
    max-width: 100%;
}

.account-details-card p {
    margin: 0;
}

.account-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.account-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.account-form .login-control {
    width: 100%;
    gap: 2px;
    margin-bottom: 2px;
}

.account-form .password-field-wrap--max-200 {
    width: min(200px, 100%);
    max-width: 100%;
}

.account-form .login-submit {
    margin-top: 2px;
}

input[type="email"],
input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"] {
    padding: 10px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    box-sizing: border-box;
}

textarea {
    padding: 10px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
}

input[type="color"] {
    height: 44px;
    width: 72px;
    padding: 2px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background: #fff;
}

.header-logo-preview {
    max-height: 72px;
    width: auto;
    border: 0;
    border-radius: 6px;
    padding: 4px;
    background: transparent;
    object-fit: contain;
}

.logo-preview-card {
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    height: 92px;
}

.company-assets-row .logo-preview-card {
    width: 100%;
    min-width: 180px;
    box-sizing: border-box;
}

.company-assets-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.preview-placeholder {
    font-size: 13px;
    color: #e9ecef;
}

.favicon-preview {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.favicon-preview--clickable {
    cursor: pointer;
}

.favicon-trigger-card {
    cursor: pointer;
}

.help-text {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6c757d;
}

.header-logo-preview--clickable {
    cursor: pointer;
}

.logo-trigger-card {
    cursor: pointer;
}

.settings-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1500;
}

.settings-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-modal__content {
    width: min(420px, 92vw);
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-modal__content--logo {
    min-height: 520px;
}

.settings-modal__content--user {
    width: min(520px, 94vw);
}

.settings-modal__content--logo .logo-tab-panel {
    min-height: 210px;
}

.logo-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
}

.logo-tab {
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #d0d7de;
    background: #f8f9fa;
    color: #343a40;
}

.logo-tab.is-active {
    background: #2b6cb0;
    color: #fff;
    border-color: #2b6cb0;
}

.logo-tab-panel {
    display: none;
    flex-direction: column;
    gap: 8px;
}

.logo-tab-panel.is-active {
    display: flex;
}

.settings-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

.settings-tab {
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background: #f8f9fa;
    color: #343a40;
    cursor: pointer;
}

.settings-tab.is-active {
    background: #2b6cb0;
    color: #fff;
    border-color: #2b6cb0;
}

.settings-tab-panel {
    display: none;
}

.settings-tab-panel.is-active {
    display: block;
}

.drop-zone {
    margin-top: 6px;
    border: 2px dashed #c8d1da;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    color: #495057;
    background: #fafbfc;
    cursor: pointer;
    font-size: 13px;
}

.drop-zone.is-dragover {
    border-color: #2b6cb0;
    background: #edf4ff;
    color: #1c4f88;
}

.visually-hidden-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.settings-modal__preview {
    max-height: 120px;
    max-width: 100%;
    align-self: center;
}

.settings-modal__preview-card {
    height: auto;
    min-height: 0;
    min-width: 150px;
    width: auto;
    max-width: 100%;
    align-self: center;
}

.svg-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.svg-heading-row label {
    margin: 0;
}

.link-button {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2b6cb0;
    text-decoration: underline;
    font-size: 12px;
    cursor: pointer;
}

.delete-icon-button {
    color: #efefef;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
}

.delete-icon-button svg {
    display: block;
}

.password-field-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 100%;
}

.password-field-wrap > input[type="password"],
.password-field-wrap > input[type="text"] {
    flex: 1;
    min-width: 0;
}

.password-toggle {
    flex: 0 0 auto;
    align-self: center;
    margin: 0;
    padding: 4px 8px;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    background: #f8f9fa;
    color: #343a40;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.settings-modal__save {
    margin-top: 4px;
}

.settings-modal__actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 4px;
}

.settings-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #495057;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    margin: 0;
    padding: 2px 6px;
}

.settings-section {
    border: 1px solid #edf1f4;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-section h2 {
    margin: 0 0 4px;
    font-size: 17px;
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.setting-row label {
    margin: 0;
    min-width: 120px;
}

.inline-color-pickers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.inline-color-pickers label {
    min-width: auto;
    font-size: 13px;
}

.inline-color-pickers input[type="color"] {
    width: 48px;
    height: 34px;
    padding: 1px;
}

.inline-width-input {
    width: 44px;
    min-width: 44px;
    padding: 6px;
    text-align: center;
}

.compact-number-input {
    width: 64px;
    min-width: 64px;
    padding: 6px 8px;
    text-align: center;
}

button {
    margin-top: 8px;
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    background: #2b6cb0;
    color: #fff;
}

.secondary-button {
    background: #e9ecef;
    color: #212529;
}

.alert {
    padding: 10px 12px;
    border-radius: 6px;
}

.alert-error {
    background: #ffe3e3;
    color: #c92a2a;
}

.alert-success {
    background: #d3f9d8;
    color: #2b8a3e;
}

select {
    padding: 10px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.radio-group--inline {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.radio-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.form-row > .form-col {
    flex: 1 1 0;
    min-width: 0;
}

.form-row > .form-col.form-col--fixed-150 {
    flex: 0 0 150px;
    width: 150px;
}

.form-col label {
    display: block;
    margin-bottom: 6px;
}

.form-row > .form-col.form-col--toggle {
    flex: 0 0 auto;
    align-self: flex-start;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-col--toggle label[for] {
    margin-bottom: 6px;
    width: 100%;
    text-align: center;
}

.toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    user-select: none;
    margin-top: 2px;
}

.toggle input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.toggle__track {
    display: block;
    width: 44px;
    height: 24px;
    background: #d0d7de;
    border-radius: 999px;
    position: relative;
    transition: background 120ms ease-in-out;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.toggle__track::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 120ms ease-in-out;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.toggle input:checked + .toggle__track {
    background: #495057;
}

.toggle input:checked + .toggle__track::before {
    transform: translateX(20px);
}

.toggle input:focus-visible + .toggle__track {
    outline: 2px solid #2b6cb0;
    outline-offset: 2px;
}

.field-width-150 {
    width: 150px;
    max-width: 100%;
    box-sizing: border-box;
}

.compact-input {
    width: 150px;
    max-width: 100%;
    box-sizing: border-box;
}

.field-width-350 {
    width: 350px;
    max-width: 100%;
    box-sizing: border-box;
}

.password-field-wrap--max-200 {
    width: min(200px, 100%);
    max-width: 100%;
}

.password-field-wrap--max-200 > input[type="password"],
.password-field-wrap--max-200 > input[type="text"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.password-field-wrap--max-200 > .password-toggle {
    max-width: 200px;
}

.table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    max-height: none;
}

.admin-table-page {
    max-height: calc(100vh - var(--admin-header-height, 56px) - 96px);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.admin-table-page .table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.inputs-table {
    width: 100%;
    border-collapse: seperate;
    border-spacing: 0;
}

.users-table th,
.users-table td {
    border: 1px solid #e9ecef;
    padding: 8px;
    text-align: left;
}

.inputs-table th,
.inputs-table td {
    border: 1px solid #e9ecef;
    padding: 8px;
    text-align: left;
}

.users-table th:last-child,
.users-table td:last-child {
    width: 1%;
    white-space: nowrap;
    text-align: center;
}

.inputs-table th:last-child,
.inputs-table td:last-child {
    width: 1%;
    white-space: nowrap;
}

.users-table th {
    background: #f1f3f5;
}

.inputs-table th {
    background: #f1f3f5;
}

.input-tabs {
    margin-top: 10px;
}

.inputs-table input,
.inputs-table select {
    width: 100%;
    box-sizing: border-box;
}

.users-table tr.user-row--inactive td {
    color: #adb5bd;
}

.users-table tr.user-row--inactive a.edit-user-link {
    color: #2b6cb0;
}

.admin_table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.admin_table tbody tr:nth-child(even) {
    background: #dfdfdf;
}

.admin_table th {
    background: #efefef;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 2;
}

.add_new {
    overflow: hidden;
    background-color: #dfdfdf;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0d7de;
    color: #343a40;
    font-weight: 600;
}

.add_new_large {width:48px; height:48px; line-height:48px; border-radius:2px; font-size:48px;}
.add_new_medium {width:36px; height:36px; line-height:36px; border-radius:2px; font-size:36px;}
.add_new_small {width:24px; height:24px;  line-height:24px; border-radius:2px;  font-size:24px;}

.add-new-user-trigger {
    display: inline-flex;
    text-decoration: none;
}

.add-new-input-trigger {
    display: inline-flex;
    text-decoration: none;
}

.inline-form {
    display: inline;
}

.form-actions-inline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.user-details-trigger {
    color: inherit;
    text-decoration: none;
}

.user-details-trigger:hover,
.user-details-trigger:focus-visible {
    color: inherit;
    text-decoration: none;
}

.username-heading--short {
    display: none;
}

/* 0px - 640px: mobile */
@media (max-width: 640px) {
    .container {
        margin: 0 auto;
        padding: 20px;
        border-radius: 6px;
    }

    body.with-admin-header {
        padding-top: calc(var(--admin-header-height, 56px) + 12px);
        padding-bottom: 12px;
    }

    .admin-top-header__title {
        display: none;
    }

    .admin-top-header__logo {
        max-width: 92px;
    }

    .admin-top-header__account {
        gap: 6px;
        right: 8px;
    }

    .admin-top-header__username {
        font-size: 11px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-row > .form-col,
    .form-row > .form-col.form-col--fixed-150,
    .form-row > .form-col.form-col--toggle {
        width: 100%;
        flex: 1 1 auto;
        margin-left: 0;
        align-items: flex-start;
    }

    .form-col--toggle label[for] {
        text-align: left;
    }

    .field-width-150,
    .compact-input,
    .field-width-350 {
        width: 100%;
    }

    .account-columns {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .login-box {
        width: 96vw;
        padding: 14px;
    }

    .settings-modal__content--user,
    .settings-modal__content {
        width: 96vw;
        max-height: 92vh;
        overflow: auto;
    }

    .company-assets-row {
        grid-template-columns: 1fr;
    }

    .setting-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .users-table {
        font-size: 12px;
    }

    .inputs-table {
        font-size: 12px;
    }

    .users-table th,
    .users-table td {
        padding: 6px;
    }

    .inputs-table th,
    .inputs-table td {
        padding: 6px;
    }

    .users-table th:nth-child(3),
    .users-table th:nth-child(4),
    .users-table th:nth-child(5),
    .users-table th:nth-child(6),
    .users-table th:nth-child(7),
    .users-table td:nth-child(3),
    .users-table td:nth-child(4),
    .users-table td:nth-child(5),
    .users-table td:nth-child(6),
    .users-table td:nth-child(7) {
        display: none;
    }

    .username-heading--full {
        display: inline;
    }

    .username-heading--short {
        display: none;
    }

    .add_new_medium {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 25px;
    }
}

/* 641px - 1023px: tablet / small laptop */
@media (min-width: 641px) and (max-width: 1023px) {
    .container {
        margin: 0 auto;
        padding: 20px;
        max-width: 94vw;
    }

    .form-row {
        flex-wrap: wrap;
        gap: 14px;
    }

    .form-row > .form-col.form-col--toggle {
        margin-left: 0;
    }

    .account-columns {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .company-assets-row {
        grid-template-columns: 1fr;
    }

    .settings-modal__content--user {
        width: min(640px, 95vw);
    }

    .admin-top-header__title {
        display: none;
    }

    .users-table th:nth-child(3),
    .users-table th:nth-child(4),
    .users-table th:nth-child(5),
    .users-table th:nth-child(6),
    .users-table td:nth-child(3),
    .users-table td:nth-child(4),
    .users-table td:nth-child(5),
    .users-table td:nth-child(6) {
        display: none;
    }

    .add_new_medium {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 25px;
    }
}

/* 1024px - 1279px: desktop */
@media (min-width: 1024px) and (max-width: 1279px) {
    .container {
        max-width: 960px;
    }

    .account-columns {
        grid-template-columns: 1fr 1fr;
    }
}

/* 1280px and up: wide desktop */
@media (min-width: 1280px) {
    .container {
        max-width: 1100px;
        padding: 20px;
    }

    .settings-modal__content--user {
        width: min(620px, 92vw);
    }
}

.manufacturing-page-actions {
    margin: 0.35rem 0 0.75rem;
}

.manufacturing-intro,
.manufacturing-form .hint {
    color: #5a6570;
    max-width: 52rem;
}

.manufacturing-fieldset {
    border: 1px solid #d8dee3;
    padding: 0.75rem 1rem 1rem;
    margin: 0 0 1rem;
}

.manufacturing-fieldset legend {
    padding: 0 0.35rem;
}

.manufacturing-lines-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0 0.75rem;
}

.manufacturing-lines-table th,
.manufacturing-lines-table td {
    text-align: left;
    border-bottom: 1px solid #e8ecef;
}

.manufacturing-lines-table th {
padding:5px 0;
}

.mix-single-column-layout {
    display: block;
    width: 100%;
}


.mix-name-code-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.mix-name-code-row > div:first-child {
    flex-grow: 1;
    min-width: 0;
}

.manufacturing-form label {
    display: block;
    margin-top: 6px;
}

.mix-name-code-row #mix_name {
    flex-grow: 1;
    width: 100%;
}

.mix-name-code-row #mix_commodity_code {
    width: 90px;
    max-width: 90px;
}

#mix_aka {
    width: 100%;
    box-sizing: border-box;
}

.mix-labour-radio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.mix-labour-radio-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mix-ingredient-results {
    position: absolute;
    z-index: 1000;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 4px;
    width: 100%;
    left: 0;
    top: 100%;
}

.mix-result-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 1px solid #eef1f4;
    border-radius: 0;
    background: #fff;
    color: #212529;
    padding: 8px 10px;
    margin: 0;
}

.mix-result-item:hover,
.mix-result-item.active {
    background: #eef5ff;
}

.mix-save-actions {
    margin-top: 0.75rem;
}

.manufacturing-ingredients {
    position: relative;
}

.mix-search-wrap {
    position: relative;
}

.mix-col-scoops {
    width: 60px;
    text-align: center !important;
}

.mix-col-remove {
    width: 50px;
    text-align: center !important;
}

.mix-scoops-input {
    width: 60px;
    max-width: 60px;
    text-align: center;
    padding:5px!important;
}

.cost-preview-card {
    border: 1px solid #cfe6cf;
    background: #f4fbf4;
    padding: 0.75rem 1rem;
    margin: 0 0 1rem;
    border-radius: 4px;
}

.cost-preview-list {
    margin: 0.35rem 0 0;
    padding-left: 1.2rem;
}

.link-as-button {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    line-height: 1.25;
}

.is-hidden {
    display: none !important;
}

.allergen-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.35rem 0.75rem;
    margin-top: 0.5rem;
    max-height: 12rem;
    overflow-y: auto;
    padding: 0.25rem 0;
}

.allergen-check-label {
    font-weight: normal;
    font-size: 0.92rem;
}

/* Inputs table: hide AKA on small viewports, show from md breakpoint up */
.inputs-table .d-none.d-md-table-cell {
    display: none;
}

@media (min-width: 768px) {
    .inputs-table .d-none.d-md-table-cell {
        display: table-cell;
    }
}
