/* Ensure the sidebar takes full vertical space */
.dashboard-sidebar {
    background-color: #ffffff;
    min-height: 100vh;
    z-index: 100;
}

.sidebar-inner {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    /* Removed rounded corners to make it flush to the edge */
    border-radius: 0 !important; 
}

/* Sidebar Header */
.sidebar-header {
    padding: 30px 24px;
    font-weight: 700;
    color: #1a202c;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-header i {
    color: #0d6efd;
    font-size: 1.5rem;
}

/* Nav Links Styling */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 10px; /* Slight internal padding for the hover capsules */
}

.nav-link-custom {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

/* Hover & Active States */
.nav-link-custom:hover {
    background-color: #f7fafc;
    color: #0d6efd;
}

.nav-link-custom.active {
    background-color: #ebf4ff;
    color: #0d6efd;
    font-weight: 600;
}

.nav-link-custom i {
    margin-right: 15px;
    font-size: 1.25rem;
}

/* Make sure main content doesn't hide behind the sidebar on mobile */
@media (max-width: 768px) {
    .dashboard-sidebar {
        min-height: auto;
    }
}