.admin-logo {
    width: 160px;
}

.header #branding h1 {
    margin: 5px;
}

#site-name {
    text-align: center;
}

#header {
    height: 50px;
}

.orange, tr.orange td, tr.orange th {
    background-color: #FFD1B2 !important;
}

.violet, tr.violet td, tr.violet th {
    background-color: #ded0ff !important;
}

.form-horizontal .select2-container span.selection,
.form-horizontal .inline-related span.select2-selection {
    display: block;
}

.select2-search__field {
    height: auto !important;
}

.search-container .select2 {
    margin-top: 5px;
}

.change-related, .add-related {
    display: none !important;
}

#result_list thead th {
    position: sticky;
    top: 0;
}

@media only screen and (max-width: 767px) {
    body {
        min-width: auto;
    }

    #wrap {
        background: none;
    }

    .suit-columns {
        padding-left: 10px;
        padding-right: 10px;
    }

    #suit-center {
        padding-left: 0;
    }

    #suit-left {
        position: absolute;
        background: white;
        margin-left: auto;
        display: none;
        left: 0;
        right: unset;
        border: 1px solid silver;
        z-index: 1000;
    }

    .header {
        height: 55px;
    }

    .header #branding {
        min-width: unset;
    }

    .brand-name {
        display: none;
    }

    .header-content-first {
        display: none;
    }

    .header #user-tools {
        max-width: 53vw;
        padding-top: 5px;
    }

    .header #user-tools .user-links {
        float: right;
    }

    .breadcrumb {
        font-size: 9pt;
    }

    .menu-link {
        display: inline-block !important;
        margin-top: 10px;
        margin-left: 10px;
    }

    #changelist-form .results,
    .inline-group {
        max-width: 100%;
        overflow-x: auto;
    }

    .inner-two-columns .inner-right-column {
        float: unset;
        width: unset;
    }

    .inner-two-columns .inner-right-column.fixed {
        position: static;
    }

    .inner-two-columns .inner-center-column {
        margin-right: unset;
    }

    .submit-row button {
        height: 50px;
    }

    .submit-row button[name="_addanother"] {
        display: none;
    }

    .form-horizontal .control-group .control-label {
        min-width: unset;
    }

    .dashboard #content #content-main {
        float: unset;
        display: table;
        margin-left: auto;
        margin-right: auto;
    }

    .admin-logo {
        width: 70px;
    }
}

line.volume-line {
    stroke: #000;
    stroke-dasharray: 2, 1;
    stroke-width: 1;
    stroke-opacity: 0.7;
}

polygon.volume-line {
    stroke: #fff;
    stroke-width: 1;
    fill-opacity: 0.85;
    stroke-opacity: 0.7;
}

.env-warnings {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 5000;
    text-align: right;
}

.env-warning {
    color: white;
    background-color: #d9534f;
    text-align: center;
    font-size: 10px;
    visibility: visible;
    border-radius: 10px;
    text-shadow: none;
    line-height: 2;
    font-weight: normal;
    font-family: Verdana, serif;
    padding: 2px 10px;
    display: inline-block;
}

#toggleAutoFillPromptBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    cursor: pointer;
    z-index: 99;
}

#productQtyAutoFillContainer {
    position: fixed;
    bottom: 70px; /* Adjust based on button size */
    right: 20px;
    width: fit-content;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    display: none; /* Hide by default */
    border: 1px solid #dbdbdb;
    text-align: end;
    z-index: 100;
}

.text-danger {
    color: red !important;
}

/* Hide delete icon for all FK dropdowns in admin */
.delete-related img {
    display: none !important;
}