/* Apply to the header nav or a div inside the header if it wraps your content */
header nav {
  max-width: 720px;
  margin: 0 auto; /* Centers the navigation horizontally */
  padding: 20px 0; /* Vertical padding to match your content block */
  display: flex;
  justify-content: space-between; /* This will space your list and logout/login */
  align-items: center; /* This will align the items vertically */
}

/* Ensure the lists within the nav take up the appropriate space */
header nav ul {
  display: flex;
  align-items: center; /* Align list items vertically */
  padding: 0;
  margin: 0; /* Reset margins to control spacing explicitly */
}

header nav li:not(:last-child) {
  margin-right: 1rem; /* Adds margin to the right of each list item except the last */
}

nav .breadcrumbs ul {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Style each list item */
nav .breadcrumbs ul li {
  margin-right: 0.25rem; /* Add some space between the breadcrumbs */
}

/* Add ">" before each li except the first one using a pseudo-element */
nav .breadcrumbs ul li:not(:first-child)::before {
  content: "\f105"; /* FontAwesome's right arrow icon */
  font-family: "Font Awesome 5 Free";
  color: #000;
  padding-right: 0.25rem; /* Add some space before the breadcrumb text */
  font-weight: 900; /* Bold */
}


.form-container {
  max-width: 720px; 
  margin: 20px auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.form-container .question {
  padding-top: 1rem;
}

.form-container .question .question-text {
  margin-bottom: 0.5rem;
}

/* Questions */
.form-check-label {
  display: block;
  color: #5f6368;
}

.form-control {
  box-shadow: none; /* Remove Bootstrap's default shadow */
  border-color: #e0e0e0; /* Light grey border color */
  border-radius: 8px; /* Rounded corners */
}

/* Focused Inputs */
.form-control:focus {
  border-color: #a6c8ff; /* Highlight color when focused */
  box-shadow: 0 0 0 0.2rem rgba(102, 175, 233, .25);
}

/* Buttons */
.btn-primary {
  background-color: #1a73e8; /* Google's blue */
  border-color: #1a73e8; /* Google's blue */
  box-shadow: none; /* Remove Bootstrap's default shadow */
}

.btn-primary:hover {
  background-color: #1669c7; /* Darker blue on hover */
  border-color: #1669c7; /* Darker blue on hover */
}

/* Adjustments for smaller screens */
@media (max-width: 576px) {
  .form-container {
    max-width: 100%;
    padding: 15px; /* Smaller padding on smaller screens */
  }
}

.text-muted a, .text-muted a:visited, .text-muted a:hover, .text-muted a:focus, .text-muted a:active {
  color: inherit; /* This makes the link use the color of the parent .text-muted class */
}

#learning-in-public-links .form-control {
  margin-bottom: 0.2rem;
}

.alert p {
  margin-bottom: 0;
}


.option-answer-correct {
  background-color: lightgreen;
}

.option-answer-incorrect {
  background-color: lightcoral;
}

.no-answer-indicator {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.no-answer-indicator i {
  margin-right: 0.5rem;
}

.container .row {
  border-bottom: 1px solid #f8f8f8; /* subtle bottom border for each row */
}

.container .row:last-child {
  border-bottom: none; /* remove border for the last row */
}

/* Highlighting for the current student's row */
.bg-info {
  background-color: #d1ecf1 !important; /* Adjust color as needed */
}

.tooltip-icon {
  margin-left: 4px; /* Adjust as needed */
}

.question .question-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 8px;
  border-radius: 4px;
}

.error-message {
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 0.25rem;
  padding: 0.75rem 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.error-message i {
  margin-right: 0.5rem;
}

.question input.is-invalid,
.question textarea.is-invalid,
.question select.is-invalid {
  border-color: #dc3545;
}

.social-icon {
  font-size: 24px;
  color: #808080;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #000000;
}

.toggle-lip {
  margin-left: 10px;
  cursor: pointer;
}

.lip-links {
  display: none;
  margin-top: 10px;
}