main{
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: 1fr;
}

#bodydash{
    background-color: #F3F4EE;
    padding: 0px;
}

nav{
    width: 100%;
    height: 8vh;
    background-color: #1F2E31;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    padding: 0px 20px;
}
nav button{
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background-color: #6CB049;
    border: 0px;
    color: #fff;
}
nav h2{
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    color: #fff;
    background-color: #6CB049;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: right;
    border-radius: 50px;
    padding: 8px;
}
.offcanvas-header{
    background-color: #6CB049;
}
.offcanvas-header h2{
        font-size: 18px;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}


#sidebar{
    background-color: #1F2E31;
}
a{
    text-decoration: none;
}
.sidebarHeader{
    width: 100%;
    height: 70px;
    background-color: transparent;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: 1fr;
    border-bottom: 2px solid #355C23;
    padding: 15px;
    gap: 15px;
}
.logoBox{
    height: 40px;
    background-color: #6CB049;
    display: grid;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 10px;
}
.logoBox .fa-solid{
    padding: 11px;
}
.CompanyNameBox{
    height: 40px;
    background-color: transparent;
    display: grid;
    align-items: center;
    justify-content: left;
}
.CompanyNameBox h2{
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.menuSidebarBox{
    height: calc(100vh - 70px);
    background-color: transparent;
    padding: 15px;
}
.menuSidebarBox ul li{
    list-style: none;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #E9EBEB;
    font-size: 14px;
}
.menuSidebarBox ul li.active {
    background-color: #6CB049;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    padding: 10px 15px;
}
.menuSidebarBox ul li {
    cursor: pointer;
    padding: 10px 15px;
    transition: background 0.3s;
}
.menuSidebarBox ul li:hover {
    background-color: #273B33;
    color: #E9EBEB;
}



/* Admin Box */
/* =============================================== */

#system_main{
    background-color: transparent;
    padding: 1.5rem;
    overflow: auto;
}
.dashboard-container{
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}
.welcomTab{
    width: 100%;
    height: auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.welcomTab{
    display: grid;
    grid-template-columns: 60% 1fr;
    grid-template-rows: 1fr;
}
.WelcomSecA{
    display: grid;
    align-items: center;
    justify-content: start;
}
.WelcomSecA h2{
    font-size: 20px;
    font-weight: bold;
}
.WelcomSecA p{
    font-size: 15px;
}
.WelcomSecB{
    display: grid;
    align-items: center;
    justify-content: end;
}
.WelcomSecB h2{
    font-size: 13px;
    background-color:#355C23;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
}
.WelcomSecB button{
    width: 100%;
    padding:10px 15px;
    background: #6CB049;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    text-transform: capitalize;
    font-family: "Poppins", sans-serif;
    font-weight: normal;
}
.WelcomSecB button:hover{
    background-color: #355C23;
}
.WelcomSecB a{
    text-decoration: none;
}


/* tabsSecBox */
/* ======================================= */

.tabsSecBox{
    width: 100%;
    height: auto;
    background-color: transparent;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 10px;
    margin-bottom: 1.5rem;
}
.tabs{ 
    background-color: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #E9E9E4;
    display: grid;
    grid-template-columns: 25% 1fr;
    grid-template-rows: 1fr;
    gap: 10px;
}
.tabs:hover{
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}
.tabsIcon{
    background-color: transparent;
    display: grid;
    align-items: center;
    justify-content: center;
}
.tabsIcon .iconBox{
    width: 60px;
    height: 60px;
    border-radius: 50px;
    font-size: 15px;
    background-color: #6CB049;
    display: grid;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.tabsDtl{
    background-color: transparent;
    display: grid;
    align-content: center;
    align-items: center;
    border-left: 1px solid #ddd;
    padding-left: 15px;
}
.tabsDtl h2{
    font-size: 22px;
    font-weight: bold;
}
.tabsDtl p{
    font-size: 15px;
}
.tabsDtl small{
    font-size: 10px;
}



/* perf_RecentBox */
/* ======================================= */

.perf_RecentBox{
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 65% 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
}
.PerformanceBox{
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #E9E9E4;
    display: grid;
    justify-content: space-between;
}
.PerformanceBox h2{
    font-size: 18px;
    font-weight: bold;
}
.PerformanceBox p{
    font-size: 15px;
    color: #737766;
}
#performanceChart{
    width: 100%;
}
.RecentActivity{
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #E9E9E4;
}
.RecentActivity h2{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}
.RActivityBx{
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-rows: 90px;
    gap: 10px;
}
.ActivityBoxA{
    background-color: #F3F4EE;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 20% 1fr;
    grid-template-rows: 1fr;
}
.ACTVYIconBox{
    background-color: transparent;
    display: grid;
    align-items: center;
    justify-content: center;
}
.iconRexActv{
    width: 45px;
    height: 45px;
    display: grid;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    background-color: #DDEFE0;
    border-radius: 50px;
}
.iconRexActv .fa-solid{
    color: #6CB049;
}

.ACTVYIdetailsBox{
    background-color: transparent;
    display: grid;
    align-content: center;
    align-items: center;
    border-left: 1px solid #ddd;
    padding-left: 15px;
}
.ACTVYIdetailsBox h2{
    font-size: 13px;
    font-weight: 700;
}
.ACTVYIdetailsBox p{
    font-size: 12px;
}
.ACTVYIdetailsBox small{
    font-size: 10px;
}















/* ======================================= */
/* Table Design */
/* ======================================= */
/* Ensures the table container scrolls on small screens */
    /* Ensure the table is fully responsive */
    .table-responsive {
        overflow-x: auto;
        white-space: nowrap;
    }
    .table {
        width: 100%;
        table-layout: auto;
        font-size: 14px;
    }
    .table .thead th{
        color: #fff;
        background-color: #1F2E31;
        text-transform: uppercase;
        font-size: 13px;
        font-weight: normal;
        height: 40px;
    }
    .table th, .table td {
        padding: 8px;
        vertical-align: middle;
        text-align: left;
        white-space: nowrap;
    }
    .table td {
        width: auto;
        max-width: 300px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .table input {
        width: 100%;
        min-width: 150px;
        border: none;
        background: transparent;
        outline: none;
        padding: 5px;
    }
    .table td .btn {
        font-size: 13px;
        text-transform: capitalize;
    }
    .statusbgSpan {
        padding: 4px 8px;
        border-radius:50px;
        font-size: 12px;
        font-weight: normal;
    }
    .completedStatus {
        background-color: #D1FAE5;
        color:#105143;
    }
    .RejectStatus {
        background-color: #FEE2E2;
        color: #633e3e;
    }
    .WarningStatus {
        background-color: #FFF1D3;
        color: #5b4a24;
    }

















    .visits-grid{
        display: none;
    }

    .clients-grid {
        display: none;
    }
    .caregivers-grid{
        display: none;
    }
    .caregiver-visits-grid {
        display: none;
    }
    .visits-cards-grid{
        display: none;
    }
    .PageFooterBox{
        display: none;
    }