body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f5f7fb !important;
}

.dashboard {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 280px;
  background-color: #fff;
  border-right: 1px solid #ddd;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.sidebar-header h2 {
  margin: 0;
  font-size: 20px;
  color: #02055A;
}

.sidebar-header p {
  margin-top: 5px;
  font-size: 14px;
  color: #000137;
}

.unit-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.unit-list li {
  padding: 12px 16px;
  margin-bottom: 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  color: #000137;
}

.unit-list li:hover,
.unit-list li.active {
  background-color: #f0f4ff;
  font-weight: 500;
}

.unit-list li a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.main-content {
  flex-grow: 1;
  padding: 30px;
  overflow-y: auto;
}

.unit-card {
  background-color: white;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.unit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.unit-header h3 {
  margin: 0;
  color: #02055A;
}

.unit-header h3 a {
  text-decoration: none;
  color: #02055A;
}

.unit-topics ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.unit-topics li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #000137;
}

.start-btn {
  padding: 10px 20px;
  background-color: #02198B;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}

.start-btn:hover {
  background-color: #253DA1;
}

@media (max-width: 768px) {
  .dashboard {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .main-content {
    padding: 16px;
  }

  .unit-card {
    margin-bottom: 20px;
  }

  .sidebar-header h2 {
    font-size: 18px;
  }

  .unit-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .start-btn {
    width: 100%;
    text-align: center;
  }
}