/* Practical Exams Public - Additional styles */

/* Exam screen layout (fixed header + title, scrollable body) */
#pepExamScreen {
  flex-direction: column;
  height: 100vh;
}

/* Filter input */
.pep-filter-input-wrapper {
  position: relative;
  width: 100%;
}

.pep-filter-section {
  margin-bottom: 16px;
}

.pep-filter-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
}

.pep-filter-input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  background: white;
}

.pep-filter-input:focus {
  border-color: var(--color1);
}

.pep-active-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 8px 14px;
  background: #fff5ee;
  border: 1px solid #ffe0c7;
  border-radius: 8px;
}

.pep-loading {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 40px 0;
}

.pep-empty {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 40px 0;
}

/* Question styles for practical exam form */
.pep-question {
  margin-bottom: 20px;
  padding: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.pep-question:last-child {
  border-bottom: none;
}

.pep-question-text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0 0 10px;
}

.pep-question-image {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.pep-question-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pep-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f9f9f9;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
}

.pep-option-label.selected {
  background: #fff3e0;
  border-color: var(--color1);
}

.pep-observations {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
}

.pep-observations label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  display: block;
  margin-bottom: 6px;
}

.pep-observations textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  resize: none;
  box-sizing: border-box;
  outline: none;
}

.pep-observations textarea:focus {
  border-color: var(--color1);
}

.pep-error-highlight {
  outline: 2px solid var(--errorColor);
  border-radius: 8px;
}

/* Exam grade (percentage) shown in each exam item, like the detail popup in /resultados */
.exam-item-grade {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
}
