:root {
    --Primary: #0ABB70;
    --Primary2: #0F7361;
    --PrimaryHover: #ebfef3;
    --Neutral-1: #141518;
    --Neutral-8: #FFF;
    --blue-1: #366BBB;
    --Neutral-5: #F4F4F4;
    --red: #ff0000;
    --itms-table-hover-bg: #F0FFF7;
    --secondary: #2fd88a;
    --itms-font-size-12: 12px;
    --itms-font-size-14: 14px;
    --itms-font-size-16: 16px;
    --itms-font-size-20: 20px;
    --itms-font-size-40: 40px;
    --itms-font-weight-400: 400;
    --itms-font-weight-600: 600;
    --header-1: #C8714C;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Darker background for more emphasis */
    /*border-radius: 10px;*/ /* Rounded corners for a smooth look */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Soft shadow for depth */

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1500; /* Ensure it's above other elements */
}
.card-status-header {
    font-size: var(--itms-font-size-14);
    margin: 0; /* Removes default margins */
    line-height: 1.5; /* Reduces vertical spacing */
    font-weight:600;
}
.card-status-header-count {
    font-size: var(--itms-font-size-40);
    margin: 0; /* Removes default margins */
    line-height: 1.5; /* Reduces vertical spacing */
    font-weight: 600;
    color:var(--Primary)
}

.loader {
    width: 100px; /* Adjust size as needed */
    height: 100px; /* Adjust size as needed */
    background-image: url('../gif/preloader-eod.gif');
    background-size: cover;
    background-repeat: no-repeat;
}

.center {
    padding-top: 1rem;
    text-align: right;
}

/* .common-header:first-child {
        border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
        font-size: var(--itms-font-size-20) !important;
    }*/
.card {
    background-clip: padding-box;
    box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0 solid #d9dee3;
    border-radius: 0.5rem;
}
.content-wrapper {
    padding-bottom: 0 !important;
    width: 100%;
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    
}
.card-body {
    flex: 1 1 auto;
    padding: 1.5rem 1.5rem;
}

.form-switch .form-check-input:checked {
    background-color: var(--Primary);
}
.form-check-input:checked {
    background-color: var(--Primary);
}
/*--Abishek changes---*/
/*.form-switch .form-check-input:checked {
    background-color: var(--Primary);
}*/
/*.form-check-input:checked {
    background-color: var(--Primary);
}*/
/*--Abishek changes--*/
.fixed-bottom-buttons {
    position: sticky;
    bottom: 0;
    z-index: 1000;
}

/* Full-page loader overlay */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* optional background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure the loader is on top of all other content */
}

/* Loader CSS (as you already have) */
.loader {
    position: relative;
    width: 130px;
    height: 100px;
    background-repeat: no-repeat;
    background-image: linear-gradient(#388e3c, #388e3c), /* Dark Green */
    linear-gradient(#66bb6a, #81c784), /* Light Green */
    linear-gradient(#66bb6a, #81c784); /* Light Green */
    background-size: 80px 70px, 30px 50px, 30px 30px;
    background-position: 0 0, 80px 20px, 100px 40px;
}

.loader:after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 12px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-sizing: content-box;
    border: 10px solid #000;
    box-shadow: 78px 0 0 -10px #fff, 78px 0 #000;
    animation: wheelSk 0.75s ease-in infinite alternate;
}

.loader:before {
    content: "";
    position: absolute;
    right: 100%;
    top: 0px;
    height: 70px;
    width: 70px;
    background-image: linear-gradient(#ff3d00 45px, transparent 0), /* Red gradient */
    linear-gradient(#ff7043 45px, transparent 0), /* Lighter red gradient */
    linear-gradient(#ff3d00 45px, transparent 0); /* Red gradient */
    background-repeat: no-repeat;
    background-size: 30px 4px;
    background-position: 0px 11px, 8px 35px, 0px 60px;
    animation: lineDropping 0.75s linear infinite;
}

/* Adding the "ITMS" text to the loader's body */
.loader .truck-body-text {
    position: absolute;
    top: 35%;  /* Adjust this value to center vertically */
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
    color: #fff;  /* White text */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Optional shadow for better visibility */
    z-index: 2;
}

@keyframes wheelSk {
    0%, 50%, 100% {
        transform: translatey(0)
    }

    30%, 90% {
        transform: translatey(-3px)
    }
}

@keyframes lineDropping {
    0% {
        background-position: 100px 11px, 115px 35px, 105px 60px;
        opacity: 1;
    }

    50% {
        background-position: 0px 11px, 20px 35px, 5px 60px
    }

    60% {
        background-position: -30px 11px, 0px 35px, -10px 60px
    }

    75%, 100% {
        background-position: -30px 11px, -30px 35px, -30px 60px;
        opacity: 0;
    }
}

/* Hide the loader after page load */
.loader-wrapper.hidden {
    display: none;
}

.custom-nav {
    padding-left: 0;
    margin-bottom: 5px;
    gap:5px !important;
    border:0px;
    border-radius: 10px 10px 0 0; /* Rounded corners only at the top */
}

/* Custom tab button style */
    .custom-nav .nav-link {
        color: white !important; /* Dark grey text for non-active tabs */
        padding: 10px 15px; /* Padding inside each tab */
        border: 1px solid #ddd; /* Light grey border for non-active tabs */
        border-radius: 10px 10px 0 0; /* Rounded corners only at the top */
        font-weight: 600; /* Bold text */
        background-color: #0f7361; /* Light grey background for inactive tabs */
        transition: all 0.3s ease-in-out; /* Smooth transition */
    }

/* Custom non-active (inactive) tab button */
    .custom-nav .nav-link:not(.active) {
        color: grey !important;
        background-color: #f4f4f4; /* Light grey background for inactive tabs */
        border-color: #ddd; /* Soft grey border */
        color: #6c757d; /* Dark grey color for inactive text */
    }

/* Custom active tab button */
        .custom-nav .nav-link.active {
            background-color: #0f7361 !important; /* Rich green background for active tab */
            border-color: white; /* Darker green border for active tab */
            color: #ffffff; /* White text for active tab */
        }

/* Custom hover effect for tabs */
        .custom-nav .nav-link:hover {
            background-color: #2fd88a !important; /* Lighter, brighter green on hover */
            color: white !important;
        }
            /* Adjusting hidden tab buttons to be more readable */
            .custom-nav .nav-item[style="display:none;"] .nav-link {
    color: #aaa; /* Light grey color for hidden tabs */
}

/* Custom navbar with rounded corners on all sides */
/* Custom navbar with rounded corners on all sides */
.custom-rounded-nav {
    padding-left: 0;
    margin-bottom: 20px;
    border-radius: 10px !important; /* Rounded corners on all sides */
}

    /* Custom tab button style */
    .custom-rounded-nav .nav-link {
        color: white !important; /* Default white text for all tabs */
        padding: 10px 15px; /* Padding inside each tab */
        border: 1px solid #ddd; /* Light grey border for all tabs */
        border-radius: 10px; /* Rounded corners on all sides */
        font-weight: 600; /* Bold text */
        background-color: red !important; /* Default green background */
        display: flex;
        align-items: center;
        justify-content: space-between; /* Space between name and tick */
        gap: 10px; /* Space between text and tick */
        transition: all 0.3s ease-in-out; /* Smooth transition */
    }

        /* Non-active (inactive) tab button */
        .custom-rounded-nav .nav-link:not(.active) {
            background-color: #f4f4f4 !important; /* Light grey background for inactive tabs */
            border-color: #ddd; /* Soft grey border */
            color: #6c757d !important; /* Dark grey text color */
            text-align: center !important;
        }

        /* Active tab button */
        .custom-rounded-nav .nav-link.active {
            background-color: #0f7361 !important; /* Rich green background for active tab */
            border-color: white; /* Darker green border for active tab */
            color: #ffffff; /* White text for active tab */
        }

        /* Hover effect for tabs */
        .custom-rounded-nav .nav-link:hover {
            background-color: #2fd88a !important; /* Lighter, brighter green on hover */
            color: white !important;
        }

        /* Tick symbol styling */
        .custom-rounded-nav .nav-link .tick-symbol {
            font-size: 16px; /* Adjust the tick size */
            color: white; /* White tick */
            visibility: hidden; /* Hide tick symbol by default */
            border-radius: 10px;
        }

        /* Show tick for active tabs only */
        .custom-rounded-nav .nav-link.active .tick-symbol {
            visibility: visible; /* Show tick only for active tabs */
        }

    /* Adjust hidden tab buttons for better readability */
    .custom-rounded-nav .nav-item[style="display:none;"] .nav-link {
        color: #aaa; /* Light grey color for hidden tabs */
    }


/* Sidebar styles */
.managementBar.active {
    background-color: var(--Primary) !important;
    color: white !important;
}

.managementBar {
    background-color: white !important;
    color: black !important;
}
    .managementBar:hover {
        background-color: var(--Primary) !important;
        color: white !important;
    }

.modal-header {
    display:flex;
    padding: 0px !important;
    padding: 10px !important;
    background-color: var(--Primary);
    color:white !important;
    align-items:center !important;
    justify-content:center;
     padding-top:10px;
     padding-bottom:0px;
        border:none;
}

.floating-nav-header {
    font-size: var(--itms-font-size-14);
    color: white
}


.invalid-field {
    background-color: #ffdddd;
}

.floating-div {
    position: fixed;
    left: 100px;
    width: 240px;
    min-height:190px;
    top: 115px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    /* padding: 15px; */
    z-index: 9999;
}

.floating-div2 {
    position: fixed;
    left: 350px;
    top: 160px;
    width: 240px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 15px;
    z-index: 9999;
}

.floating-div3 {
    position: fixed;
    left: 600px;
    top: 190px;
    width: 240px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    padding: 15px;
    z-index: 9999;
}

.floating-div  h3 {
    margin: 0;
    font-size: 15px;
    text-align: left;
    background-color: var(--Primary) !important;
    color: white;
    padding: 10px !important;
}

.floating-div2 h3 {
    margin: 0;
    font-size: 18px;
    text-align: center;
}

.floating-div ul {
    list-style: none;
    padding: 0px;
}

.floating-div2 ul {
    list-style: none;
    padding: 0;
}

.floating-div ul li {
    padding: 0px;
}

.floating-div2 ul li {
    padding: 0px 0;
}

.close-btn {
    position: absolute;
    top: 3px;
    right: 10px;
    background: green;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 5px;
    border-radius: 5px;
}

.close-btn2 {
    position: absolute;
    top: 5px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 5px;
    border-radius: 5px;
}

#item1 {
    cursor: pointer;
}

#openlastmodel {
    cursor: pointer
}

.page-item {
    padding-right: .25rem !important;
    padding-left: .25rem !important;
}
.selectedRow {
    --bs-table-bg-state: #43ca8c;
    /*--bs-table-bg-state:red !important;*/
}
.unselectedRow {
    --bs-table-bg-state:var(--red) ;
}
/*.btn-previous {
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(15, 115, 97);
}*/


.minCardHeight {
    max-height: 340px; /* or whatever min height you want */
    overflow-y: auto;
}

.table-scroll-body {
    display: block;
}






.minCardHeightEmpty {
    height: 422px;
    overflow-y: auto;
}

.itms-input-group {
    position: relative;
    display: flex;
    flex-direction: row;
    /*flex-wrap: wrap;*/
    align-items: stretch;
   width: 25%;
}
.itms-input-group-childinput{

    width:88%;
}
.btn:first-child:active {
    border-color: none !important;
}

/*this line of code for hide the numeric input field increase and decrease */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pullback{
    cursor:pointer;
    color:var(--blue-1)
}

/* Use this CSS for smooth border feedback */
.onlyNumberInput {
    transition: border 0.3s ease;
}

    .onlyNumberInput.invalid {
        border: 2px solid red !important;
        background-color: #ffdddd;
    }

    .onlyNumberInput.valid {
        border: 2px solid darkgreen !important;
    }

.input-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.form-control.select-style {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #6c757d;
    pointer-events: none;
    z-index: 1;
}

.form-control.select-style:hover + .select-arrow {
    border-top-color: #495057;
}

.form-control.select-style:focus + .select-arrow {
    border-top-color: #007bff;
}

.form-control.select-style:disabled + .select-arrow {
    border-top-color: #ccc;
}

/* Optional: Add a subtle border to make it look more like a select */
.form-control.select-style {
    border: 1px solid #ced4da;
    border-radius: 4px;
}

    /*.form-control.select-style:focus {
        border-color: #007bff;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }*/



