/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 0;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/

/*
    Red - #C3091D
    Red Hover - #AF091D
    Black - #111211
    White - #FFFFFF
    Gray Background - #DBDBDB
    Dark Gray Background - #646464
    Footer Text - #E4E4E4
*/
.dl-horizontal dt {
    white-space: normal;
}

@font-face {
    font-family: 'ChollaSlabOblique';
    src: url('../fonts/ChollaSlabOblique.ttf') format('truetype');
}

@font-face {
    font-family: 'Stainless-Black';
    src: url('../fonts/Stainless-Black.ttf') format('truetype');
}

@font-face {
    font-family: 'Stainless-Bold';
    src: url('../fonts/Stainless-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Stainless-Light';
    src: url('../fonts/Stainless-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Stainless-Regular';
    src: url('../fonts/Stainless-Regular.ttf') format('truetype');
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
/* Login Page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

html {
    width: 100%;
    height: 100%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    background-color: #111211;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

#toast-container {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 999999 !important;
    max-width: 90vw !important;
    overflow: visible !important;
    pointer-events: none;
}

#toast-container > .toast {
    position: relative;
    padding: 14px 18px 14px 50px !important;
    min-width: 250px;
    max-width: 400px;
    background-size: 24px !important;
    background-position: 15px center !important;
    background-repeat: no-repeat !important;
    color: #fff !important;
    border-radius: 8px;
    font-family: 'Stainless-Regular', sans-serif;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

#toast-container > .toast-message {
    margin-left: 0 !important;
    display: block;
    overflow-wrap: break-word;
}

#loading {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.3;
    background-color: #FFFFFF;
    z-index: 10000;
}

#loading-image {
    z-index: 10000;
    width: 100px;
    height: 100px;
}

.login-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.header {
    margin-bottom: 20px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.logo {
    width: 350px;
    height: auto;
    margin-bottom: 20px;
}

.login-title {
    color: #FFFFFF;
    font-size: 25px;
    font-family: 'Stainless-Regular';
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.input-group {
    background: #FFFFFF;
    width: 85%;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 0px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.input-icon {
    width: 24px;
    height: 24px;
    padding: 5px;
}

.form-control {
    background: #FFFFFF;
    color: #111211;
    border: none;
    padding: 12px;
    border-radius: 0px;
    width: 100%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.btn-login {
    background-color: #C3091D;
    color: #FFFFFF;
    width: 50%;
    padding: 12px;
    border-radius: 5px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.btn-login:hover {
    background-color: #AF091D;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.footer {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    padding: 20px;
    background-color: #111211;
    color: #E4E4E4;
    width: 100%;
    margin-top: auto;
    padding-bottom: 0;
    margin-bottom: 0;
    font-family: 'ChollaSlabOblique';
    font-style: oblique;
    font-size: 16px;
}

.footer-text {
    margin-bottom: 25px;
    font-family: 'ChollaSlabOblique';
    font-style: oblique;
    font-size: 16px;
}

.error-message {
    color: #C3091D;
    margin-top: 5px;
    display: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}


/* Order Page */
.container {
    width: 100%;
    max-width: 100%;
    padding-left: 35px;
    padding-right: 35px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

/* Header */
.header-sale-order {
    display: flex;
    align-items: start;
    justify-content: flex-start;
    padding-top: 10px;
    background-color: #111211;
    color: #E4E4E4;
    width: 100%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.logo-sales {
    margin-right: 1px;
}


.tagline {
    font-family: 'ChollaSlabOblique';
    font-style: oblique;
    font-size: 16px;
    margin: 0;
    align-self: center;
}

.burger-menu-button {
    cursor: pointer;
    margin-left: auto;
    margin-right: 0px;
    padding-right: 0px;
    background-color: #111211;
    border: none;
}

.burger-menu {
    width: inherit;
    width: 42px;
    height: 40px;
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 30px;
}


/* Menu Popup */
.closepopup-icon {
    margin-right: 1px;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    vertical-align: baseline;
    cursor: pointer;
}

.menu-popup {
    width: 280px;
    background: #C9C9C9;
    position: absolute;
    top: 100%;
    left: 0;
    text-align: left;
    padding: 15px;
    color: #111211;
    visibility: hidden;
    border: 1px solid;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.open-menu-popup {
    width: 280px;
    height: auto;
    background: #FFFFFF;
    position: absolute;
    top: 10%;
    right: 10%;
    transform: translate(-50%, -50%);
    text-align: left;
    padding: 15px;
    color: #111211;
    visibility: visible;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-radius: 5px;
    opacity: 0.8;
    z-index: 100;
}

.open-menu-popup::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 8px;
    border-width: 0 18px 25px 18px;
    border-style: solid;
    border-color: transparent transparent #FFFFFF transparent;
    border-radius: 15px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.btn-logout {
    background: #FFFFFF;
    color: #C3091D;
    padding: 5px;
    padding-top: 15px;
    cursor: pointer;
    border: none;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    text-align: left;
}

.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    height: 18px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch input:disabled + .slider {
    background-color: #C8C8C8;
    cursor: not-allowed;
    opacity: 0.6;
}

.slider {
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 24px;
    background-color: #646464;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 16px;
    left: 2px;
    top: 3px;
    background-color: #FFFFFF;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #C3091D;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


/* Warehouse Popup */
.warehouse-popup {
    background: #858585;
    position: absolute;
    top: 100%;
    left: 0;
    text-align: left;
    padding: 15px;
    color: #FFFFFF;
    visibility: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.open-warehouse-popup {
    width: 700px;
    background: #858585;
    position: absolute;
    top: 10%;
    right: 10%;
    transform: translate(-50%, -50%);
    text-align: left;
    padding: 15px;
    color: #FFFFFF;
    visibility: visible;
    border-radius: 5px;
    opacity: 0.8;
    height: 290px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.email-listbox-container {
    width: 450px;
    background-color: transparent;
    height: 170px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border: none;
    color: #111211;
    padding: 4px;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.email-list-header {
    display: flex;
    padding: 8px 12px;
    position: sticky;
    top: 0;
    z-index: 2;
    font-family: 'Stainless-Black';
    font-size: 16px;
    background-color: transparent;
}

.email-list-divider {
    height: 2px;
    background-color: #C3091D;
    margin-bottom: 5px;
    margin-left: 10px;
    position: sticky;
    top: 40px;
    z-index: 1;
}

.email-scroll-container {
    overflow-y: auto;
    max-height: 130px;
    scroll-behavior: smooth;
    will-change: transform;
}

.email-option-row {
    display: flex;
    padding: 0px 12px;
    cursor: pointer;
}

.email-option-row:hover,
.email-option-row.selected {
    background-color: #DBDBDB;
}

.email-col {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.name-col {
    flex: 1.2;
}

.email-col-text {
    flex: 2;
}

.email-option {
    padding-left: 8px;
    cursor: pointer;
}

.email-scroll-container::-webkit-scrollbar {
    width: 12px;
    background-color: transparent;
}

.email-scroll-container::-webkit-scrollbar-track {
    background: #CCCCCC;
}

.email-scroll-container::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 4px;
}

.open-warehouse-popup::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 8px;
    border-width: 0 18px 25px 18px;
    border-style: solid;
    border-color: transparent transparent #858585 transparent;
    border-radius: 15px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.warehouse-label {
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
}

.warehouse-label-1 {
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    width: 95%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Alternate Popup */
.alternate-popup {
    background: #858585;
    position: absolute;
    top: 100%;
    left: 0;
    text-align: left;
    padding: 15px;
    color: #FFFFFF;
    visibility: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.open-alternate-popup {
    width: 650px;
    background: #858585;
    position: absolute;
    top: 10%;
    right: 10%;
    transform: translate(-50%, -50%);
    text-align: left;
    padding: 15px;
    color: #FFFFFF;
    visibility: visible;
    border-radius: 5px;
    opacity: 0.8;
    height: 120px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.open-alternate-popup::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 8px;
    border-width: 0 18px 25px 18px;
    border-style: solid;
    border-color: transparent transparent #858585 transparent;
    border-radius: 15px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.open-alternate-popup-IM {
    width: 500px;
    background: #858585;
    position: absolute;
    top: 10%;
    right: 10%;
    transform: translate(-50%, -50%);
    text-align: left;
    padding: 15px;
    color: #FFFFFF;
    visibility: visible;
    border-radius: 5px;
    opacity: 0.8;
    height: 120px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.open-alternate-popup-IM::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 8px;
    border-width: 0 18px 25px 18px;
    border-style: solid;
    border-color: transparent transparent #858585 transparent;
    border-radius: 15px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.related-popup {
    background: #858585;
    position: absolute;
    top: 100%;
    left: 0;
    text-align: left;
    padding: 15px;
    color: #FFFFFF;
    visibility: hidden;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.open-related-popup {
    width: 520px;
    background: #858585;
    position: absolute;
    top: 10%;
    right: 10%;
    transform: translate(-50%, -50%);
    text-align: left;
    padding: 15px;
    color: #FFFFFF;
    visibility: visible;
    border-radius: 5px;
    opacity: 0.8;
    height: 120px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.open-related-popup::before {
    content: "";
    position: absolute;
    top: -20px;
    right: 8px;
    border-width: 0 18px 25px 18px;
    border-style: solid;
    border-color: transparent transparent #858585 transparent;
    border-radius: 15px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.btn-link {
    background-color: transparent;
    color: #C3091D;
    padding: 0;
    cursor: pointer;
    border: none;
    text-align: left;
    background: none;
    text-decoration: underline;
}

    .btn-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }

    .btn-link-disabled,
    .btn-link:disabled {
        color: #999 !important;
        cursor: default !important;
        text-decoration: none !important;
        pointer-events: none;
    }

    .btn-link-disabled:hover,
    .btn-link:disabled:hover {
        color: #999 !important;
        text-decoration: none !important;
    }

.col-alternate {
    width: 15%;
    max-width: 15%;
    min-width: 15%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.col-alternate-status {
    width: 9%;
    max-width: 9%;
    min-width: 9%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.col-alternate-match {
    width: 10%;
    max-width: 10%;
    min-width: 10%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.col-alternate-desc {
    width: 22%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.col-alternate-link {
    width: 6%;
    max-width: 6%;
    min-width: 6%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.col-alternate-price {
    width: 15%;
    max-width: 15%;
    min-width: 15%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.close-alternate-popup-icon {
    margin-right: 1px;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    vertical-align: baseline;
    margin-bottom: 5px;
    cursor: pointer;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

/*PDF Popup (IFrame)*/
.pdf-iframe-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.pdf-iframe-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4a4a4a;
    color: white;
    padding: 10px 20px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.pdf-iframe-popup-content {
    width: 80%;
    height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.pdf-iframe-container {
    flex-grow: 1;
    background-color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    height: 90vh;
}

.pdf-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

/*Link Popup (IFrame)*/
.iframe-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.iframe-popup-content {
    background-color: #4a4a4a;
    width: 96%;
    height: 600px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 10px;
    display: flex;
    flex-direction: column;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.close-button {
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: flex-end;
    z-index: 10;
    margin: 5px;
}

.iframe-container {
    flex-grow: 1;
    margin-top: 5px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}


/* Customer Fields */
.fields-container {
    width: 100%;
    max-width: 100%;
    padding-bottom: 5px;
    padding-top: 7px;
    justify-content: space-between;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.row-align {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.customer-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin-bottom: 1px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.label {
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 130px;
    max-width: 130px;
}

.unit-price-label {
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 142px;
    max-width: 142px;
}

.shipping-label {
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 130px;
    max-width: 130px;
    margin-right: 5%;
}

.input-field {
    background-color: #FFFFFF;
    padding: 1px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-radius: 4px;
    min-width: 130px;
    max-width: 130px;
    border: none;
    height: 30px;
}

.dropdown-field {
    background-color: #FFFFFF;
    padding: 2px 8px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    line-height: 1.2;
    border-radius: 4px;
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

.dropdown-container {
    position: relative;
    display: inline-block;
    width: 200px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.dropdown-container::after {
    content: "▼";
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #C3091D;
    background-color: white;
    position: absolute;
    top: 55%;
    right: 3px;
    transform: translateY(-50%);
    pointer-events: none;
}

.warehouse-dropdown-container {
    position: relative;
    display: inline-block;
    width: 55px;
    font-family: 'Stainless-Light';
    font-size: 16px;
    padding: 0px;
}

.warehouse-dropdown-field {
    background-color: transparent;
    padding: 0px;
    font-family: 'Stainless-Light';
    font-size: 16px;
    line-height: 1.2;
    border-radius: 4px;
    width: 100%;
    height: 20px;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

.warehouse-dropdown-field:focus {
    border: 1px solid #111211;
}

.warehouse-dropdown-container::after {
    content: "▼";
    font-family: 'Stainless-Light';
    font-size: 16px;
    color: #C3091D;
    background-color: transparent;
    position: absolute;
    top: 55%;
    right: 3px;
    transform: translateY(-50%);
    pointer-events: none;
}

.warehouse-dropdown-field:focus {
    outline: none;
    box-shadow: none;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.customer-info {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    padding-left: 100px;
}

.search-icon {
    margin-right: 1px;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    vertical-align: baseline;
    cursor: pointer;
}

.close-icon {
    margin-right: 1px;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    vertical-align: baseline;
    cursor: pointer;
}

.search-button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: inherit;
}

.customer-suggestions-dropdown {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    min-width: 60%;
    max-width: 60%;
    min-height: 60%;
    max-height: 60%;
    overflow-y: auto;
    display: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    z-index: 1000;
}

.customer-suggestion-item {
    padding: 5px;
    cursor: pointer;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.customer-suggestion-item:hover {
    background: #f0f0f0;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.summary {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    gap: 5px;
    text-align: right;
    width: 100%;
    max-width: 250px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.shipment-label {
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    width: 85px;
    padding-bottom: 7px;
    margin-left: 0;
}

.address-field {
    flex-grow: 1;
    width: 100%;
    resize: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-radius: 4px;
    max-height: 70px;
    min-height: 70px;
}

.address-dropdown-container {
    position: relative;
    display: inline-block;
    width: 170px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.address-dropdown-container::after {
    content: "▼";
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #C3091D;
    background-color: white;
    position: absolute;
    top: 55%;
    right: 3px;
    transform: translateY(-50%);
    pointer-events: none;
}

.address-field option.select-placeholder {
    font-style: normal;
}

.summary-label {
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 85px;
}

.summary-value {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 55px;
}

.label-top {
    color: #FFFFFF;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    min-width: 100px;
    width: 100px;
}

.summary-value-top {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 70px;
    max-width: 70px;
}

.settings-label {
    min-width: 100px;
    max-width: 100px;
    margin-top: 5px;
}

.label-order {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 37px;
    max-width: 37px;
}

.label-quote {
    color: #FFFFFF;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    min-width: 37px;
    max-width: 37px;
    margin-right: 10px;
}

.label-desc {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 37px;
    text-align: end;
}

.label-asc {
    color: #FFFFFF;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    min-width: 45px;
    margin-right: 10px;
}

.label-pricelist {
    color: #FFFFFF;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    min-width: 12px;
    max-width: 12px;
    margin-right: 10px;
}

.btn-add-product {
    padding: 2px;
    border: none;
    min-width: 55px;
    max-width: 55px;
    color: #111211;
    background-color: transparent;
    font-family: 'Stainless-Bold';
    font-size: 16px;
}

.label-pricelist-val {
    color: #FFFFFF;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    min-width: 80px;
    max-width: 80px;
    margin-right: 10px;
}

.label-pricelist-heading {
    color: #FFFFFF;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    min-width: 200px;
    max-width: 200px;
    margin-right: 10px;
}

.label-status {
    color: #FFFFFF;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    min-width: 65px;
    max-width: 65px;
}

.item-status {
    color: #FFFFFF;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    min-width: 100px;
    max-width: 100px;
    margin-right: 20px;
}

.status-value {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 38px;
    max-width: 38px;
}

.document-search-value {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 100px;
    max-width: 100px;
}

.flatpickr-calendar {
    font-family: 'Stainless-Regular';
    font-size: 10px;
    border-radius: 8px;
    position: absolute !important;
    padding: 0px;
    margin: 0;
}

.flatpickr-days {
    font-family: 'Stainless-Regular';
    font-size: 10px;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 0px !important;
}

.flatpickr-day {
    font-family: 'Stainless-Regular';
    font-size: 10px;
    box-sizing: border-box;
    border-radius: 50% !important;
    text-align: center;
    width: 30px !important;
    height: 35px !important;
    line-height: 35px !important;
    outline-width: 30px !important;
}

.flatpickr-day.selected,
.flatpickr-day.today,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    font-family: 'Stainless-Regular';
    font-size: 10px;
    border-radius: 50% !important;
    width: 30px !important;
    height: 35px !important;
    line-height: 35px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
}


.flatpickr-weekday {
    font-family: 'Stainless-Regular';
    font-size: 10px;
}

.flatpickr-month {
    font-family: 'Stainless-Regular';
    font-size: 10px;
}

.flatpickr-year {
    font-family: 'Stainless-Regular';
    font-size: 10px;
}

.flatpickr-prev-month, .flatpickr-next-month {
    font-family: 'Stainless-Regular';
    font-size: 10px;
}

.flatpickr-months {
    font-family: 'Stainless-Regular';
    font-size: 10px;
    padding: 0px;
    margin: 0;
}

#fakeInput {
    position: absolute;
    top: 40px;
    left: 0;
    width: 200px;
    height: 30px;
    opacity: 0;
    pointer-events: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.summary-date {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    background-color: transparent;
    border: none;
    min-width: 75px;
    width: 75px;
    padding-left: 3px;
}


/*Tab Navigation*/
.nav-tabs {
    position: relative;
    background-color: #111211;
    border: none;
    display: flex;
    border-bottom: 7px solid #C3091D;
    padding-left: 0;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.nav-tabs .nav-link {
    position: relative;
    color: #111211;
    background-color: #DBDBDB;
    border: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 15px !important;
    width: 130px;
    height: 28px;
    line-height: 28px;
    padding: 0;
    padding-top: 2px;
    text-align: center;
    margin-left: -9px;
    z-index: 1;
    transition: none;
    border-right: 3px solid #C7C7C7 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-tabs .nav-item:first-child .nav-link {
    margin-left: 0;
    z-index: 2;
}

.nav-tabs .nav-link:not(.active) {
    border-right: 3px solid #C7C7C7 !important;
    border-top-right-radius: 15px !important;
}

.nav-tabs .nav-link:not(.active) + .nav-link:not(.active) {
    border-left: none;
    border-top-right-radius: 15px !important;
}

.nav-tabs .nav-link.active {
    color: #FFFFFF;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    background-color: #C3091D;
    z-index: 3;
    border-right: none !important;
}

.nav-tabs .nav-link:hover {
    font-family: 'Stainless-Bold';
    font-size: 16px;
    color: #FFFFFF;
    background-color: #C3091D;
    z-index: 3;
    border-left: none;
    border-top-right-radius: 15px !important;
    border-right: none !important;
}

/* Disabled tab styling */
.nav-tabs .nav-link:disabled,
.nav-tabs .nav-link.disabled {
    color: #999999 !important;
    background-color: #F0F0F0 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    font-family: 'Stainless-Light' !important;
    border-right: 3px solid #E0E0E0 !important;
    pointer-events: none;
    position: relative;
}

.nav-tabs .nav-link:disabled:hover,
.nav-tabs .nav-link.disabled:hover {
    color: #999999 !important;
    background-color: #F0F0F0 !important;
    font-family: 'Stainless-Light' !important;
    z-index: 1 !important;
}

/* Add a subtle striped pattern to disabled tabs */
.nav-tabs .nav-link:disabled::before,
.nav-tabs .nav-link.disabled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
            transparent,
            transparent 2px,
            rgba(153, 153, 153, 0.1) 2px,
        rgba(153, 153, 153, 0.1) 4px
    );
    border-top-right-radius: 15px;
    pointer-events: none;
}


/*Tab Content*/
.tab-content {
    height: 340px;
    background-color: #DBDBDB;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.tab-content-DS {
    min-height: 375px;
    max-height: 375px;
    background-color: #DBDBDB;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    display: block;
    width: 100%;
}


/*Table*/
.table-container {
    height: inherit;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.custom-scrollbar-table {
    height: inherit;
    overflow: auto;
}

.custom-scrollbar-table::-webkit-scrollbar {
    width: 12px;
    background: #646464;
}

.custom-scrollbar-table::-webkit-scrollbar-track {
    background: #CCCCCC;
    margin-top: 35px;
    padding-top: 10px;
}

.custom-scrollbar-table::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 4px;
}

.custom-scrollbar-table-1 {
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
}

table {
    width: 100%;
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-collapse: collapse;
    table-layout: fixed;
}

thead {
    background-color: #646464;
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
}

.table tbody {
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.table tbody tr {
    width: 100%;
    table-layout: fixed;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

tbody tr:nth-child(odd),
tbody tr:nth-child(even) {
    height: auto;
    line-height: normal;
    padding: 0;
}

tbody tr:nth-child(odd) {
    background-color: #FFFFFF;
    font-family: 'Stainless-Light';
    font-size: 16px;
    height: 10px;
    line-height: 10px;
}

tbody tr:nth-child(even) {
    background-color: #DBDBDB;
    font-family: 'Stainless-Light';
    font-size: 16px;
    height: 10px;
    line-height: 10px;
}

.table-2 tbody tr:nth-child(even) {
    background-color: #858585;
    font-family: 'Stainless-Light';
    font-size: 16px;
    color: #FFFFFF;
}

.table-container-2 {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.table-2 {
    width: 100%;
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-collapse: collapse;
    table-layout: fixed;
}

.table-2 tbody tr {
    height: auto;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.table-2 tbody::after {
    content: "";
    display: block;
    height: 100%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.table th,
.table td {
    padding: 5px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    vertical-align: middle;
}

.table th {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #FFFFFF;
}

.table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.centered-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    text-align: center;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.col-sr-no {
    width: 3%;
    max-width: 3%;
    min-width: 3%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}

.col-item-no {
    width: 11%;
    max-width: 11%;
    min-width: 11%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    text-align: left;
    vertical-align: middle;
}

.col-productname {
    width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    text-align: left;
    vertical-align: middle;
}

.col-qty {
    width: 10%;
    max-width: 10%;
    min-width: 10%;
    text-align: center;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    vertical-align: middle;
}

.col-committed-qty {
    width: 7%;
    max-width: 7%;
    min-width: 7%;
    text-align: center;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    vertical-align: middle;
}

.col-committed-qty_c {
    width: 10%;
    max-width: 10%;
    min-width: 10%;
    text-align: center;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    vertical-align: middle;
}

.col-warehouse {
    width: 10%;
    max-width: 10%;
    min-width: 10%;
    text-align: center;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    vertical-align: middle;
    padding: 0px;
    margin: 0px;
}

.col-stock {
    width: 9%;
    max-width: 9%;
    min-width: 9%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}

.col-unit-price {
    width: 9%;
    max-width: 9%;
    min-width: 9%;
    text-align: left;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    vertical-align: middle;
}

.col-total-price {
    width: 9%;
    max-width: 9%;
    min-width: 9%;
    text-align: left;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    vertical-align: middle;
}

.col-cost-price {
    width: 10%;
    max-width: 10%;
    min-width: 10%;
    text-align: left;
    display: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    vertical-align: middle;
}

.col-icons {
    width: 6%;
    max-width: 6%;
    min-width: 6%;
    cursor: pointer;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}

.col-trash {
    width: 50px;
    max-width: 50px;
    min-width: 50px;
    cursor: pointer;
    background-color: inherit !important;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    vertical-align: middle;
}

.col-link {
    width: 3%;
    max-width: 3%;
    min-width: 3%;
    cursor: pointer;
    display: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.qty-container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.qty-btn {
    background: none;
    border: none;
    color: #C3091D;
    cursor: pointer;
    width: 17px;
    max-width: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Stainless-Bold';
    font-size: 16px;
}

.qty-input {
    text-align: center;
    border: none;
    background: transparent;
    width: 30px;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.product-code-input {
    width: 90%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    text-align: left;
    box-sizing: border-box;
    display: block;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.product-desc-input {
    width: 100%;
    max-width:100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    text-align: left;
    box-sizing: border-box;
    display: block;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.dropdown-icon {
    background: none;
    border: none;
    color: #C3091D;
    cursor: pointer;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.table-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.settings-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.disabled-icon {
    opacity: 0.7;
    cursor: not-allowed;
}

.suggestion-dropdown {
    position: absolute;
    background: white;
    min-width: 60%;
    max-width: 60%;
    max-height: 60%;
    overflow-y: auto;
    z-index: 1000;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.no-result {
    padding: 8px;
    color: gray;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}


/*Bottom Fields*/
.fields-container-bottom {
    width: 100%;
    max-width: 100%;
    padding-top: 15px;
    justify-content: space-between;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.fields-container-buttons {
    width: 100%;
    max-width: 100%;
    padding-top: 20px;
    justify-content: end;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.row-align-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    align-items: stretch;
    gap: 10px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.row-align-shipping {
    display: flex;
    flex: 1;
    gap: 0px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.address-info {
    display: flex;
    flex-direction: column;
    max-width: 200px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-right: 10px;
}

.address-info:last-child {
    margin-right: 0;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.address-field-bottom {
    width: auto;
    resize: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-bottom: 2px;
}

.summary-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    gap: 5px;
    text-align: right;
    width: 100%;
    max-width: 250px;
    flex-direction: column;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.btn-clear {
    border-radius: 10px;
    padding: 7px;
    border: none;
    width: 115px;
    color: #111211;
    background-color: #DBDBDB;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    margin-right: 3px;
}

.btn-update {
    border-radius: 10px;
    padding: 7px;
    border: none;
    width: 75px;
    color: #111211;
    background-color: #DBDBDB;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    margin-right: 3px;
}

.btn-clear_filter {
    border-radius: 10px;
    padding: 7px;
    border: none;
    width: 115px;
    color: #FFFFFF;
    background-color: #646464;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    margin-right: 3px;
}

.page-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tile-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tile-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 20px;
    margin: 50px 90px;
    border: none;
    min-width: 240px;
    max-width: 240px;
    min-height: 220px;
    max-height: 220px;
    color: #111211;
    background-color: #DBDBDB;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    text-align: center;
    gap: 20px;
    cursor: pointer;
}

.tiles-img {
    width: 64px;
    height: 80px;
    margin: 0;
}

.tiles-img-item-master {
    width: 88px;
    height: 88px;
    margin: 0;
}

.tile-btn:hover {
    background-color: #C0C0C0;
}

.btn-placeorder {
    border-radius: 10px;
    padding: 7px;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    border: none;
    width: 115px;
    color: #FFFFFF;
    background-color: #C3091D;
}

.btn-item-master {
    border-radius: 10px;
    padding: 7px;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    border: none;
    height: 40px;
    min-width: 145px;
    max-width: 145px;
    color: #FFFFFF;
    background-color: #C3091D;
}

.btn-pdf-iframe {
    border-radius: 10px;
    padding: 5px;
    margin: 5px;
    font-family: sans-serif;
    font-size: 16px;
    border: none;
    width: 140px;
    background-color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    align-self: flex-end;
}

.pdf-close-icon {
    margin-right: 1px;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    vertical-align: baseline;
    cursor: pointer;
}

.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.custom-modal {
    background-color: #FFFFFF;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.3s ease;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.custom-modal h2,
.custom-modal p {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #111211;
    margin-bottom: 10px;
}

.custom-password-modal {
    background-color: #8D8D8D;
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 30px;
    border-radius: 3px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    max-width: 350px;
    width: 90%;
    animation: fadeIn 0.3s ease;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.icon-modal {
    width: 30px;
    height: 34px;
    padding: 5px;
    margin-bottom: 15px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.modal-title {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
}

.modal-subtitle {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 25px;
}

/* Container for PIN and Numpad */
.pin-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

/* PIN Numpad layout */
.pin-pad {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.pin-numpad {
    display: grid;
    grid-template-columns: repeat(3, 60px);
    gap: 12px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.pin-numpad button {
    width: 60px;
    height: 60px;
    font-family: 'Stainless-Regular';
    font-size: 20px;
    color: white;
    background-color: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.pin-numpad button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    font-family: 'Stainless-Regular';
    font-size: 20px;
}

.backspace-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    font-family: 'Stainless-Regular';
    font-size: 20px;
}

.pin-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-family: 'Stainless-Regular';
    font-size: 20px;
}

.dot {
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.2s ease;
    font-family: 'Stainless-Regular';
    font-size: 20px;
}

.dot.filled {
    background-color: white;
    font-family: 'Stainless-Regular';
    font-size: 20px;
}

.custom-validation-modal {
    background-color: #8D8D8D;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    max-width: 350px;
    width: 90%;
    animation: fadeIn 0.3s ease;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    z-index: 99999;
}

.add-shipaddress-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.add-shipaddress-modal {
    background-color: #858585;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    max-width: 450px;
    animation: fadeIn 0.3s ease;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    opacity: 0.9;
    z-index: 9999;
}

.confirm-order-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    opacity: 0.9;
}

.confirm-order-modal {
    position: absolute;
    background-color: #DEDEDE;
    padding: 15px;
    padding-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 420px;
    height: auto;
    min-height: 180px;
    left: auto !important;
    right: 20px !important;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.label-confirm-order-left {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 120px;
    max-width: 120px;
    text-align: right;
}

.label-confirm-order-right {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 150px;
    max-width: 150px;
}

.btn-close-order {
    border-radius: 10px;
    padding: 7px;
    border: none;
    width: 115px;
    color: #FFFFFF;
    background-color: #646464;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    margin-right: 3px;
}

.btn-confirmorder {
    border-radius: 10px;
    padding: 7px;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    border: none;
    width: 125px;
    color: #FFFFFF;
    background-color: #C3091D;
}

.btn-confirmorder:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.row-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.row-line h2 {
    color: #111211;
    margin: 0;
    flex: 1;
}

.row-line p {
    color: #111211;
    margin: 0;
    flex: 1;
    text-align: right;
}

/*Accounting Tab*/
.acounting-tab {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    background-color: #DBDBDB;
    height: 100%;
    width: 100%;
}

.accounting-content {
    flex: 1 1 auto;
    height: 75%;
}

.label-acounting {
    color: #111211;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border: none;
    min-width: 130px;
    max-width: 130px;
}

.label-acounting-value {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 55px;
}

.label-acounting-value-PT {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 55px;
}

.label-acounting-right {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 145px;
    max-width: 145px;
}

.label-acounting-right-value {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    min-width: 320px;
    max-width: 320px;
}


.input-field-acounting {
    background-color: #FFFFFF;
    padding: 1px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-radius: 4px;
    min-width: 200px;
    max-width: 200px;
    border: none;
}

.accounting-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    margin-bottom: 1px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.accounting-group {
    display: flex;
    align-items: flex-end;
    padding-left: 30px;
}

.row-align-payment-term {
    display: flex;
    flex: 1;
    gap: 0px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin: 15px;
}

.row-align-accounting {
    display: flex;
    flex: 1;
    gap: 0px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-left: 15px;
    margin-bottom: 5px;
}

.balance-breakdown {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    max-width: 600px;
    margin-left: 15px;
}

.balance-breakdown h3 {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.amount {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-right: 20px;
    text-align: left;
}

.label-breakdown-grid {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    text-align: left;
    margin-right: 30px;
}

.red-line {
    height: 1px;
    background-color: #C3091D;
    margin-bottom: 10px;
}

/*Contact Tab*/
.contact-container {
    display: flex;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    width: 100%;
    padding-top: 15px;
    padding-left: 20px;
}

.contact-listbox {
    width: 200px;
}

.contact-details-list {
    padding-right: 0;
    flex: 1;
    max-width: 20%;
    min-width: 20%;
}

.contact-listbox-item {
    padding-top: 10px;
    padding-bottom: 3px;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #C3091D;
    color: #111211;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    font-weight: normal;
    background-color: transparent;
    transition: background-color 0.2s;
}

.contact-listbox-item.selected {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #C3091D;
}
.contact-listbox-item:hover {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #C3091D;
}
.contact-listbox-item .arrow {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #C3091D;
    margin-left: 10px;
}

.contact-details {
    padding-right: 0;
    padding-left: 10px;
    flex: 1;
    min-width: 33%;
}

.contact-label {
    display: inline-block;
    width: 120px;
    padding-top: 6px;
}

.contact-warning {
    color: #C3091D;
    min-width: 20%;
    padding-top: 50px;
}

.cust-detail-container {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-width: 24%;
    min-width: 24%;
}

.button-wrapper {
    align-self: flex-start;
}

.btn-change-details {
    border-radius: 10px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border: none;
    width: 150px;
    height: 40px;
    color: #FFFFFF;
    background-color: #646464;
    text-align: center;
    padding: 8px;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.btn-confirm-details {
    border-radius: 10px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border: none;
    width: 150px;
    height: 40px;
    color: #FFFFFF;
    background-color: #C3091D;
    text-align: center;
    padding: 8px;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.btn-cust-details:hover {
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.label-note {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: normal;
    max-width: 400px;
    line-height: 1.4;
    text-align: left;
    margin-left: 2px;
    align-self: flex-start;
}

.block-marketing-container {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    background-color: #DBDBDB;
    padding-top: 25px;
    width: fit-content;
}

.block-title {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-bottom: 5px;
}

.block-divider {
    height: 2px;
    background-color: #C3091D;
    margin-bottom: 8px;
    width: 100%;
}

.block-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.block-label {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    width: 80px;
}

.block-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.block-text {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #111211;
}

.custom-radio {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #C3091D;
    border: 2px solid #C3091D;
}


/*Remarks Tab*/
.ramarks-tab {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    background-color: #DBDBDB;
    height: 100%;
    width: 100%;
}

.row-align-remarks {
    display: flex;
    flex: 1;
    gap: 0px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin: 15px;
}

.label-remarks {
    color: #111211;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-bottom: 5px;
}

.remarks-info {
    display: flex;
    flex-direction: column;
    width: 230px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-right: 10px;
    color: #111211;
    margin-right: 20px;
}

.remarks-field {
    resize: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-bottom: 2px;
    border-radius: 6px;
    border: none;
    width: 100%;
    height: 90px;
}


.sales-history-popup {
    display: none;
    position: fixed !important;
    top: 15%;
    left: 2.5% !important;
    width: 95%;
    height: 85%;
    background-color: #858585;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9998;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    opacity: 0.95;
}

.sales-history-popup-header {
    padding: 10px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    border-radius: 6px;
}

.sales-history-popup-header button {
    background: none;
    border: none;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    cursor: pointer;
}

.sales-history-popup-content {
    padding: 15px;
    padding-bottom: 5px;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    height: 95%;
}

.btn-refresh {
    border-radius: 5px;
    padding: 2px;
    border: none;
    width: 115px;
    color: #111211;
    background-color: #DBDBDB;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    margin-right: 3px;
}

.btn-add-price {
    border-radius: 5px;
    padding: 2px;
    border: none;
    min-width: 55px;
    max-width: 55px;
    color: #111211;
    background-color: #DBDBDB;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    margin-right: 3px;
}

.input-with-clear {
    position: relative;
    display: inline-block;
}

.input-with-clear .input-field {
    padding-right: 30px;
    height: 30px;
    font-size: 14px;
}

.input-with-clear .clear-button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.table-container-SH {
    font-family: 'Stainless-Regular';
    font-size: 16px;
    height: 95%;
}
.custom-scrollbar-table-SH {
    overflow-y: auto;
    overflow-x: hidden;
    height: 95%;
}

.custom-scrollbar-table-SH::-webkit-scrollbar {
    width: 12px;
    background: #646464;
}

.custom-scrollbar-table-SH::-webkit-scrollbar-track {
    background: #CCCCCC;
    margin-top: 35px;
    padding-top: 10px;
}

.custom-scrollbar-table-SH::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 4px;
}

.custom-scrollbar-table-backorder {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

.custom-scrollbar-table-backorder::-webkit-scrollbar {
    width: 12px;
    background: #646464;
}

.custom-scrollbar-table-backorder::-webkit-scrollbar-track {
    background: #CCCCCC;
    margin-top: 35px;
    padding-top: 10px;
}

.custom-scrollbar-table-backorder::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 4px;
}

.doc-input-field {
    background-color: #FFFFFF;
    padding: 1px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-radius: 4px;
    min-width: 140px;
    max-width: 140px;
    border: none;
}

.doc-input-field_SP {
    background-color: #FFFFFF;
    padding: 1px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-radius: 4px;
    min-width: 170px;
    max-width: 170px;
    border: none;
}

.clear-icon {
    margin-right: 1px;
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    vertical-align: baseline;
    cursor: pointer;
}

.col-doc-date {
    width: 8%;
    max-width: 8%;
    min-width: 8%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.col-doc-date-backorder {
    width: 10%;
    max-width: 10%;
    min-width: 10%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.col-doc-number {
    width: 8%;
    max-width: 8%;
    min-width: 8%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.col-ref-number {
    width: 9%;
    max-width: 9%;
    min-width: 9%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.col-top-part-no {
    width: 16%;
    max-width: 16%;
    min-width: 16%;
    font-family: 'Stainless-Light';
    font-size: 16px;
    text-align: left;
}

.col-description {
    width: 30%;
    font-family: 'Stainless-Light';
    font-size: 16px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-icon-doc-number {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.col-doc-product-code {
    width: 8%;
    max-width: 8%;
    min-width: 8%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.col-sale-qty {
    width: 7%;
    max-width: 7%;
    min-width: 7%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    text-align: center;
}

.col-doc-unit-price {
    width: 7%;
    max-width: 7%;
    min-width: 7%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.freight-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.freight-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 300px;
    border-radius: 8px;
    text-align: center;
}

.freight-modal-content input {
    width: 80%;
    padding: 8px;
    margin-bottom: 10px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.freight-modal-content button {
    padding: 6px 12px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    cursor: pointer;
}

.freight-close {
    float: right;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    cursor: pointer;
}

.menu-container {
    position: relative;
    overflow: visible;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.menu-dropdown {
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border-radius: 4px;
    min-width: 200px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.menu-item {
    padding: 8px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.menu-item:hover {
    background-color: #f0f0f0;
}

.menu-divider {
    border-top: 1px solid #ddd;
    margin: 4px 0;
}

.confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.confirm-box {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 300px;
}

.confirm-box p {
    margin-bottom: 15px;
    font-size: 16px;
}

.confirm-actions button {
    margin: 0 10px;
    padding: 6px 16px;
    font-size: 14px;
    cursor: pointer;
}

#confirm-yes,
#confirm-cancel {
    background-color: #C3091D;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    outline: none;
}

#confirm-cancel {
    background-color: #DBDBDB;
    color: black;
}

#confirm-yes:focus,
#confirm-cancel:focus {
    border: 2px solid #111211;
}

#confirm-yes:hover {
    background-color: #AF091D;
}

#confirm-cancel:hover {
    background-color: #646464;
}

.welcome-label {
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 20px;
    white-space: nowrap;
    min-width: 130px;
    max-width: 130px;
}

.item-master-label {
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 30px;
    white-space: nowrap;
    min-width: 180px;
    max-width: 180px;
}

.data-label {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 30px;
    white-space: nowrap;
    min-width: 130px;
    max-width: 130px;
}

.user-label {
    color: #C3091D;
    font-family: 'Stainless-Regular';
    font-size: 20px;
    white-space: nowrap;
    min-width: 130px;
    max-width: 130px;
}

.date-label {
    min-width: 90px;
    max-width: 90px;
}

.col-item-master-1 {
    width: 7%;
    max-width: 7%;
    min-width: 7%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin: 0px;
    vertical-align: top;
    padding: 8px;
    background-color: #DBDBDB;
}

.col-item-master-2 {
    width: 15%;
    max-width: 15%;
    min-width: 15%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin: 0px;
    vertical-align: top;
    padding: 8px;
    background-color: #DBDBDB;
}

.col-item-master-4 {
    width: 12%;
    max-width: 12%;
    min-width: 12%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin: 0px;
    vertical-align: top;
    padding: 8px;
    background-color: #DBDBDB;
}

.col-item-master-5 {
    width: 8%;
    max-width: 8%;
    min-width: 8%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin: 0px;
    vertical-align: top;
    padding: 8px;
    text-align: right;
    background-color: #DBDBDB;
}

.label-item-master {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-bottom: 5px;
    min-width: 50px;
    min-height: 20px;
    max-height: 20px;
    display: block;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.4;
}

.label-item-name {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-bottom: 5px;
    min-height: 35px;
    max-height: 35px;
    display: block;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.4;
}

.item-master-brand {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-bottom: 5px;
    min-height: 35px;
    max-height: 35px;
    display: flex;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.4;
    gap: 20px;
    align-items: center;
}

.item-master-brand-img {
    max-width: 200px;
    max-height: 35px;
    min-height: 35px;
}

.item-master-img-heading {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-bottom: 5px;
    max-height: 200px;
    min-height: 200px;
    display: block;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.4;
}

.item-master-img {
    background-color: #FFFFFF;
    max-width: 200px;
    min-width: 200px;
    max-height: 200px;
    min-height: 200px;
}

.label-note-item-master {
    color: #111211;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-left: 10px;
    border: none;
    display: inline-block;
    max-width: 600px;
    line-height: 1.4;
}

.btn-item-master1 {
    border-radius: 10px;
    padding-bottom: 7px;
    font-family: 'Stainless-Bold';
    font-size: 16px;
    border: none;
    height: 35px;
    min-width: 60px;
    max-width: 60px;
    color: #FFFFFF;
    background-color: #C3091D;
    margin-top: 5px;
}

.button-icons {
    cursor: pointer;
    margin-left: 5px;
    margin-right: 40px;
    padding-right: 0px;
    background-color: transparent;
    border: none;
}

.button-icons:disabled {
    cursor: not-allowed !important;
    opacity: 0.6;
}

.button-icons:disabled .button-icons-img {
    opacity: 0.4;
    filter: grayscale(100%);
    pointer-events: none;
}

.performance-icons {
    cursor: pointer;
    margin-left: 5px;
    background-color: transparent;
    border: none;
}

.user-text-info {
    display: flex;
    flex-direction: column;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-right: 10px;
    color: #111211;
    margin-right: 20px;
    padding: 10px;
}

.user-text-field {
    resize: none;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    margin-bottom: 2px;
    border-radius: 6px;
    border: none;
    width: 100%;
    min-width: 600px;
    height: 150px;
}

.user-text-field[readonly] {
    cursor: not-allowed;
}

.col-sr-no-IM {
    width: 2%;
    max-width: 2%;
    min-width: 2%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}
.supplier-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
.col-sr-no-BO {
    width: 5%;
    max-width: 5%;
    min-width: 5%;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}

.filter-document-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.filter-document-modal {
    position: relative;
    background-color: #515151;
    padding: 40px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    min-width: 550px;
    max-width: 550px;
    min-height: 380px;
    max-height: 380px;
    animation: fadeIn 0.3s ease;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    opacity: 0.99;
}

.filter-input-field {
    background-color: #FFFFFF;
    padding: 1px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-radius: 2px;
    min-width: 150px;
    max-width: 150px;
    border: none;
    height: 23px;
}

.date-input {
    background-color: #FFFFFF;
    padding: 1px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border-radius: 2px;
    min-width: 150px;
    max-width: 150px;
    border: none;
    height: 23px;
}

.date-input::-webkit-calendar-picker-indicator {
    filter: invert(15%) sepia(97%) saturate(7500%) hue-rotate(344deg) brightness(95%) contrast(105%);
    cursor: pointer;
}

.date-input:hover::-webkit-calendar-picker-indicator {
    filter: invert(15%) sepia(97%) saturate(7500%) hue-rotate(344deg) brightness(95%) contrast(105%);
}

.sales-persons-dropdown-container {
    position: relative;
    display: inline-block;
    width: 100px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.sales-persons-dropdown-container::after {
    content: "▼";
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #C3091D;
    background-color: white;
    position: absolute;
    top: 55%;
    right: 3px;
    transform: translateY(-50%);
    pointer-events: none;
}

.trends-details-list {
    width: 170px;
}


.trends-listbox-item {
    padding-top: 10px;
    padding-bottom: 3px;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #C3091D;
    color: #111211;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    font-weight: normal;
    background-color: transparent;
    transition: background-color 0.2s;
}

.trends-listbox-item.selected {
    font-family: 'Stainless-Light';
    font-size: 16px;
    color: #C3091D;
}

.trends-listbox-item:hover {
    font-family: 'Stainless-Light';
    font-size: 16px;
    color: #C3091D;
}

.trends-listbox-item .arrow {
    font-family: 'Stainless-Light';
    font-size: 16px;
    color: #C3091D;
    margin-left: 10px;
}

.trends-listbox-item span {
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.trends-content {
    min-width: 80%;
}

.monthlysales-table,
.salesbyqty-table,
.toppartno-table,
.salesbygp-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    background: white;
}

.salesbyqty-table,
.salesbygp-table {
    table-layout: fixed;
}

.table-wrapper {
    padding-right: 10px;
}

.performance-table-wrapper {
    padding-right: 5px;
}

.salesbyqty-table th,
.monthlysales-table th,
.toppartno-table th,
.salesbygp-table th {
    background-color: #DBDBDB;
    padding: 9px;
    font-family: 'Stainless-Light';
    font-size: 16px;
    color: #111211;
    border-bottom: 1px solid #C3091D;
}

.salesbyqty-table td,
.salesbygp-table td {
    background-color: transparent;
    padding: 7px 4px;
    font-family: 'Stainless-Light';
    font-size: 16px;
    color: #C3091D;
    border-bottom: 1px solid #646464;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0;
}

.monthlysales-table td {
    background-color: transparent;
    padding: 5px 3px;
    font-family: 'Stainless-Light';
    font-size: 13px;
    color: #C3091D;
    border: none;
}

.monthlysales-table .section-header {
    display: table-row;
    background-color: transparent;
}

.monthlysales-table .section-header td {
    font-family: 'Stainless-Bold';
    font-size: 14px;
    color: #111211;
    text-align: left;
    padding: 10px 3px 4px;
    background-color: transparent;
}

.monthlysales-table .divider-row td {
    border-bottom: 1px solid #C3091D;
    height: 3px;
    padding: 0;
}

.monthlysales-table .bold-text {
    font-family: 'Stainless-Bold';
    color: #111211;
}

.monthlysales-table .final-total-row td {
    font-family: 'Stainless-Regular';
    color: #111211;
}

.monthlysales-table .final-total-row .total-amount {
    text-align: right;
}

.toppartno-table td {
    background-color: transparent;
    padding: 7px 6px;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.salesbyqty-table td:not(:first-child),
.salesbygp-table td:not(:first-child) {
    border-bottom: 1px solid #646464;
}

.salesbyqty-table td:first-child,
.salesbyqty-table td:first-child,
.salesbygp-table td:first-child {
    border-bottom: none;
}

.salesbyqty-table th:first-child,
.salesbyqty-table td:first-child,
.salesbygp-table th:first-child,
.salesbygp-table td:first-child {
    color: #111211;
    font-family: 'Stainless-Bold';
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.monthlysales-table th:first-child,
.monthlysales-table td:first-child {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 13px;
    width: 95px;
    min-width: 95px;
    max-width: 95px;
    text-align: left;
    padding-left: 3px;
}

.monthlysales-table tr:not(.section-header) td:first-child {
    padding-left: 8px;
}

.toppartno-table td:last-child {
    color: #C3091D;
    font-family: 'Stainless-Light';
    width: 30px;
    min-width: 30px;
    max-width: 30px;
}

.salesbyqty-table tr:nth-child(odd),
.monthlysales-table tr:nth-child(odd),
.toppartno-table tr:nth-child(odd),
.salesbygp-table tr:nth-child(odd) {
    background-color: #DBDBDB;
    font-family: 'Stainless-Light';
    font-size: 16px;
    height: 10px;
    line-height: 10px;
}

.label-trend {
    color: #111211;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border: none;
    min-width: 160px;
    max-width: 160px;
    margin-right: 5px;
    margin-top: 3px;
}

.label-trend-by-qty {
    color: #111211;
    white-space: nowrap;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    border: none;
    min-width: 220px;
    max-width: 220px;
    margin-right: 5px;
    margin-top: 3px;
}

.year-dropdown-container {
    position: relative;
    display: inline-block;
    width: 130px;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.year-dropdown-container::after {
    content: "▼";
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #C3091D;
    background-color: white;
    position: absolute;
    top: 55%;
    right: 3px;
    transform: translateY(-50%);
    pointer-events: none;
}

.col-trend {
    min-width: 260px;
    max-width: 260px;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.col-trend1 {
    width: 280px;
    flex: 1;
    font-family: 'Stainless-Light';
    font-size: 16px;
}

.col-trend p {
    margin: 2px 0;
    font-family: 'Stainless-Light';
    font-size: 16px;
    display: flex;
    justify-content: space-between;
}

.col-trend span {
    font-family: 'Stainless-Light';
    font-size: 16px;
    color: #C3091D;
}

.col-trend canvas {
    width: 120px !important;
    height: 120px !important;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #C3091D;
}

.col-trend canvas.canvas1 {
    width: 270px !important;
    height: 120px !important;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    color: #C3091D;
}

.chart-legend-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overall-row {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    max-height: 170px;
    min-height: 170px;
}

.left-menu {
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.update-section {
    background-color: #DBDBDB;
    padding: 5px 12px;
    border-radius: 5px;
    margin-bottom: 7px;
}

.update-header {
    display: flex;
    align-items: center;
    height: 90px;
    gap: 10px;
}

.refresh-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    height: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
}

.refresh-button img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.update-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.performance-label {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

.update-label {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.update-time {
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    line-height: 1.4;
}

.section-header {
    display: flex;
    background-color: #DBDBDB;
    border-radius: 5px;
    flex-direction: column;
    gap: 0;
}

.section-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    margin: 0;
}

.section-header hr {
    border: none;
    border-top: 4px solid #C3091D;
    margin: 0;
}

.section-title {
    font-family: 'Stainless-Bold';
    font-size: 18px;
    color: #111211;
}

.section-icons {
    display: flex;
    gap: 10px;
}

.group-list {
    display: flex;
    background-color: #DBDBDB;
    flex-direction: column;
    border-radius: 5px;
    padding: 10px;
    gap: 5px;
    min-height: 250px;
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

.group-list::-webkit-scrollbar {
    width: 10px;
}

.group-list::-webkit-scrollbar-thumb {
    background-color: #C3091D;
    border-radius: 3px;
}

.group-item {
    padding: 7px;
    background-color: #C0C0C0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    color: #111211;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.group-item:hover {
    background-color: #C3091D;
    color: #FFFFFF;
}

.group-item.active {
    background-color: #C3091D;
    color: #FFFFFF;
    font-family: 'Stainless-Regular';
    font-size: 16px;
}

.month-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
}

.month-btn {
    padding: 7px;
    border: none;
    border-radius: 4px;
    background-color: #C0C0C0;
    color: #111211;
    cursor: pointer;
    font-family: 'Stainless-Regular';
    font-size: 16px;
    width: 70px;
    display: inline-block;
    text-align: left;
    transition: all 0.2s;
}

.month-btn:hover {
    background-color: #C3091D;
    color: #FFFFFF;
}

.month-btn.active {
    background-color: #C3091D;
    color: #FFFFFF;
}


.wizard-qty-input {
    width: 45px;
}

.chart-container {
    width: 200px;
    text-align: center;
}

.chart-container canvas {
    height: 200px !important;
    width: 840px !important;
}

.doughnut-wrapper {
    width: 100%;
    height: 240px;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}

.doughnut-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}


@media (orientation: landscape) {
    .login-container {
        padding-top: 150px;
    }
    .logo {
        margin-bottom: 45px;
    }
    .tagline {
        margin-left: 5px;
    }
    .input-field {
        min-width: 130px;
        max-width: 130px;
    }
    .doc-input-field {
        min-width: 140px;
        max-width: 140px;
    }
    .doc-input-field_SP {
        min-width: 170px;
        max-width: 170px;
    }
    .col-3 {
        width: 25%;
    }
    .col-sr-no {
        width: 4%;
        max-width: 4%;
        min-width: 4%;
    }
    .col-item-no {
        width: 22%;
        max-width: 22%;
        min-width: 22%;
    }
    .col-productname {
        width: 40%;
    }
    .col-qty {
        width: 10%;
        max-width: 10%;
        min-width: 10%;
    }
    .col-committed-qty {
        width: 7%;
        max-width: 7%;
        min-width: 7%;
    }
    .col-committed-qty_c {
        width: 10%;
        max-width: 10%;
        min-width: 10%;
    }
    .col-warehouse {
        width: 10%;
        max-width: 10%;
        min-width: 10%;
    }
    .col-stock {
        width: 11%;
        max-width: 11%;
        min-width: 11%;
    }
    .col-unit-price {
        width: 13%;
        max-width: 13%;
        min-width: 13%;
    }
    .col-total-price {
        width: 13%;
        max-width: 13%;
        min-width: 13%;
    }
    .col-cost-price {
        width: 13%;
        max-width: 13%;
        min-width: 13%;
    }
    .col-icons {
        width: 5%;
        max-width: 5%;
        min-width: 5%;
    }
    .customer-info {
        padding-left: 80px;
    }
    .sales-history-popup {
        top: 13%;
        left: 40px;
    }
    .sales-committed-popup {
        top: 13%;
        left: 40px;
        height: 70%;
    }
    body.touch-device.landscape .custom-scrollbar-table-backorder {
        max-height: 600px;
    }
    .col-doc-date {
        width: 8%;
        max-width: 8%;
        min-width: 8%;
    }
    .col-doc-date-backorder {
        width: 10%;
        max-width: 10%;
        min-width: 10%;
    }

    .col-doc-number {
        width: 11%;
        max-width: 11%;
        min-width: 11%;
    }
    .col-ref-number {
        width: 12%;
        max-width: 12%;
        min-width: 12%;
    }
    .col-doc-product-code {
        width: 12%;
        max-width: 12%;
        min-width: 12%;
    }
    .col-sale-qty {
        width: 6%;
        max-width: 6%;
        min-width: 6%;
    }
    .col-doc-unit-price {
        width: 10%;
        max-width: 10%;
        min-width: 10%;
    }
    .tile-btn {
        margin: 50px 50px;
        min-width: 240px;
        max-width: 240px;
        min-height: 220px;
        max-height: 220px;
    }
}

@media (orientation: portrait) {
    .login-container {
        padding-top: 350px;
    }
    .header {
        padding-top: 8%;
    }
    .logo {
        margin-bottom: 65px;
    }
    .logo-sales {
        width: 250px;
    }
    .tagline {
        margin-left: 5px;
    }
    .doc-input-field {
        min-width: 130px;
        max-width: 130px;
    }
    .doc-input-field_SP {
        min-width: 160px;
        max-width: 160px;
    }
    .input-field {
        min-width: 110px;
        max-width: 110px;
    }
    .col-3 {
        width: 40%;
    }
    .label-document {
        width: 75px;
        margin-left: auto;
    }
    .qty-input {
        width: 25px;
    }
    .qty-btn {
        width: 14px;
        min-width: 14px;
        max-width: 14px;
    }
    .col-sr-no {
        width: 6%;
        max-width: 6%;
        min-width: 6%;
    }
    .col-item-no {
        width: 25%;
        max-width: 25%;
        min-width: 25%;
    }
    .col-productname {
        width: 22%;
        min-width: 22%;
        max-width: 22%;
    }
    .col-qty {
        width: 12%;
        max-width: 12%;
        min-width: 12%;
    }
    .col-committed-qty {
        width: 12%;
        max-width: 12%;
        min-width: 12%;
    }
    .col-committed-qty_c {
        width: 14%;
        max-width: 14%;
        min-width: 14%;
    }
    .col-warehouse {
        width: 13%;
        max-width: 13%;
        min-width: 13%;
    }
    .col-stock {
        width: 16%;
        max-width: 16%;
        min-width: 16%;
    }
    .col-unit-price {
        width: 18%;
        max-width: 18%;
        min-width: 18%;
    }
    .col-total-price {
        width: 18%;
        max-width: 18%;
        min-width: 18%;
    }
    .col-cost-price {
        width: 18%;
        max-width: 18%;
        min-width: 18%;
    }
    .col-icons {
        width: 4%;
        max-width: 4%;
        min-width: 4%;
    }
    .tab-content {
        height: 550px;
    }
    .customer-info {
        padding-left: 30px;
    }
    .btn-cust-details {
        min-width: 18%;
        max-width: 18%;
    }
    .sales-history-popup {
        top: 20%;
        left: 40px;
    }
    .sales-committed-popup {
        top: 13%;
        left: 40px;
        height: 70%;
    }
    body.touch-device.landscape .custom-scrollbar-table-backorder {
        max-height: 650px;
    }
    .col-doc-date {
        width: 14%;
        max-width: 14%;
        min-width: 14%;
    }
    .col-doc-date-backorder {
        width: 15%;
        max-width: 15%;
        min-width: 15%;
        font-family: 'Stainless-Regular';
        font-size: 16px;
    }

    .col-doc-number {
        width: 18%;
        max-width: 18%;
        min-width: 18%;
    }
    .col-ref-number {
        width: 19%;
        max-width: 19%;
        min-width: 19%;
    }
    .col-doc-product-code {
        width: 20%;
        max-width: 20%;
        min-width: 20%;
    }
    .col-sale-qty {
        width: 7%;
        max-width: 7%;
        min-width: 7%;
    }
    .col-doc-unit-price {
        width: 15%;
        max-width: 15%;
        min-width: 15%;
    }
    .tile-btn {
        margin: 50px 5px;
        min-width: 200px;
        max-width: 200px;
        min-height: 200px;
        max-height: 200px;
    }
    #toast-container {
        right: 5% !important;
        left: 50% !important;
        width: 90% !important;
    }
}

@media (max-width: 1280px) {
    body > #toast-container {
        right: 20px !important;
        top: 15px !important;
    }
}

@media (max-width: 768px) {
    #toast-container {
        right: 5% !important;
        left: 5% !important;
        width: 90% !important;
    }
}

.add-shipaddress-modal {
    overflow: visible !important;
}

.email-suggestions {
    position: fixed;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    z-index: 2147483647;
    /* Max Int */
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    width: auto;
}

.email-suggestions li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 14px;
}

.email-suggestions li:hover {
    background-color: #f0f0f0;
}

#clearAllBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}