:root {
    --color-primary: #330000;
    --table-header-bgcolor: var(--color-primary);
    --table-header-color: #FFFFFF;
    --color-secondary: #f2f2f2;
    --color-info: var(--color-primary);
    --color-green: #6e7e1b;
    --color-green-2: #6ca342;
    --color-green-3: #D1CAC2;
    --color-yellow: #F9E79F;
    --color-gray: #d7d7d7;
    --color-gray-2: #d8d8d8;
    --color-gray-3: #797979;
    --color-gray-4: #565051;
    --color-gray-5: #837E7C;
    --color-cream: #C9C0BB;
    --color-blue-1: #2E86C1;
    --color-blue-2: #34495E;
    --color-alert: #FFD100;
    --border-radius: 4px;
    --border-radius-top: 4px 4px 0 0;
}
main {
    flex: 1;
    margin-top: 10px;
}

.modal-msgs {
    font-style: italic;
    font-size: smaller;
}

.form-group.required .control-label:after {
    content: "*";
    color: red;
}

.loadercentered {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
    cursor: progress;
    color: whitesmoke;
}

.loaderImg {
    height: 50px;
    z-index: 1057;
}

.card-rate {
    background-color: rgba(214, 214, 214, 1);
    border-radius: 4px;
    padding: 20px 30px;
    text-transform: uppercase;
    margin: 10px 0;
}
.FFM-Header-HeaderBar {
    color: #FFFFFF !important;
    background-color: #330000;
    height: 40px;
}
    .FFM-Header-HeaderBar td {
        color: #FFFFFF;
         font-weight: bold; 
         font-size: 9pt; 
    }

/*Commodity Styles*/
.wrap-collabsible input[type='checkbox'] {
    display: none;
}

.wrap-collabsible {
    margin: 1.2rem 0;
}

.lbl-toggle {
    display: block;
    font-weight: bold;
    font-family: monospace;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding: 1rem;
    color: #DDD;
    background: #426DA9;
    cursor: pointer;
    border-radius: 7px;
    transition: all 0.25s ease-out;
}

    .lbl-toggle:hover {
        color: #FFF;
    }

    .lbl-toggle::before {
        content: ' ';
        display: inline-block;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 5px solid currentColor;
        vertical-align: middle;
        margin-right: .7rem;
        transform: translateY(-2px);
        transition: transform .2s ease-out;
    }

.toggle:checked + .lbl-toggle::before {
    transform: rotate(90deg) translateX(-3px);
}

.collapsible-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height .25s ease-in-out;
}

.toggle:checked + .lbl-toggle + .collapsible-content {
    max-height: 550px;
}

.toggle:checked + .lbl-toggle {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.collapsible-content .content-inner {
    background-color: rgba(214, 214, 214, 1);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 20px 30px;
    text-transform: uppercase;
}

.collapsible-content p {
    margin-bottom: 0;
}

.breakupboxClass {
    height: 40px;
    width: 385px;
    background-color: #5e544b;
    color: #fff;
}
.input-group > input[type="text"]:disabled{
    color:#330000;
}
.textalignright {
    text-align: right;
}

.width-auto {
    width:auto !important;
}
#zoomA {
    /* OPTIONAL DIMENSIONS */
    width: 500px;
    height: auto;
    /* ANIMATE ZOOM */
    transition: transform ease-in-out 0.2s;
}
    #zoomA:hover {
        transform: scale(2.2);
    }
.widget-wrap {
    max-width: 600px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.4);
}
button:focus:not(:focus-visible) {
    outline: 0;
    box-shadow: none;
}
.batchrate-sample{
    text-decoration:none;
    color: inherit;
}
    .batchrate-sample:hover, .batchrate-sample:focus {
        text-decoration: none;
        color: inherit;
    }
.batch-rate> button{
    width:auto;
}
nav.appbar ul:first-child >li select {
    width: 100% !important;
    display: inline-block;
    color: white;
    background-color: var(--navapp-item-bgcolor);
    text-decoration: none;
    padding: 13px 22px;
    min-width: 130px;
    white-space: nowrap;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: left;
    border: none;
}

nav.appbar ul:first-child > li select option {
    position: absolute;
    min-width: 20%;
    background-color: var(--navapp-sub-item-bgcolor);
    border-radius: 0 0 4px 4px;
    box-shadow: 2px 2px 3px 0 var(--color-black-35);
}
:focus-visible {
    outline: -webkit-focus-ring-color auto 0px;
}
nav.appbar ul:first-child > li select.form-select {
    background-image: url("../img/icon-arrow-triangle-down-white.svg");
    margin-left: 20px;
}
.mobileAppsMenu .list-group li select {
    background-color: #5E544B;
    font-family: "Segoe UI", sans-serif;
    font-size: 1.5rem;
    font-weight: 350;
    font-style: normal;
    color: #fff;
    text-transform: uppercase;
    padding: 0;
    align-items: center;
    text-indent: 1rem;
    border: none;
    min-height: 50px;
}
    .mobileAppsMenu .list-group li select.form-select {
        background-image: url("../img/icon-arrow-triangle-down-white.svg");
    }

.modal .default input,
.modal .default .form-select {
    text-transform: none;
}
/* Remove the border and set background color and height for the dropdown */
.select2-container--default .select2-selection--single {
    background-color: var(--navapp-item-bgcolor); /* Custom background color */
    border: none; /* Remove the border */
    border-radius: 0; /* No rounded corners */
    height: 50px; /* Set height to 50px */
    display: flex;
    align-items: center; /* Vertically center the text */
    padding: 0 1rem; /* Adjust padding */
    color: white; /* Text color white */
    text-transform: uppercase; /* Convert text to uppercase */
    font-size: 16px; /* Adjust font size to be slightly smaller */
    position: relative; /* Position relative for absolute positioning of the arrow */
    width:100%;
}

/* Adjust the height and background for the search input box */
.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: var(--navapp-item-bgcolor); /* Set background color */
    border: 1px solid white; /* Add white border */
    height: 50px; /* Set height to 50px */
    box-sizing: border-box; /* Ensure proper sizing */
    padding: 0 0.75rem; /* Adjust padding */
    color: white; /* Set text color to white */
    text-transform: uppercase; /* Convert text to uppercase */
    font-size: 1rem; /* Adjust font size */
}

/* Custom arrow using an image */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 12px; /* Adjust height of the arrow */
    width: 12px; /* Adjust width of the arrow */
    position: absolute;
    right: 10px; /* Adjust positioning if necessary */
    top: 50%;
    transform: translateY(-50%); /* Vertically center the arrow */
    background-image: url("../img/icon-arrow-triangle-down-white.svg"); /* Custom arrow image */
    background-size: contain; /* Scale the image to fit */
    background-repeat: no-repeat; /* Prevent repeating */
    background-position: center; /* Center the image */
}

    /* Hide the default arrow (if it's still showing) */
    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        display: none; /* Hide the default arrow */
    }

/* Customize the dropdown options */
.select2-container--default .select2-results__option {
    padding: 0.75rem 1rem; /* Adjust padding */
    font-size: 1rem; /* Font size */
    color: white; /* Text color white */
    background-color: var(--navapp-item-bgcolor); /* Use the same background color */
    text-transform: uppercase; /* Convert text to uppercase */
}

/* Placeholder color */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: white; /* Placeholder text color */
}

/* Selected text color */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white; /* Change selected text color to white */
    text-transform: uppercase; /* Keep selected text in uppercase */
}

/* Highlighted dropdown option (hover or selected) */
.select2-container--default .select2-results__option--highlighted {
    background-color: #e9ecef; /* Optional: highlight color */
    color: #495057; /* Text color for highlighted */
}

/* Customize the dropdown container */
.select2-container .select2-dropdown {
    background-color: var(--navapp-item-bgcolor); /* Custom background color */
    border: none; /* Remove the border */
    border-radius: 0; /* No border radius */
    box-shadow: none; /* Remove shadow */
}


    /* Disabled state appearance */
    .select2-container--default .select2-selection--single[aria-disabled="true"] {
        background-color: #e9ecef; /* Disabled background */
        color: white; /* White text even when disabled */
        text-transform: uppercase; /* Ensure text stays uppercase */
    }

    /* Hide the clear button (X) */
    .select2-container--default .select2-selection--single .select2-selection__clear {
        display: none; /* Hide the clear button */
    }
.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 26px;
    padding-right: 37px; 
}
/* Pagination css start */
div.dt-container .dt-paging .dt-paging-button {
    background: -webkit-linear-gradient(top, var(--color-shade-6), var(--color-shade-6) 100%) !important;
    color: var(--color-primary);
    background-color: var(--color-shade-6);
    border: 1px solid var(--color-green-3);
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 16px;
}

    div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover {
        background: -webkit-linear-gradient(top, var(--color-green), var(--color-green) 100%) !important;
        color: var(--color-shade-2) !important;
        background-color: var(--color-green);
        border: 1px solid var(--color-green);
    }

    div.dt-container .dt-paging .dt-paging-button:hover {
        background: -webkit-linear-gradient(top, var(--color-shade-9), var(--color-shade-9) 100%) !important;
        color: var(--color-shade-2);
        background-color: var(--color-shade-9);
        border: 1px solid var(--color-shade-9);
    }
/* Pagination css end */
button#btnforSearch {
    padding: 10px;
    margin: 1px !important;
    background: #426DA9 !important;
}

.ups-subTitle {
    color: #330000;
    font-weight: 600;
}

a.selectedAccount.btn-group {
    color: #330000 !important;
    font-weight: 600;
}
/* Date Picker enabled*/
input[type="date"]::-webkit-calendar-picker-indicator {
    display: block !important;
}
button#btnforFromAddressBook {
    padding: 10px;
    margin: 1px !important;
    background: #426DA9 !important;
}

button#btnforToAddressBook {
    padding: 10px;
    margin: 1px !important;
    background: #426DA9 !important;
    }
/* Specific styles for Add, Delete, and Save buttons */
#btnAddPackage,
#btnDeletePackage,
#btnSavePackage {
    min-width: 120px;
}
.processing {
    pointer-events: none;
    opacity: 0.6;
}
html, body {
    height: 100%;
}

.page-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.flex-fill {
    flex: 1;
}

.maintenance-wrapper {
    min-height: calc(100vh - 140px); /* header + footer */
    width: 100%;
    padding: 2rem;
}

/* === FIX UIKit navbar width without breaking title === */
nav.navbar {
    width: 100%;
}

    nav.navbar > .navbar-brand,
    nav.navbar > .app-title,
    nav.navbar > .navbar-collapse {
        flex: 0 0 auto;
    }

nav.navbar {
    display: flex;
    align-items: center;
}

    nav.navbar .navbar-collapse {
        margin-left: auto;
    }

/* ===== Maintenance page typography fix ===== */
.maintenance-wrapper {
    font-size: 1.1rem;
}

    .maintenance-wrapper h2 {
        font-size: 2rem;
        font-weight: 600;
    }

    .maintenance-wrapper p {
        font-size: 1.1rem;
    }

/*td {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    td: hover {
        text-overflow: clip;
        white-space: normal;
        word-break: break-all;
    }*/