/* Exam-specific styles */

.question-text pre,
.question-text code {
  overflow-x: auto;
}

.question-card {
  page-break-inside: avoid;
}

.exam-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  padding: 0.5rem 0;
  border-bottom: 1px solid #dee2e6;
}

.exam-actions {
  padding: 1rem 0 2rem;
}

/* Judge toggle buttons */
.judge-options .judge-label {
  font-size: 1.1rem;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
}

/* Mobile responsive */
@media (max-width: 767.98px) {
  .form-check-option .form-check {
    min-height: 44px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .form-check-option .form-check-label {
    font-size: 1rem;
    padding-top: 0.25rem;
  }

  .judge-options .judge-label {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
  }

  .exam-submit-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    z-index: 1030;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .exam-actions {
    padding-bottom: 4rem;
  }
}
