/* base html styles */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

@media (max-width: 767.98px) {
    .sidebar {
        position: static;
        padding-top: 0;
    }
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: bold;
}

.navbar {
    background: linear-gradient(to right, #0d6efd, #6610f2);
}

.navbar .nav-link {
    color: white;
}

.navbar .nav-link:hover {
    color: #ffc107;
}

.nav-link.active {
    color: #ffc107;
}

.btn-nav {
    text-align: left;
    padding-left: 0;
}

/* --------- */


/* left sidebar styles */

.sidebar {
    background-color: #f8f9fa;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    height: 100vh;
    position: sticky;
    top: 0;
    transition: all 0.3s;
}

.user-avatar {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
.user-avatar:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.sidebar-menu .nav-link {
    color: #495057;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-menu .nav-link:hover {
    background-color: rgba(78, 115, 223, 0.1);
    color: #4e73df;
    transform: translateX(5px);
}

.sidebar-menu .nav-link.active {
    background-color: #4e73df;
    color: white;
}

.sidebar-menu .nav-link.active i {
    color: white;
}

.sidebar-menu .nav-link i {
    color: #4e73df;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.sidebar-menu .nav-link:hover i {
    transform: scale(1.2);
}

.bi {
    font-size: 1.2rem;
}

.nav-link.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.nav-link.text-danger i {
    color: #dc3545;
}

hr {
    border-color: rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

/* ------------------------ */


/* main content styles */

.card-stats-top {
    transition: all 0.3s ease;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card-stats-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.col-md-3 .card-stats-top {
    transition: all 0.3s ease;
    overflow: hidden;
}

.col-md-3 .card-stats-top:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.col-md-3 .card-stats-top:hover .fs-1 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}


/* ------------------------- */