:root {
    --bg-color: #885896; /* Default background color */
    --text-color: #ffffff; /* Default text color */
}
.date_width {
    width: 50px !important;
}

#timeDisplay {
    margin-top: 10px;
    font-weight: bold;
}
#rabills thead th {
    text-align: center;
}
#rabills td {
    width: 100px !important; /* Set this to your desired width */
    white-space: nowrap !important; /* Optional: Prevents text wrapping */
}
#piubill td {
    width: 100px !important; /* Set this to your desired width */
    white-space: nowrap !important; /* Optional: Prevents text wrapping */
}
#packagebill td {
    width: 100px !important; /* Set this to your desired width */
    white-space: nowrap !important; /* Optional: Prevents text wrapping */
}
#piubill thead th {
    text-align: center;
}
#packagebill thead th {
    text-align: center;
}
#fundtable thead th {
    text-align: center;
}
#packtable thead th {
    text-align: center;
}
.navbar-right {
    display: flex;
    align-items: center;
}

.navbar-right .d-flex {
    display: flex;
    align-items: center;
}
.bac_btn {
    position: absolute;
    z-index: 1;
    /* margin-top: 50px; */
    top: 66px;
    right: 8px;
}
.navbar-right .form-select {
    width: auto; /* Adjust as needed */
}
.modal {
    z-index: 1050; /* Adjust as needed */
}

.modal-backdrop {
    z-index: 1049; /* Ensure this is less than the modal */
}

/* Ensure dropdowns have lower z-index */
.year_drop {
    z-index: 1000; /* Ensure this is less than the modal */
}

/* If dropdowns are nested, ensure their z-index is set correctly */
.dropdown-menu {
    z-index: 1001; /* Just an example, adjust if needed */
}

/* Ensure other elements also follow stacking rules */

.avatar {
    display: inline-block;
}
.pan_search {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}
.dataTables_filter {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Style the download button */
#downloadReportPack {
    margin-left: 10px; /* Adjust spacing if needed */
    background-color: #dc3545; /* Primary button color */
    color: #fff; /* Text color */
    border: none; /* Remove border */
    padding: 6px 12px; /* Adjust padding */
    border-radius: 4px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
}
#view_history_btn {
    margin-left: 10px; /* Adjust spacing if needed */
    background-color: #885896; /* Primary button color */
    color: #fff; /* Text color */
    border: none; /* Remove border */
    padding: 6px 12px; /* Adjust padding */
    border-radius: 4px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
}

#downloadReportPack:hover {
    background-color: #e04555ea; /* Darker color on hover */
    color: #ffffff !important;
}

.text_center {
    text-align: center;
    width: 35%;
}
.bg_color {
    background: var(--bg-color);
    color: var(--text-color);
}
.mp_logo {
    height: 50px;
    margin-top: 5px;
}
.mp_title {
    font-size: 20px;
    color: #885896;
    font-weight: 700;
    margin-bottom: 0px;
    margin-left: 10px;
}
.btn_scheduled {
    width: 189px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    position: relative;
}
.btn_scheduled:hover {
    background: #4e479c;
    color: #ffffff;
}
.btn_scheduled:active {
    background: #4e479c !important;
    color: #ffffff !important;
    border: transparent !important;
}
.piu_chart {
    border-radius: 10px;
}
.piu_wise {
    font-size: 14px;
    font-weight: 600;
    line-height: 16.94px;
    text-align: left;
    background: #7367f0;
    color: #ffffff;
    height: 40px;
    margin-top: 0;
}
.card .card-header {
    border-radius: 10px 10px 0px 0px;
}
thead {
    background: #f1f5ff;
}
.view_btn {
    border: none;
    color: #7367f0;
    background: transparent;
}
.table-container {
    height: 200px; /* Example max height */
    overflow-y: auto; /* Enable vertical scrollbar */
    /* border: 1px solid #ccc; */
    border-radius: 5px; /* Example border radius */
    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);  */
}
.table-container::-webkit-scrollbar {
    width: 7px; /* Width of vertical scrollbar */
}
.table-container::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Color of the track */
    border-radius: 5px; /* Radius of the track */
}
.table-container::-webkit-scrollbar-thumb {
    background-color: #888; /* Color of the scrollbar thumb */
    border-radius: 5px; /* Radius of the scrollbar thumb */
}
.table-container::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Hover color of the scrollbar thumb */
}
.btn_close {
    background: #ffffff !important;
    border-radius: 50%;
}
.mdl_header {
    background: var(--bg-color);
    color: var(--text-color);
    border-radius: 0;
}
.mdl_header h6 {
    color: #ffffff;
}
.thead_bg {
    background: #e4e1ff;
    padding: 10px;
    text-align: center;
}
.mar_top h6 {
    margin-top: 9px;
}
.mp_map {
    cursor: pointer;
}

.MP_position {
    position: absolute;
    top: 354px;
}
.work_type {
    height: 35px;
    gap: 0px;
    border-radius: 15px !important;
    font-size: 14px !important;
    width: 90%;
}
.d_flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.bg-color {
    background: var(--bg-color);
}
.icon-list {
    list-style-type: none; /* Remove default list bullets */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.icon-list li {
    display: inline; /* Display list items inline */
    margin-right: 5px; /* Space between icons */
    color: #7367f0;
}

.icon-list a {
    text-decoration: none;
    /* Remove default link underlines */
}
.letter {
    text-decoration: underline;
}
.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    background-color: #ffffff;
    padding: 10px;
}

.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.8);
    padding: 20px;
    font-size: 30px;
    text-align: center;
}
.bolder {
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    color: #0a0071;
}
.bg_body {
    background: var(--bg-color);
    color: var(--text-color);
}
.navbar-nav .nav-item .nav-link {
    color: white;
    /* padding: 10px; */
    height: 45px !important;
    display: flex;
    align-items: center;
}
.navbar-nav .nav-item .nav-link:hover {
    background-color: #03c654;
    color: white;
    height: 45px !important;
}
.navbar-nav .nav-item .dropdown-menu .dropdown-item:hover,
.navbar-nav .nav-item .dropdown-menu .dropdown-item.active {
    background-color: #03c654;
    color: white;
}

.navbar-nav .nav-item .dropdown-menu .dropdown-item {
    color: black; /* Default color for dropdown items */
}
.navbar-nav .nav-item {
    padding-right: 8px; /* Adjust the margin as needed */
}
.nav-link i {
    margin-right: 8px; /* Adjust the value as needed */
}
.select_opt {
    width: 80%;
    height: 24px;
    font-size: 10px;
}
.btn_success {
    background: #0c7450 !important;
    color: var(--text-color) !important;
}
.btn_danger {
    background: #ff4560 !important;
    color: var(--text-color) !important;
}

/* Bank Guranteee  */
.modal_bg {
    background: #f5f5f5 !important;
}
.navbar-nav .nav-item {
    padding: 0 12px; /* Adjust the horizontal padding as needed */
}

/* Optional: Add margin to dropdown menus to prevent overlap */
.navbar-nav .dropdown-menu {
    margin-top: 5px; /* Adjust the margin-top to control spacing between dropdown items and the navbar */
}
.head_bg {
    background: #7367f0 !important ;
    color: #ffffff;
}
.bills thead th {
    text-align: center !important;
}
.navbar-right .dropdown {
    margin-left: 10px; /* Adjust as needed */
}

.btn_scheduled {
    margin-right: 10px; /* Space between the button and the dropdown */
}
.tc_width {
    width: 99%;
}

/* Responsive */
@media screen and (min-width: 320px) and (max-width: 575px) {
    .d_flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: stretch;
    }
    .work_type {
        height: 31px;
        gap: 0px;
        border-radius: 15px !important;
        font-size: 12px !important;
        width: 90% !important;
    }
}
@media screen and (min-width: 576px) and (max-width: 767px) {
    .d_flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: stretch;
    }
    .work_type {
        height: 33px;
        gap: 0px;
        border-radius: 15px !important;
        font-size: 15px !important;
        width: 100% !important;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    #work {
        width: 100% !important;
        height: 120px !important;
    }
    #piu {
        width: 100% !important;
        height: 120px !important;
    }
    #chartDonut {
        width: 100% !important;
        height: 120px !important;
    }
    #piupercentage {
        width: 100% !important;
        height: 120px !important;
    }
}

.btn-submit {
    background-color: var(--bg-color);
    color: #ffff;
    border-radius: 5px;
}
.btn-submit:hover {
    background-color: var(--bg-color) !important;
    color: #ffff !important;
    border-radius: 10px;
}
.eye-password {
    position: absolute;
    right: 12px;
    top: 9px;
    z-index: 99;
    color: #042893;
}
