html, body {
    background-color: #eff5f2;
    font-family: "Inter", sans-serif !important;
}

* {
    scrollbar-width: none;
}

.menu-icon .labwise-icon {
    fill: black;
    width: 24px;
    height: 24px;
    transition: fill 0.3s ease;
}

/* Active state */
.menu-link.active .labwise-icon {
    fill: white;
}

html.layout-menu-collapsed:not(.layout-menu-hover) .lap-toggle {
    display: none;
}

.mainSession {
    width: 100%;
    /*height: calc(100vh - 30px);*/ /* Adjust based on header size */
    min-height: calc(100vh - 135px);
    background-color: white; /* Optional */

    margin: 0 !important;
    padding: 1rem; /* Optional for spacing */
    border-radius: 10px;
    box-shadow: 2px 2px 22px rgb(76,78,100,0.22);
}

.dropdown-menu ul li {
    cursor: pointer;
    border-radius: 6px;
}

    .dropdown-menu ul li:hover {
        background-color: #f5f5f5;
    }

.tab-nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    border-bottom: 2px solid #e0e0e0;
    width: 320px;
    align-items: end;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    color: #7A8684;
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

    .tab-btn.active {
        color: #37BD69;
    }


.AILGender {
    width: 24px;
    height: 24px;
    background-color: rgb(175, 239, 235, 0.50);
    color: #00AFD6;
    border-radius: 4px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.AILGenderFemale {
    width: 24px;
    height: 24px;
    background-color: rgb(247, 164, 200,0.50);
    color: #fc5799;
    border-radius: 4px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-indicator {
    position: absolute;
    bottom: -2px;
    height: 2px;
    width: 33.33%;
    background-color: #28a745;
    transition: left 0.3s ease;
}

.dropdown-container {
    position: relative;
    display: inline-block;
}

.legends-btn {
    background: #fff;
    border: 1px solid #cdd4cf;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 16px;
    color: #44544A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 150px;
}

.legends-btn-active {
    background: #F2FFF8;
    border: 1px solid #006D35;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 16px;
    color: #44544A;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 150px;
}

.legends-btn .icon {
    margin-left: 10px;
}

.dropdown-card {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #cdd4cf;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    padding: 12px 16px;
    z-index: 999;
    width: 200px;
}

.section {
    margin-bottom: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-top: 6px;
}

/* Status Colors */
.dot {
    display: inline-block;
    width: 20px;
    height: 14px;
    border-radius: 12px;
}

.box {
    display: inline-block;
    width: 20px;
    height: 14px;
    border-radius: 4px;
}

.green {
    background-color: #34c759;
}

.red {
    background-color: #ff3b30;
}

.gray {
    background-color: #8e8e93;
}

.soft-green {
    background-color: rgb(55,189,105,0.15);
}

.soft-yellow {
    background-color: #FCF4AE;
}

.soft-pink {
    background-color: #FFD3D3;
}

.numberBatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    width: 24px;
    height: 19px;
    position: relative;
    flex: 0 0 auto;
    border-radius: 360px;
    color: #ffffff;
}

/*table Style*/
.custom-table {
    width: auto;
    border-radius: 5px;
    border-collapse: separate;
    border-spacing: 0;
    
}

.table-responsive .custom-table {
    width: max-content;
    min-width: 100%;
}

/* Make the table body scrollable while header stays fixed */
.custom-table thead {
    position: sticky;
    top: 0;
    background-color: #ddebe9;
    z-index: 2;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

    .custom-table thead tr {
        height: 48px;
    }

.custom-table tbody tr {
    height: 72px;
}

.custom-table th,
.custom-table td {
    vertical-align: middle;
    padding: 14px;
}

.custom-table tr td {
    color: #44544A;
}


.custom-table thead th {
    color: #44544A;
    font-size: 12px;
    font-weight: 600;
    height: 48px;
}

.custom-table td {
    min-height: 72px;
    max-height: 72px;
}


.sNo {
    padding-left: 12px;
    min-width: 50px;
    max-width: 50px;
    text-align: left;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.reqId {
    border-right: 1px solid #C3CEC7;
    padding-left: 12px;
    min-width: 168px;
    max-width: 168px;
    text-align: left;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.entity {
    padding-left: 12px;
    min-width: 214px;
    max-width: 214px;
    text-align: left;
   
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow: visible;
    position: relative;
}

.statusCol {
    padding-left: 12px;
    min-width: 96px;
    max-width: 130px;
    text-align: left;
   
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sampleCol {
    padding-left: 12px;
    min-width: 100px;
    max-width: 100px;
    text-align: left;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testCol {
    padding-left: 12px;
    min-width: 120px;
    max-width: 120px;
    text-align: left;
   
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.siteCol {
    padding-left: 12px;
    min-width: 164px;
    max-width: 164px;
    text-align: left;
   
}

.requestedByCol {
    padding-left: 12px;
    min-width: 196px;
    max-width: 210px;
    text-align: left;
   
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
    .requestedByCol .d-flex > div:last-child {
        min-width: 0;
    }

    .entity .d-flex > div:last-child {
        min-width: 0;
    }

.Auth1Col .d-flex > div:last-child {
    min-width: 0;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.sampleGreen {
    background-color: #37BD69;
    color: #ffffff;
}

.sampleCircle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    height: 19px;
    width: 24px;
}

.sampleRed {
    background-color: #FA6140;
    color: #ffffff;
}

.SampleGray {
    background-color: #7A8684;
    color: #ffffff;
}

.sampleNone {
    background-color: rgb(0, 0, 0, 0.20);
    color: #ffffff;
}

.table-container {
    overflow: visible; /* allow popups inside table rows to overflow */
}

    .table-container .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

/* Make header stick to top of viewport when scrolling */
.custom-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #ddebe9; /* match existing header bg */
}

.custom-table tbody tr td{
    border-bottom: 1px solid #C3CEC7;
}
.custom-table tbody tr:last-child td {
   
}


/* Sticky first column (NO) and second column (REQUEST ID) */
.custom-table .sNo {
    position: sticky;
    left: 0;
    background: #ffffff;

}

.custom-table .reqId {
    position: sticky;
    left: 50px; /* equal to .sNo min-width */
    background: #ffffff;
}

/* Ensure the header cells for sticky columns stay above other cells */
.custom-table thead th.sNo,
.custom-table thead th.reqId {
    position: sticky;
    top: 0;
    z-index: 3 !important;
}

/* Make header background span sticky columns too */
.custom-table thead {
    background: #ddebe9; /* header row background */
}

    .custom-table thead th.sNo,
    .custom-table thead th.reqId {
        background: #ddebe9 !important;
    }

/* Give sticky body cells a subtle opaque background so they don't show underlying content when scrolled */
.custom-table .sNo,
.custom-table .reqId {
    background-clip: padding-box;
    z-index:1;
}


/* Responsive improvements for tap / mobile view */
.table-responsive {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #C3CEC7;
    border-radius:5px;

}



.testCircle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    height: 19px;
    width: 32px;
}

.testNone {
    background-color: #ffffff;
    color: #839D8D;
    border: 1px solid #C3CEC7;
}

.testYellow {
    background-color: #FCF4AE;
    color: #E4B819;
}

.testRed {
    background-color: #FFD3D3;
    color: #E93353;
}

.testGreen {
    background-color: rgb(55, 189, 105, 0.15);
    color: #37BD69;
}

.emergencyDot {
    width: 8px;
    height: 8px;
    background-color: #FF0000;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    margin-left: -12px;
}

.insertDot {
    width: 8px;
    height: 8px;
    background-color: #f9721a;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    margin-left: -12px;
}

.statusPending {
    color: #FA6140;
    font-size: 16px;
    font-weight: 500;
}

.statusCompleted {
    color: #006D35;
    font-size: 16px;
    font-weight: 500;
}

.Auth1Col,
.Auth2Col {
    padding-left: 12px;
    min-width: 196px;
    max-width: 196px;
    text-align: left;
   
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-container {
    
    overflow: hidden; /* Prevent clipping vertically */
    position: relative;
}

.status-box {
    width: fit-content;
    min-width: 195px;
    height: 36px;
    padding: 8px 9px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.status-active {
    background-color: #1F515B;
    color: #ffffff;
}

.status-inactive {
    background-color: #DAE7DF;
    color: #44544A;
}

/*filter layout*/

.filterOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 81, 91, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.filterPopup {
    position: fixed;
    top: 0;
    right: 0;
    background-color: #eff5f2;
    border-radius: 8px;
    box-shadow: 0 4px 21px rgba(0, 0, 0, 0.25);
}


.filterDropdown {
    display: flex;
/*    justify-content: space-between;*/
gap:12px;
    flex-direction: column;
    width: 500px;
    height: 100vh;
    background-color: #eff5f2;
    border-radius: 8px;
}

.filterHeadder, .filterBody {
    padding: 24px;
}

.filterOptions {
    padding: 18px;
    padding-bottom: 19px;
    cursor: pointer;
}

    .filterOptions:hover {
        background-color: #e0eceb;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    .filterOptions.active {
        background-color: #ffffff;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    .filterOptions span {
        
        color: #006D35;
        font-size: 16px;
        font-weight: 400;
    }

.filterSelectList {
    overflow-y: auto;
    padding: 0 16px 16px 16px;
    background-color: #ffffff;
    border-radius: 8px;
    height: 72vh;
}

.filterFooter {
    background-color: #ffffff;
    box-shadow: 0px 4px 21px rgb(0, 0, 0, 0.25);
    padding: 24px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 500px;
}


/*Sample Sidebar*/


/*Request Details*/

.ReqHeadder, .ResultEntryHeader {
    width: 100%;
    background-color: white;
    overflow: visible !important;
    margin: 0 !important;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 2px 2px 22px rgb(76,78,100,0.22);
}

.ReqHeaderMain {
    width: 100%;
    background-color: #EFF5F2;
    overflow: auto;
    margin-top: 24px;
    border-radius: 5px;
}

.req-header-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow: hidden;
}

.req-detail-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.req-detail-item {
    display: flex;
    font-size: 14px;
    align-items: flex-start;
}

.req-label {
    width: 110px; /* Fixed anchor for uniform alignment */
    color: #7A8684;
}

.req-separator {
    width: 12px;
    color: #7A8684;
}

.req-value {
    flex: 1;
    color: #44544A;
    font-weight: 500;
}

@media (min-width: 768px) {
    .req-col-border {
        border-left: 0.5px solid rgba(0, 109, 53, 0.3);
        padding-left: 1rem;
    }
}

@media (max-width: 767.98px) {
    .req-header-grid {
        grid-template-columns: 1fr;
        padding-right: 16px;
    }
    .req-col-border {
        border-top: 0.5px solid rgba(0, 109, 53, 0.3);
        padding-top: 1rem;
    }
    .ReqHeadder {
        padding: 16px !important;
    }
}

.Gender {
    width: 24px;
    height: 24px;
    background-color: rgb(175, 239, 235, 0.50);
    color: #00AFD6;
    border-radius: 4px;
    text-align: center;
}


/*Toast */

.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.toastCard {
    background-color: #ffffff;
    width: 372px;
    height: fit-content;
    border: 1px solid #c3cec7;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .toastCard.show {
        opacity: 1;
        transform: translateY(0);
    }

.toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 20px 2px 20px;
    border-radius: 5px 5px 0 0;
/*    border-bottom: 1px solid #c3cec7;*/
}

.toast-icon-success {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    background-color: #37bd69;
    color: #ffffff;
    border-radius: 50%;
    justify-content: center;
}

.toast-icon-Alert {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    background-color: #e93353;
    color: #ffffff;
    border-radius: 50%;
    justify-content: center;
}



.toast-close {
    cursor: pointer !important;
    z-index: 10000;
    pointer-events: auto !important;
}

    .toast-close i {
        pointer-events: none;
    }


/*GroupCode Dropdown */

.GroupCodeDropdownItem {
    display: flex;
    flex-direction: column;
    margin: 16px;
    margin-bottom: 0px;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}

.GroupCodeDropdownToggle {
    padding: 12px 16px;
    background-color: #fff;
    border: 0;
    font-size: 16px;
    color: #44544A;
    font-weight: 500;
}

    .GroupCodeDropdownToggle.active {
        border: 1px solid #006D35;
        border-radius: 4px;
        background-color: #F2FFF8;
    }

    .GroupCodeDropdownToggle:focus {
        background-color: #F2FFF8;
        border: 1px solid #006D35;
        border-radius: 4px;
    }

.item-text {
    font-weight: 500;
    color: #44544A;
    font-size: 14px;
}

.item-sub {
    font-size: 12px;
    color: #7A8684;
}

.GroupCodeDropdownItem.active {
    background-color: #E1F9ED;
}

    .GroupCodeDropdownItem.active .item-text {
        color: #006D35;
    }

    .GroupCodeDropdownItem.active .item-sub {
        color: #44544A;
    }

.GroupCodeDropdown {
    width: 236px;
    margin-top:6px;
    border:1px solid #C3CEC7;
    max-height: 300px;
    overflow-y: scroll;
}


/*Result Entry */


.tableStyle {
    padding-left: 16px !important;
    text-align: left;
    border-bottom: 1px solid #C3CEC7;
    border-top: 1px solid #C3CEC7;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.PriorityCol {
    max-width: 252px;
    min-width: 252px;
    border-right: 1px solid #C3CEC7 !important;
}

.ResultDeptCol {
    max-width: 160px;
    min-width: 160px;
}

.ResultCol {
    max-width: 200px;
    min-width: 140px;
}

.FlagCol {
    max-width: 74px;
    min-width: 74px;
}

.UnitCol {
    max-width: 180px;
    min-width: 180px;
}

.RefCol {
    max-width: 310px;
    min-width: 310px;
}

.MachineCol {
    padding-right: 16px;
}

.ResultInput {
    width: 180px !important;
    background-color: #EFF5F2 !important;
    border: 0.5px solid #C3CEC7 !important;
    border-radius: 4px !important;
    height: 40px;
    padding: 10px 12px;
    color: #44544A !important;
}


.ResultLow {
    width: 180px;
    background-color: rgb(175,289,235,0.40);
    border: 0.5px solid #C3CEC7;
    border-radius: 4px;
    height: 40px;
    padding: 10px 12px;
    color: #1F415B;
}

.ResultHigh {
    width: 180px;
    background-color: rgb(255,211,211,0.40);
    border: 0.5px solid #C3CEC7;
    border-radius: 4px;
    height: 40px;
    padding: 10px 12px;
    color: #4A0415;
}

.UnitSelect {
    width: 160px;
    height: 40px;
    padding: 10px 12px;
    background-color: #ffffff;
    border: 0.5px solid #C3CEC7;
    border-radius: 4px;
    color: #44544A;
}

.RefInput {
    width: 290px;
    background-color: #EFF5F2;
    border: 0.5px solid #C3CEC7;
    border-radius: 4px;
    height: 40px;
    padding: 10px 12px;
    color: #44544A;
}

.MachineSelect {
    width: 180px;
    height: 40px;
    padding: 10px 12px;
    background-color: #ffffff;
    border: 0.5px solid #C3CEC7;
    border-radius: 4px;
    color: #44544A;
}

.ReqMain {
    width: 100%;
    background-color: white;
    overflow: auto;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 2px 2px 22px rgb(76,78,100,0.22);
}

.MachineMasterSide {
    width: 100%;
    background-color: white;
    overflow: auto;
    padding: 24px;
}

.MachineMasterRightSlide {
    top: 0;
    right: 0;
    position: fixed;
    overflow-y: auto;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    width: 562px;
    border: 1px solid #C3CEC7;
    border-radius: 5px;
}

.UserMasterRightSlide {
    top: 0;
    right: 0;
    position: fixed;
    overflow-y: auto;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    width: 1130px;
    border: 1px solid #C3CEC7;
    border-radius: 5px;
}

.MachineMapingRightSlide {
    top: 0;
    right: 0;
    position: fixed;
    overflow-y: auto;
    height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    width: fit-content;
    border: 1px solid #C3CEC7;
    border-radius: 5px;
}

.ReqSampleTitle {
    position: sticky;
    top: 0; /* stick to top */
    background: #fff; /* keep background solid */
    z-index: 5; /* stay above table */
    padding: 8px 0;
}

.SaveBtn {
    background-color: #37BD69;
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
}

.ReportAuthBtn {
    background-color: #37BD69;
    color: #ffffff;
    border: 1px solid #37BD69;
    padding: 16px 95px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
}
.CreateTemplateBtn {
    background-color: #37BD69;
    color: #ffffff;
    border: 1px solid #37BD69;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
}
    .ReportAuthBtn.Disable {
        background-color: rgb(76,78,100,0.12);
        border: 1px solid rgb(76,78,100,0.12);
        color: #FFFFFF;
    }

    .GTCancelBtn {
        background-color: #ffffff;
        color: rgb(68,84,74,0.87);
        border: 1px solid #44544A;
        padding: 16px 80px;
        border-radius: 8px;
        font-weight: 500;
        font-size: 15px;
    }
    .ReportSaveBtn {
        background-color: #ffffff;
        color: rgb(68,84,74,0.87);
        border: 1px solid #44544A;
        padding: 16px 120px;
        border-radius: 8px;
        font-weight: 500;
        font-size: 15px;
    }

        .ReportSaveBtn.Disable {
            border: 1px solid rgb(76,78,100,0.12);
            color: #44544A;
            background-color: rgb(76,78,100,0.12);
        }

.ApproveBtn {
    background-color: #1F415B;
    color: #ffffff;
    border: none;
    padding: 16px 25px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
}

.AuthoriseBtn {
    background-color: #1F515B;
    color: #ffffff;
    border: none;
    padding: 16px 25px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
}

.dept-select {
    font-size: 16px;
    border: 1px solid #1F515B;
    width: fit-content;
    padding: 7px;
    color: #ffffff;
    background-color: #1F515B;
    border-radius: 5px;
}

    .dept-select option {
        background-color: #ffffff;
        color: #1F515B;
    }


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2150 !important;
}

.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 45px;
    width: 90%;
   height:90%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 9999; /* ensure it sits above PDF viewer */
}

  

.ResultEntryPopup {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    width: 95%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}


.slide-view {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.Culture-table-container {
    max-height: 300px;
    overflow-y: auto;
}

.Culture-table-Head th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.selectedProp {
    background-color: #d4f4fe;
}


.Cal-table tr {
    cursor: pointer;
    height: 45px;
    vertical-align: middle !important;
    transition: background-color 0.2s ease-in-out;
}

    .Cal-table tr:hover {
        background-color: #f2f2f2;
    }

.Cal-table-container {
    max-height: 336px;
    overflow-y: auto;
    border: 1px solid #000;
    padding: 0;
}


.LoadBtn {
    background-color: #1F515B;
    color: #ffffff;
    border: none;
    padding: 10px 10px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
}

.ResultTitleSlide p {
    font-size: 14px;
    font-weight: 600;
    color: #7A8684;
}

.ResultTitleSlide {
    padding: 15px 16px;
    cursor:pointer;
    border-bottom: 0.5px solid #839D8D;
}



    .ResultTitleSlide.active p {
        color: #37BD69;
    }

    .ResultTitleSlide.active {
        border-bottom: 2px solid #37BD69;
    }

.dept-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    white-space: nowrap;
    scrollbar-width: none;
}

    .dept-scroll::-webkit-scrollbar {
        display: none;
    }

.dept-btn {
    padding: 10px 25px;
    border-radius: 8px;
    border: none;
    background: rgb(0,0,0,0.05);
    color: #44544A;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

    .dept-btn.active {
        background: #1F415B !important;
        color: #FFFFFF !important;
    }

.custom-select {
    width: 180px;
    height: 40px;
    padding-left: 12px;
    border: 1px solid #C3CEC7;
    border-radius: 4px;
    background: #FFFFFF;
    color: #44544A;
    font-size: 15px;
    appearance: none; /* removes default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2344544A' height='14' viewBox='0 0 20 20' width='14' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
}

    .custom-select:focus {
        outline: none;
        border-color: #1F415B; /* optional highlight on focus */
    }


.search-box {
    /*width: fit-content;*/ /* Hug content like Figma */
    height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #C3CEC7;
    border-radius: 4px; /* 0 corner radius */
    background: #FFFFFF;
}

    .search-box.search-box-full {
        /*        width: 100%;*/
        /*        margin-top: 16px;*/
    }

    .search-box input {
        border: none;
        outline: none;
        font-size: 16px;
        color: #44544A;
    }

        .search-box input::placeholder {
            color: rgba(68, 84, 74, 0.4); /* Light placeholder */
        }

/* Search Icon (SVG inline via CSS) */
.search-icon {
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%2344544A' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><circle cx='11' cy='11' r='7'/><line x1='16.656' y1='16.656' x2='21' y2='21'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
}

.custom-popover {
    position: absolute;
    top: 50px;
    left: 10px;
    width: 260px;
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    border: 1px solid #e2e2e2;
    z-index: 999;
}

.popover-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #083a47;
}

.popover-item {
    display: flex;
    align-items: center;
    padding: 10px 4px;
    border-bottom: 1px solid #f0f0f0;
}

    .popover-item:last-child {
        border-bottom: none;
    }

.item-icon {
    width: 30px;
    height: 30px;
    margin-right: 12px;
    opacity: 0.85;
}

.item-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.item-sub {
    font-size: 13px;
    color: #7a7a7a;
}


.animalDetailCard {
    width: 218px;
    border: 1px solid #1F515B;
    border-radius: 8px;
    position: absolute;
}

.animalDetailCardHeader {
    background-color: #1F515B;
    color: #FFFFFF;
    padding: 12px 16px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    display: flex;
    justify-content: space-between;
}

    .animalDetailCardHeader div p {
        font-size: 12px;
        font-weight: 600;
    }

.animalDetailCardHeaderResult {
    background-color: #1F515B;
    color: #FFFFFF;
    padding: 12px 16px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    display: flex;
    justify-content: space-between;
}

    .animalDetailCardHeaderResult div p {
        font-size: 12px;
        font-weight: 600;
    }


.animalDetailCardbody {
    display: flex;
    background-color: #ffffff;
    flex-direction: column;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.animalDetailCardList {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid #DDEBE9;
}

.animalDetailCardHeader::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 12px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid #1F515B;
}

.animalDetailCardHeaderResult::before {
    content: "";
    position: absolute;
    right: -9px;
    top: 15px;
    width: 0;
    height: 0;
    border-bottom: 8px solid transparent;
    border-top: 8px solid transparent;
    border-left: 10px solid #1F515B;
}

.animal-card-popup {
    position: absolute;
    left: 50px;
    top: 0;
    z-index: 1;
}

.animal-card-popup-Result {
    position: absolute;
    right: 311px;
    top: 134px;
    z-index: 9999;
}


.linkUnderline:hover {
    text-decoration: underline;
    color: #44544A;
    cursor: pointer;
}





.sticky-action-cell {
    position: sticky;
    right: 0;
    background: white;
    z-index: 1;
    cursor: pointer;
    padding: 0;
    border: 0.5px solid #C3CEC7;
    box-shadow: -1px 4px 8px 0px rgba(0, 0, 0, 0.18);
}

    .sticky-action-cell.active {
        border: 1px solid #006D35;
    }
/* This container MUST be full height */
.sticky-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

/* Popup will now stick with the column */
.e-dropdown-popup ul {
    position: absolute;
    top: 25px;
   
    width: 288px;

    background: #ffffff;
    padding: 16px;
    border: 1px solid #839D8D;
    border-radius: 8px;
    z-index: 9999;
}

.Result-menu-item {
    background-color: #ffffff;
    padding: 12px;
    color: #44544A;
    border-radius: 4px;
    cursor: pointer;
}

    .Result-menu-item:hover {
        background-color: #E1F9ED;
        color: #006D35;
    }


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31,81,91,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.popupCard {
    width: 500px;
    height: fit-content;
    border: 1px solid #C3CEC7;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin: 50px;
    background-color: #ffffff;
}

.popup-icon-success {
    width: 96px;
    height: 96px;
    background-color: #E1F9ED;
    color: #37BD69;
    border-radius: 20px;
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.popupTitle {
    font-size: 24px;
    font-weight: 600;
    color: #44544A;
    margin-top: 32px;
    margin-bottom: 0;
}

.popupContent {
    font-size: 16px;
    font-weight: 400;
    color: rgb(68, 84, 74, 0.87);
    margin-top: 12px;
}

.popupCancelBtn {
    
    border: 1px solid #44544A;
    background-color: #ffffff;
    color: #44544A;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 500;
    margin-right: 10px;
}

.popupAuthBtn {
    background-color: #37BD69;
    color: #ffffff;
    border: none;
    padding: 16px 45px;
    border-radius: 5px;
    font-weight: 500;
}

.popupPreviewBtn {
    border: none;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    margin-bottom: 24px;
}

.popup-btn-rows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-btn-row-2 {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.popup-icon-danger {
    width: 96px;
    height: 96px;
    background-color: rgb(0, 0, 0, 0.05);
    color: #E93353;
    border-radius: 20px;
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.popupResetBtn {
    background-color: #E93353;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 500;
}

.AddNotesPopup {
    width: 562px;
    height: 100vh;
    background-color: #EFF5F2;
    border-radius: 8px;
    position: relative;
}

.AddNotesHeadder {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.AddNotesBody {
    padding: 0 24px;
}

.AddNotesCard {
    background-color: #FFFFFF;
    border: 1px solid #C3CEC7;
    border-radius: 8px;
    margin-top: 12px;
    padding: 16px;
}

.AddNotesFooter {
    padding: 16px;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 562px;
    margin-top: 24px;
    background-color: #ffffff;
}

.AILGenderUD {
    width: 24px;
    height: 24px;
    background-color: #DDEBE9;
    color: #E93353;
    border-radius: 4px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.AILGenderID {
    width: 24px;
    height: 24px;
    background-color: #DDEBE9;
    color: #44544A;
    border-radius: 4px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-scroll-area {
    flex: 1;
    overflow-y: auto; /* Only the middle part scrolls */
    padding-bottom: 80px; /* Avoid overlap with user card */
}

.user-card-fixed {
    position: sticky;
    bottom: 0;
    background-color: #ffffff;
    padding: 10px 0;
}

/* Outer Toggle */
.toggle {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 10px;
}

    .toggle input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* Background Bar */
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #D2D2D2; /* OFF track */
    transition: 0.3s;
    border-radius: 50px;
}

    /* Circle (OFF state) */
    .slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        background-color: #A2A2A2; /* OFF circle */
        border-radius: 50%;
        transition: 0.3s;
    }

/* ON State */
.toggle input:checked + .slider {
    background-color: #D0FBE0; /* ON track */
}

    /* ON circle */
    .toggle input:checked + .slider:before {
        background-color: #37BD69; /* ON circle */
        transform: translate(10px, -50%);
    }


.chk {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

    .chk input {
        display: none;
    }

    .chk span {
        width: 16px;
        height: 16px;
        border-radius: 3px;
        border: 2px solid #839D8D;
        position: relative;
        background: white;
    }

    /* Checked background */
    .chk input:checked + span {
        background: #37BD69;
        border-color: #37bd69 !important;
    }

        /* WHITE tick */
        .chk input:checked + span::after {
            content: "";
            position: absolute;
            left: 4px;
            top: 1px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }



.e-control.e-combobox.e-input-focus,
.e-control.e-combobox.e-input-focus:not(.e-error),
.e-control.e-combobox.e-input-focus:focus-within {
    border-color: #C3CEC7 !important; /* your normal border */
    box-shadow: none !important;
    outline: none !important;
}

.e-combobox .e-input-group,
.e-combobox.e-input-focus .e-input-group,
.e-combobox.e-control.e-input-focus {
    box-shadow: none !important;
    outline: none !important;
}

.e-combobox .e-input-group {
    border: 1px solid #C3CEC7;
    border-radius: 6px;
}

.e-combobox.e-input-focus .e-input-group {
    border-color: #006D35; /* optional: brand color */
}

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: #006D35;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
}


.LRUSStickyHeader {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}



.SampleLabData,
.TestLabData {
    padding: 24px;
    padding-top: 0;
    padding-bottom:50px;
}

.SampleStickyHeader, .TestStickyHeader 
{
    padding: 24px 0;
}


/* default state (collapsed) */
.samplelog-btn .icon-open {
    display: none;
}

/* when accordion is open */
.samplelog-btn[aria-expanded="true"] .icon-open {
    display: inline-block;
}

.samplelog-btn[aria-expanded="true"] .icon-close {
    display: none;
}

.samplelog-btn svg {
    transition: transform 0.25s ease;
}

.samplelog-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.DoneBtn {
    background-color: #37BD69;
    color: #ffffff;
    border: none;
    padding: 15px 230px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
}





    /* Focus / click state */
    input:focus,
    textarea:focus,
    select:focus,
    .form-control:focus {
        border-color: #79d39b !important;
        outline: none !important;
        box-shadow: none !important;
    }

    /* Remove validation colors but keep border clean */
    .form-control.is-valid,
    .form-control.is-invalid,
    .was-validated .form-control:valid,
    .was-validated .form-control:invalid {
        box-shadow: none !important;
    }

    /* Optional: aria-invalid support */
    input[aria-invalid="true"],
    input[aria-invalid="false"] {
        box-shadow: none !important;
        outline: none !important;
    }


/* Ensure right-side panels position action buttons at the bottom */
div[class$="RightSlide"] {
    display: flex;
    flex-direction: column;
    height: 100vh; /* ensure full height so footer can stick to bottom */
}

    /* Make the main content area grow and scroll if needed */
    div[class$="RightSlide"] > .container:first-child {
        flex: 1 1 auto;
        overflow: auto;
    }

    /* Push the action button container to the bottom */
    div[class$="RightSlide"] > .container:last-child {
        margin-top: auto;
        padding: 20px 24px;
        background: transparent;
    }

/* Fallback for other common side-panel wrappers */
.MachineMasterSide {
    display: flex;
    flex-direction: column;
}

/* On small screens keep buttons visible below content */
@media (max-width: 768px) {
    div[class$="RightSlide"] {
        position: fixed;
        width: 100% !important;
        height: auto !important;
        max-height: 90vh;
    }

        div[class$="RightSlide"] > .container:first-child {
            max-height: 60vh;
            overflow: auto;
        }

        div[class$="RightSlide"] > .container:last-child {
            position: static;
            margin-top: 12px;
        }
}


.preview-box {
    height: 120px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* 🔥 critical */
}

.preview-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 🔥 prevents excess */
}

.preview-icon {
    width: 48px;
    height: 48px;
}


.request-detail-container {
    max-width: 1400px; /* match your page layout */
    margin: 0 auto;
    position: relative;
}

.fixed-footer {
    position: fixed;
    border-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    z-index: 3;
    right: 0;
    padding-right: 15px;
    box-shadow: 0px 4px 21px rgb(0, 0, 0, 0.25);
}

.footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
}


.LRUSSelectTab {
    background-color: unset;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #7A8684;
    padding: 15px 0;
    border-bottom: 1px solid #C3CEC7;
}

    .LRUSSelectTab.active {
        color: #37BD69;
        border-bottom: 2px solid #37BD69;
    }

.sticky-header-Result-Tab {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #eff5f2;
}

.card-bottom {
    border-radius: 0 0 10px 10px;
}
.SampleLabDataCard.expanded .card-bottom {
    border-radius: 0 0 0 0 !important;
}
.SampleLabDataCard.expanded .card-text-Color {
    color: #44544A !important;
}


.newTestBtn {
    color: #1F515B;
    padding: 12px 16px;
    border: 1px solid #1F515B;
    border-radius: 4px;
    width: max-content;
    cursor:pointer;
}

input[type="date"],
input[type="time"] {
    -webkit-text-align: left !important;
}

input::-webkit-date-and-time-value {
    text-align: left;
}

/* Responsive Design for iPad/Tablet (up to 1024px) */
@media screen and (max-width: 1024px) {
    .mainSession {
       
        padding: 24px !important;
        min-height: calc(100vh - 180px);
    }

    /* Wrap header controls */
    .responsive-header-container {
        flex-direction: column;
        gap: 16px;
    }

    .responsive-header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 12px;
    }

    .responsive-controls-container {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    /* Adjust Date Picker */
    .responsive-date-picker {
        flex: 1 1 auto;
        min-width: 200px;
    }
    
    .dropdown-menu {
        max-width: 90vw; /* Prevent overflow */
    }

    /* Adjust Search Box */
    .responsive-search-box {
        flex: 1 1 auto;
        width: auto !important; /* Override fixed width */
        min-width: 200px;
    }
    
    .responsive-search-box .input-group {
        width: 100% !important;
    }

    /* Adjust Filter and Legends Buttons */
    .responsive-filter-btn {
        flex: 0 0 auto;
    }

    /* Tabs responsiveness */
    .tab-nav {
        overflow-x: auto;
        white-space: nowrap;
        border-bottom: 2px solid #e0e0e0;
    }
    
    .tab-btn {
        min-width: 80px;
        padding: 10px 15px;
    }

    /* Status Boxes below tabs */
    .responsive-status-container {
        flex-wrap: wrap;
    }
    
    .status-box {
        width: fit-content;
        min-width: 150px;
    }

     /* Legends Dropdown adjustment */
    .legends-btn, .legends-btn-active {
        min-width: auto;
    }

    /* Table adjustments */
    .table-container {
        max-height: 60vh;
    }
    
    .custom-table th, .custom-table td {
        padding: 10px 8px; /* Reduce padding */
        font-size: 13px; /* Slightly smaller font */
    }
    
    /* Ensure action buttons/icons have enough touch space */
    .bi, svg {
        cursor: pointer;
    }

    /* Adjust Filter Dropdown overlay on smaller screens */
    .filterDropdown {
        width: 90vw;
        max-width: 400px;
    }
    
    .filterFooter {
        width: 90vw;
        max-width: 400px;
    }
}


/* Desktop Fixed Position */
@media (min-width: 1025px) {
    .daterangepicker {
        top: 237px !important;
        left: 294px !important;
    }
}

/* Tablet/Mobile Responsive Position */
@media (max-width: 1024px) {
    .daterangepicker {
        position: fixed !important;
        top: 30% !important;
        left: 37% !important;
        transform: translate(-50%, -50%) !important;
        width: auto !important;
        max-width: 95vw !important;
        margin: 0 !important;
    }
}
/* =========================================
   DateRangePicker Custom Styling (Figma Match)
   ========================================= */

.daterangepicker {
    font-family: inherit; /* Inherit app font */
    border: none; /* Remove default border */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15); /* Soft drop shadow */
    border-radius: 12px;
    padding: 15px;
    background-color: #fff;
}

/* Header Month/Year */
.daterangepicker .calendar-table th.month {
    color: #1F515B; /* Dark Teal */
    font-size: 16px;
    font-weight: 700;
}

/* Navigation Chevrons */
.daterangepicker .calendar-table th.prev span, 
.daterangepicker .calendar-table th.next span {
    border-color: #839D8D;
    border-width: 0 2px 2px 0;
    padding: 3px;
}

/* Days of Week */
.daterangepicker .calendar-table th {
    color: #7A8684; /* Muted gray */
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    min-width: 32px;
}

/* General Layout adjustments */
.daterangepicker .drp-calendar {
    max-width: none;
}

.daterangepicker .calendar-table td {
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    border-radius: 4px; /* Rounded corners for dates */
    border: none;
    color: #44544A;
}

/* Hover effects */
.daterangepicker td.available:hover, 
.daterangepicker th.available:hover {
    background-color: #EFF5F2; /* Light Teal Hover */
    color: #1F515B;
}

/* Active / Selected Date */
.daterangepicker td.active, 
.daterangepicker td.active:hover {
    background-color: #1F515B !important;
    color: #fff !important;
}

/* In Range dates */
.daterangepicker td.in-range {
    background-color: #EFF5F2;
    color: #1F515B;
    border-radius: 0; /* Rectangular for range body */
}

/* Start and End date specifics for shape */
.daterangepicker td.start-date {
    border-radius: 4px 0 0 4px !important;
}

.daterangepicker td.end-date {
    border-radius: 0 4px 4px 0 !important;
}

.daterangepicker td.start-date.end-date {
    border-radius: 4px !important;
}

/* Disabled styling */
.daterangepicker td.off, 
.daterangepicker td.off.in-range, 
.daterangepicker td.off.start-date, 
.daterangepicker td.off.end-date {
    background-color: transparent;
    color: #D3D3D3;
}

/* Footer Section */
.daterangepicker .drp-buttons {
    border-top: 1px solid #EFF5F2;
    padding: 16px 8px 0 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Buttons to right */
    gap: 12px;
}

/* Helper Text Replacement */
/* We hide the selected range text and replace or prepend */
.daterangepicker .drp-selected {
    display: none !important;
}

.daterangepicker .drp-buttons::before {
    content: "To choose a single date, click the same date twice.";
    font-size: 13px;
    color: #839D8D;
    margin-right: auto; /* Push to left */
}

/* Apply Button */
.daterangepicker .applyBtn {
    background-color: #37BD69 !important;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(55, 189, 105, 0.2);
}

.daterangepicker .applyBtn:hover {
    background-color: #2ea65a !important;
}

/* Cancel Button */
.daterangepicker .cancelBtn {
    background: transparent;
    color: #7A8684;
    font-weight: 500;
    border: none;
    box-shadow: none;
}

/* Update: Completely hide off-dates */
.daterangepicker td.off, 
.daterangepicker td.off.in-range, 
.daterangepicker td.off.start-date, 
.daterangepicker td.off.end-date {
    visibility: hidden !important;
    background-color: transparent !important;
    border: none !important;
}

/* Ensure Header Text is clean and correct color */
.daterangepicker .calendar-table th.month {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1F515B !important;
}

/* Position arrows at edges (default behavior with no dropdowns, but ensuring style) */
.daterangepicker .calendar-table th.prev span, 
.daterangepicker .calendar-table th.next span {
   border-color: #839D8D !important;
   border-width: 0 2px 2px 0 !important;
   padding: 4px !important; /* Slightly larger arrow */
}

/* Additional cleanup */
.daterangepicker .calendar-table {
    background-color: #fff !important;
    border: none !important;
}

/* Year Navigation Arrows Styles */
.daterangepicker .calendar-table th.year-prev,
.daterangepicker .calendar-table th.year-next {
    color: #839D8D !important; /* Muted Green */
    cursor: pointer;
    font-size: 18px; /* Slightly larger */
    font-weight: bold;
    user-select: none;
}

.daterangepicker .calendar-table th.year-prev:hover,
.daterangepicker .calendar-table th.year-next:hover {
    color: #1F515B !important; /* Active Teal */
    background-color: #EFF5F2; /* Hover bg */
    border-radius: 4px;
}

/* Adjust spacing for the arrows */
.daterangepicker .calendar-table th.year-prev span, 
.daterangepicker .calendar-table th.year-next span {
   display: inline-block;
   transform: translateY(-2px); /* Vertical align adjustment */
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #37bd69;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

    input[type="checkbox"]:checked {
        background-color: #37bd69;
    }

        input[type="checkbox"]:checked::after {
            content: "✔";
            color: white;
            font-size: 14px;
            position: absolute;
            top: -2px;
            left: 2px;
        }

/* CUSTOM SELECT CSS */
.custom-select-container {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}

.custom-select-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*    background: rgba(31, 81, 91, 0.6);*/
    z-index: 2000;
}

.custom-select-trigger {
    width: 100%;
    padding: 17px 28px 18px 16px;
    border: 1px solid #ccd5cc;
    border-radius: 4px;
    font-size: 16px;
    color: #44544a;
    background-color: white;
    cursor: pointer;
    position: relative;
    /* Matches input-field */
}

.custom-select-popup {
    position: absolute;
    top: 100%;
    left:0;
    right: 0;

    margin-top: 4px;
    background: white;
    border: 1px solid #C3CEC7;
    border-radius: 6px;
    z-index: 2001; /* Above overlay */
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    scrollbar-width: thin;
}

.custom-select-search {
    position: sticky;
    top: 0;
    background: white;
    padding: 8px;
    border-bottom: 1px solid #C3CEC7;
    z-index: 10;
}

    .custom-select-search input {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #C3CEC7;
        border-radius: 4px;
        font-size: 14px;
        outline: none;
    }

        .custom-select-search input:focus {
            border-color: #37BD69;
        }

.custom-select-option {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #44544a;
    transition: background 0.2s;
}

    .custom-select-option:hover {
        background-color: #f6f6f7;
    }

    .custom-select-option.selected {
        background-color: #e5f6ec;
        color: #44544a; /* Ensure text remains readable */
    }

.dropup .dropdown-toggle::after{
    display:none !important;
}

.date-field {
    position: relative;
}

.floating-input {
    width: 100%;
    padding-right: 40px; /* space for icon */
}

.calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}


/*.custom-table {
    border: 1px solid #C3CEC7;
    border-radius: 8px;
    overflow: hidden;
}*/


input[readonly],
input:disabled,
textarea[readonly],
textarea:disabled,
select:disabled {
    cursor: default !important;
}


