@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
/*
##FFAE67 orange (light orange) R 255   G 174   B 103 
#67B8FF blue (light blue) R 103   G 184   B 255 
#E7F4FF secondary blue (light blue) R 231   G 244   B 255
#111827 black
#6B7280 dark grey
#F3F4F6 light grey
*/

*{
    font-family: 'Poppins';
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body{
    position:relative;
    min-height: 100vh;
    width:100%;
    overflow:auto;
    background-color: #111827;
}

.home_content{
    position: absolute;
    height: 100%;
    width: calc(100% - 78px);
    left: 78px;
    transition: all 0.5s ease;
}

.home_content .title{
    font-size: 25px;
    font-weight: 500;
    color: white;
    margin: 12px;
}
nav.sidebar{
    position:fixed;
    top:0;
    left:0;
    height:100%;
    width:78px;
    background:white;
    padding: 6px 14px;
    z-index: 99;
    color:#6B7280;
    transition: all 0.5s ease;
}

nav.sidebar.active{
    width: 240px;
}

.sidebar .logo_content .logo{
    color:#111827;
    display:flex;
    height:50px;
    width:100%;
    align-items:center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.sidebar.active .logo_content .logo{
    opacity: 1;
    pointer-events: none;
    transform: translateX(15%);
    transition: 0.5s ease;
}
.logo_img {
    margin-right:5px;
}
.logo_name{
    font-size:20px;
    font-weight:700;
}
#menu{
    position:absolute;
    color:#67B8FF;
    left:55%;
    top:6px;
    font-size:20px;
    height:50px;
    width:50px;
    text-align: center;
    line-height:50px;
    transform:translate(-50%);
}

.sidebar.active #menu{
    left:90%;
}
nav ul {
    margin-top:20px;
}

nav ul li {
    position:relative;
    height:50px;
    width:100%;
    margin:0 5px;
    list-style-type: none;
    line-height: 50px;
}
.sidebar ul li .tool_tip{
    position: absolute;
    left: 122px;
    top: 0;
    transform: translate(-45%, -50%);
    border-radius: 6px;
    height: 35px;
    width: 122px;
    background: white;
    line-height: 35px;
    text-align: center;
    color:#111827;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: 0s;
    pointer-events: none;
    display:block;
}

.sidebar.active ul li .tool_tip{
    display: none;
}

nav ul li:hover .tool_tip{
    opacity: 1;
    transition: all 0.5s ease;
    top: 50%;
    
}

.search_bar{
    margin:auto;
    max-width:240px;
}

.search_bar input{
    position:absolute;
    height:100%;
    width: 100%;
    left: 0;
    right: 0;
    border-radius: 15px;
    outline: none;   
    border:none;
    background: #F3F4F6;
    padding-left:50px;
    font-size: 18px;
    color: #6B7280;
}

.sidebar .search_bar .fa-search{
    position: absolute;
    z-index: 99;
    color: #6B7280;
    font-size: 18px; 
    transition: all 0.5s ease;
}


.search_bar .fa-search:hover{
    background: #E7F4FF;
    color: #111827;
}

.sidebar.active .fa-search:hover{
    background:#F3F4F6;
    color:#6B7280;
}

.sidebar ul li a{
    color: #6B7280;
    display:flex;
    align-items:center;
    text-decoration:none;
    transition: all 0.2s ease;
    border-radius: 15px;
    font-weight: 500;
    white-space: nowrap;
    
}
.sidebar ul li a:hover{
    color: #111827;
    background:#F3F4F6;
    
}

.sidebar .icons{
    font-size: large;
    height: 50px;
    min-width: 50px;
    border-radius: 15px;
    line-height: 50px;
    text-align: center;
}

.sidebar .page_name{
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}


.sidebar.active .page_name{
    opacity: 1;
    pointer-events: auto;
}

.sidebar .profile_content{
    position: absolute;
    color: #111827;
    bottom: 0;
    left: 0;
    width: 100%
}

.sidebar .profile_content .profile{
    position: relative;
    padding: 10px 6px;
    height: 60px;
    background: #F3F4F6;
    transition: all 0.4s ease;
}

.sidebar.active .profile_content .profile{
    background: #F3F4F6;
}

.profile_content .profile .profile_details{
    display: flex;
    align-items: center;
    opacity: 0;
    transition: ease-out 0.3s;
    white-space: nowrap;
}

.sidebar.active .profile .profile_details{
    opacity: 1;
    pointer-events: auto;
}

.profile_content .profile .profile_details img{
    height:45px;
    width:45px;
    object-fit:cover;
    border-radius: 15px;
}

.profile_content .profile .profile_details .account{
    margin-left: 10px;
}

.account .account_name{
    font-size: 15px;
    font-weight: 400;
}

.account .account_type{
    font-size: 12px;
}

.profile #log_out{
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    min-width: 50px;
    line-height: 50px;
    font-size: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: x-large;
}

.sidebar.active .profile #log_out{
    left: 88%;
}

.profile #log_out:hover{
    background: white;
    color: #6B7280;
}


.sidebar.active ~ .home_content{
    width: calc(100% - 240px);
    left: 240px;
}