/* TeachInspire Quiz - Custom Styles */

/* Base body styling */
body {
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Option card styling */
.option-card {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.option-card:hover:not(.selected) {
  border-color: #85a2a3;
  box-shadow: 0 2px 4px rgba(44, 61, 87, 0.08);
  transform: translateY(-1px);
}

.option-card:focus {
  outline: none;
  border-color: #85a2a3;
  box-shadow: 0 0 0 3px rgba(133, 162, 163, 0.2);
}

.option-card.selected {
  border-color: #85a2a3;
  background-color: rgba(133, 162, 163, 0.08);
}

.option-card.selected .option-indicator {
  background-color: #85a2a3;
  border-color: #85a2a3;
}

.option-card.selected .option-indicator::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
}

/* Option indicator (radio-style circle) */
.option-indicator {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

/* Option text */
.option-text {
  color: #2c3d57;
  font-size: 1rem;
  line-height: 1.5;
}

/* Suggestion list styling */
#suggestions-list li {
  padding-left: 1.5rem;
  position: relative;
}

#suggestions-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #85a2a3;
  font-weight: bold;
}

/* Smooth screen transitions */
#start-screen,
#quiz-screen,
#pass-screen,
#fail-screen {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus visible for keyboard navigation */
button:focus-visible,
.option-card:focus-visible {
  outline: 2px solid #85a2a3;
  outline-offset: 2px;
}

/* Print styles - hide unnecessary elements */
@media print {
  button,
  #progress-bar {
    display: none;
  }
}
