body { 
  font-family: 'Roboto', sans-serif; 
  background-color: #f0f4f8; 
  color: #353f52; 
  line-height: 1.6; 
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 2rem; 
}

.header { 
  text-align: center; 
  margin-bottom: 3rem; 
  background-color: #fff; 
  padding: 2rem; 
  border-radius: 8px; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.header h1 { 
  color: #353f52; 
  font-size: 2.5rem; 
  margin-bottom: 1rem; 
}

.header h2 {
  color: #353f52; 
  font-size: 2rem; /* Reduced from 2.5rem */
  margin: 0 0 0.75rem 0; /* Slightly reduced margin */
  text-align: left; 
}

.header p { 
  color: #353f52; 
  font-size: 0.95rem; /* Reduced from 1.1rem */
  max-width: 800px; 
  margin: 0 0 0.75rem 0; /* Slightly reduced margin */
  text-align: left;
  line-height: 1.5; /* Adjusted for better readability at smaller size */
}

.main-content { 
  display: flex; 
  gap: 2rem; 
}

.case-list { 
  flex: 1; 
}

.case-details { 
  flex: 1; 
  background-color: #fff; 
  padding: 1rem 2rem;
  border-radius: 8px; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.case-card { 
  background-color: #fff; 
  border-radius: 8px; 
  padding: 1.5rem; 
  margin-bottom: 1.5rem; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.case-card h3 { 
  margin-top: 0; 
  color: #353f52; 
  font-size: 1.4rem; 
}

.case-card p { 
  color: #353f52; 
  margin-bottom: 1rem; 
}

.case-card button, .case-card a {
  background-color: #81a4df;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem; /* Add some bottom margin for mobile views */
  transition: background-color 0.3s ease;
  width: 150px; /* Set a fixed width for both buttons */
  height: 40px; /* Set a fixed height for both buttons */
  line-height: 24px; /* Center text vertically */
  text-align: center; /* Center the text within the button */
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflowing text */
  text-overflow: ellipsis; /* Add ellipsis for overflowing text */
  font-size: 14px; /* Set a consistent font size */
  font-weight: normal; /* Ensure consistent font weight */
  box-sizing: border-box; /* Include padding in width calculation */
  vertical-align: middle; /* Align buttons vertically */
}

.case-card button:hover, .case-card a:hover {
  background-color: #6389c7;
}

/* Ensure anchor tags behave like buttons */
.case-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-title { 
  color: #353f52; 
  border-bottom: 2px solid #81a4df; 
  padding-bottom: 0.5rem; 
  margin-top: 0;
  margin-bottom: 1rem;
}

.objectives-list { 
  padding-left: 1.5rem; 
}

.objectives-list li { 
  margin-bottom: 0.5rem; 
  color: #353f52;
}

.mcq { 
  background-color: #f0f4f8; 
  padding: 1rem; 
  border-radius: 8px; 
  margin-bottom: 1rem; 
  color: #353f52;
}

.mcq-question {
  font-weight: normal;
  margin-bottom: 1rem;
  color: #353f52;
}

.mcq-question b {
  display: block;
  margin-top: 0.5rem;
  color: #1a2234;
}

.options { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 0.5rem; 
  margin-top: 0.5rem; 
}

.options button { 
  background-color: #81a4df; 
  border: none; 
  color: #fff; 
  padding: 0.5rem 1rem; 
  border-radius: 4px; 
  cursor: pointer; 
  transition: background-color 0.3s ease; 
}

.options button:hover { 
  background-color: #6389c7; 
}

.correct { 
  background-color: #4caf50 !important; 
}

.incorrect { 
  background-color: #f44336 !important; 
}

.feedback {
  margin-top: 0.5rem;
  font-weight: bold;
  color: #1a2234;
}

.mr-2 { 
  margin-right: 0.5rem; 
}

.ml-2 { 
  margin-left: 0.5rem; 
}

.flex { 
  display: flex; 
}

.justify-center { 
  justify-content: center; 
}

.mt-4 { 
  margin-top: 1rem; 
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.nav-button {
  background-color: #81a4df;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-button:hover {
  background-color: #6389c7;
}

.prev-button::before {
  content: "← ";
}

.next-button::after {
  content: " →";
}

.sample-cases-header {
  color: #353f52;
  font-size: 2rem;
  margin: 2rem 0 1rem 0;
  text-align: left;
  border-bottom: 2px solid #81a4df;
  padding-bottom: 0.5rem;
}