/* Custom submenu styles - remove bullets and adjust icons */
.sidebar .submenu {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar .submenu li {
    border-bottom: none !important;
}

.sidebar .submenu li a {
    padding: 12px 10px 12px 40px;
    position: relative;
}

.sidebar .submenu li a i.fa {
    margin-right: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.sidebar .submenu li a:hover i.fa {
    opacity: 1;
}

.sidebar .submenu li a:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile Toggle Styles */
.navbar-header .navbar-top-links {
    margin: 0;
}

.navbar-header .open-close {
    display: inline-block;
    float: right;
    height: 60px;
    width: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 20px;
    color: #fff !important;
    transition: 0.3s;
    background: transparent;
}

.navbar-header .open-close:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.1);
}

/* Sidebar Backdrop on Mobile */
@media (max-width: 767px) {
    body.show-sidebar::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        transition: 0.3s;
    }

    .sidebar {
        z-index: 1001 !important;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }
}

/* Micro-animations and refinements */
.sidebar {
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.bg-title {
    transition: 0.3s ease;
}

@media (max-width: 767px) {
    .bg-title {
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding: 10px 15px !important;
    }

    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .white-box {
        padding: 15px !important;
        margin-bottom: 20px !important;
    }
}