/* Accordion Styles */
.accordion-item {
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  /* To ensure rounded corners work with content */
}

.accordion-button {
  background-color: #f0f0f0;
  color: #333;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.1rem;
  transition: background-color 0.2s ease-in-out;
  border-bottom: 1px solid #ccc;
  /* Separator between button and content */
  border-radius: 8px 8px 0 0;
  /* Rounded top corners */
}

.accordion-button:hover {
  background-color: #e0e0e0;
}

.accordion-button:focus {
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.accordion-button[aria-expanded="true"] {
  background-color: #e0e0e0;
  /* Slightly different background when expanded */
  border-bottom: none;
  /* Remove border when expanded as content is below */
  border-radius: 8px 8px 0 0;
  /* Keep top rounded corners */
}

.accordion-content {
  padding: 0 20px 20px;
  /* Padding inside content area */
  background-color: white;
  overflow: hidden;
  /* Ensure content doesn't overflow rounded corners */
  border-top: none;
  /* No top border as it's connected to button */
  border-radius: 0 0 8px 8px;
  /* Rounded bottom corners */
}

.accordion-content.collapse {
  display: none;
}

.accordion-content.show {
  display: block;
}