
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap");
:root {
    --text-color: #333;
    --bg-color: #ffffff;
    --fonts: "Plus Jakarta Sans", sans-serif;

    --header-height:60px;
    --sidebar-width: 260px;

}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fonts);
}

.material-icons-outlined{
    vertical-align: middle !important;
}

.no-text-dection{
    text-decoration: none;
}

body {
    font-weight: 500;
}

.table-image{
    width: 100px;
    height: 100px;
}

.square-100{
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
}
.square-200{
    width: 200px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}
.required{
    color: red;
}


.grid-container {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr 1fr 1fr;
    grid-template-rows: var(--header-height) 3fr;

    grid-template-areas: "sidebar header header header"
                         "sidebar main main main";
    width: 100%;
    height: 100vh;
}

.header {
    grid-area: header;
    background-color: var(--bg-color);
    box-shadow: 0 3px 8px -2px rgba(199, 199, 199, 0.3);
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    height: calc(var(--header-height)-10px);
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.dropdown-menu{

    animation: 0.5s;

} 
 


.sidebar {
    grid-area: sidebar;
    background-color: var(--bg-color);
    height: 100vh;
    padding: 10px 20px 10px 20px;
    border-right: 1px solid #f0f0f0;
    overflow-x: hidden;
    overflow-y: auto;
    width: var(--sidebar-width);
}

.logo > img {
    width: 50px;
    height: 50px;
}
.logo > h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-left: 10px;
}

.sidebar-list {
    margin-top: 20px;
    color: var(--text-color);
    list-style: none;
    padding: 0;
}


.sidebar-list > li {
    margin-bottom: 10px;
}

.sidebar-list > li > h5{
    font-size: 14px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 10px;
    text-transform: uppercase;

}

.sidebar-list > li > a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    /* font-weight: 600; */
    display: flex;
    align-items: center;
}

.sidebar-list > li > a > i {
    margin-right: 20px;
    font-size: 21px;
}   

.sidebar-selected {
    background-color: #03b6ec;
    padding:0 10px;
    border-radius: 4px;
    
}
.sidebar-selected>a{
    color: white !important;
}

.main-container{
    grid-area: main;
    background-color: var(--bg-color);
    /* background-color: blue; */
    overflow-y: auto;
    padding: 0 10px 10px 10px;
}

.text-black{
    color: #000 !important;
}

/* ========== Admin CSS Start =============== */



.admin-profile{
    width: 50%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 3px 8px -2px rgba(199, 199, 199, 0.3);
    padding: 20px;
    /* background-color: red; */
}
.admin-profile > div{
    width: 100px;
    height: 100px;
    margin: auto;
}
.admin-profile > div > a {
    position: absolute;
    bottom: 10px;
    right: -15px;

}
.admin-profile > div > a> i{
    font-size: 25px;
    color: var(--text-color);
    border: #f0f0f0 1px solid;
    background-color: rgba(255, 250, 250, 0.5);
    border-radius: 100%;
    padding: 0 5px 0 5px;
}
.admin-profile-info{
    width: 100%;
    background-color: rebeccapurple;
    height: 1000px;

        }
/* main container */
.list-header{
    font-weight: 600 !important;
    font-size: 1rem;
}

/*------- Service Provider section ----*/

.admin_nid_preview{
    display: flex;
    gap: 10px;

}
.admin_nid_preview a {
    width: 50%;
    height: 200px;
    border: 1px solid grey;
}

.admin_nid_preview img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}



/* ================ Admin CSS End =========== */



/* Responsive css */

@media screen and (max-width: 768px) {
    .grid-container {
        grid-template-columns: 3fr;
        grid-template-rows: var(--header-height) 3fr;
    
        grid-template-areas: "header header header"
                             "main main main";
    }

    .sidebar {
        position: absolute;
        display: none;
        left: -100%;
        top: 0;
    }
    .sidebar-show{
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1000;
        background-color: var(--bg-color);
        height: 100vh;
        padding: 10px 30px 10px 30px;
        border-right: 1px solid #f0f0f0;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .main-container {
        padding: 0 10px 10px 10px;
    }
    
}
