@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap');

body {
    width: 100%;
    font-family: 'Lato', sans-serif;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 78px;
    background: #FFF1F1;
    padding: 6px 14px;
    transition: all 0.5s ease;
    font-family: 'Lato', sans-serif;
}

.sidebar.active {
    width: 240px;
}

.sidebar .logo_content .logo {
    color: #091353;
    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;
}

.logo_content .logo i {
    font-size: 28px;
    margin-right: 5px;
}

.logo_content .logo .logo_name {
    font-size: 20px;
    font-weight: 400;
}

.sidebar #btn {
    position: absolute;
    color: #091353;
    left: 50%;
    top: 6px;
    font-size: 20px;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    transform: translateX(-50%);
}

.sidebar.active #btn {
    left: 90%;
}

.sidebar ul {
    margin-top: 20px;
    padding: 0;
}

.sidebar ul li {
    position: relative;
    height: 50px;
    width: 100%;
    margin: 0 5px;
    list-style: none;
    line-height: 50px;
}

.sidebar ul li .tooltip-sidebar {
    position: absolute;
    left: 132px;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 6px;
    height: 50px;
    width: 132px;
    align-items: center;
    justify-content: center;
    background: #091353;
    color: #FFF1F1;
    line-height: 35px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0;
    display: flex;
    pointer-events: none;
    transition: 0s;
    z-index: 10;
}

.sidebar.active ul li .tooltip-sidebar {
    display: none;
}

.sidebar ul li:hover .tooltip-sidebar {
    transition: all 0.5s ease;
    top: 50%;
    opacity: 1;
    z-index: 10;
}

.sidebar ul li a {
    color: #091353;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s ease;
    border-radius: 12px;
    white-space: nowrap;
}

.sidebar ul li a:hover {
    background: #091353;
    color: #FFF1F1;
}

.sidebar ul li a i {
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    line-height: 50px;
    text-align: center;
}

.sidebar .links_name {
    opacity: 0;
    pointer-events: none;
}

.sidebar.active .links_name {
    opacity: 1;
    pointer-events: auto;
    transition: all 0.5s ease-in-out;
}

.sidebar .profile_content {
    position: absolute;
    color: #091353;
    bottom: 0;
    left: 0;
    width: 100%;
}

.sidebar .profile_content .profile {
    position: relative;
    padding: 10px 6px;
    height: 60px;
    background: #ffe6e8;
}

.profile_content .profile .profile_details {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.sidebar.active .profile .profile_details {
    opacity: 1;
    pointer-events: auto;
}

.sidebar.active .profile #log_out {
    left: 88%;
}

.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;
    transition: all 0.5s ease;
}

#main-content {
    width: calc(100% - 78px);
    left: 78px;
    height: 100%;
    position: absolute;
    transition: all 0.5s ease;
}

.sidebar.active ~ #main-content {
    width: calc(100% - 240px);
    left: 240px;
}

.title-page {
    color: #091353;
    font-family: 'Lato', sans-serif;
}

.card-header {
    background: #FFF1F1; !important;
}

.card {
    z-index: 0;
}

.graph-container {
    display: flex;
    justify-content: center;
}

.datatable-btn {
    width: fit-content;!important;
}
