/* Container for sidebar and content */
.slms-wrapper {
    display: flex;
    gap: 20px;
  }

.drag-handle {
  cursor: move;
  padding: 0 5px;
  font-weight: bold;
  user-select: none; /* Prevent accidental text highlight when dragging */
}
  
  /* Sidebar */
  .slms-sidebar {
    width: 250px;
    background: #f7f7f7;
    padding: 15px;
    border-right: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
  }
  
  /* Chapter titles */
  .slms-chapter {
    margin-bottom: 10px;
  }
  
  .slms-chapter button {
    width: 100%;
    text-align: left;
    background: #eee;
    border: none;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .slms-chapter button:hover {
    background: #ddd;
  }
  
  /* Topic list */
  .slms-topics {
    list-style: none;
    padding-left: 15px;
    display: none;
  }
  
  .slms-topics li {
    margin: 5px 0;
  }
  
  .slms-topics li a {
    text-decoration: none;
    color: #333;
  }
  
  .slms-topics li a:hover {
    text-decoration: underline;
  }
  
  /* Completed topics */
  .slms-topics li.completed a::after {
    content: ' ✅';
    color: green;
  }
  
  .slms-mark-complete {
      background-color: #28a745;
      color: #fff;
      padding: 10px 15px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
  }
  .slms-mark-complete:hover {
      background-color: #218838;
  }
  
.slms-course {
  margin: 30px 0;
}

.slms-course img {
  max-width: 100%;
  height: auto;
}

.slms-structure {
  margin-top: 20px;
}

.slms-structure ul {
  list-style: none;
  padding-left: 0;
}

.slms-structure li {
  margin: 5px 0;
}

.slms-structure li strong {
  font-weight: bold;
}

.slms-structure a {
  text-decoration: none;
  color: #0073aa;
}

.slms-structure a:hover {
  text-decoration: underline;
}

  