.tutorials-container {
  display: flex;
  min-height: calc(100vh - 120px); /* Adjust based on header/footer height */
}

.tutorials-sidebar {
  width: 300px;
  background: #f5f5f5;
  padding: 20px;
  border-right: 1px solid #ddd;
  position: fixed;
  height: calc(100vh - 120px);
  overflow-y: auto;
}

.tutorials-content {
  margin-left: 300px;
  padding: 30px;
  flex: 1;
  max-width: 800px;
}

.tutorials-sidebar nav ul {
  list-style: none;
  padding: 0;
}

.tutorials-sidebar nav ul ul {
  padding-left: 15px;
}

.tutorials-sidebar a {
  display: block;
  padding: 8px 10px;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.tutorials-sidebar a:hover {
  background: #e0e0e0;
}

.tutorials-sidebar a.active {
  background: #007bff;
  color: white;
  font-weight: bold;
}

.search-box {
  margin: 20px 0;
}

.search-box input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

pre {
  background: #f8f8f8;
  padding: 15px;
  border-radius: 4px;
  overflow-x: auto;
}

.tip-box {
  background: #e6f7ff;
  border-left: 4px solid #1890ff;
  padding: 12px;
  margin: 15px 0;
  border-radius: 0 4px 4px 0;
}

.progress-controls {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#mark-as-read {
  padding: 8px 15px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.progress-indicator progress {
  margin: 0 10px;
}

@media (max-width: 768px) {
  .tutorials-container {
    flex-direction: column;
  }

  .tutorials-sidebar {
    position: static;
    width: 100%;
    height: auto;
  }

  .tutorials-content {
    margin-left: 0;
  }
}
