/* ========== TCAP CONTAINER ========== */
.tcap-container {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin: 20px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: none;
}

.tcap-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 25px;
}

.tcap-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ========== TCAP OPTIONS ========== */
.tcap-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.tcap-option {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  border: 3px solid #ddd;
  border-radius: 20px;
  padding: 25px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.tcap-option:hover {
  border-color: #667eea;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.tcap-option.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
}

.tcap-option h3 {
  color: #667eea;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.tcap-option p {
  font-size: 1rem;
  color: #666;
}

.tcap-option ul {
  text-align: left;
  margin: 15px 0;
  padding-left: 20px;
}

/* ========== TCAP TIMER ========== */
.tcap-timer {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: white;
  padding: 15px 25px;
  border-radius: 15px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 20px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: none;
}

/* ========== SUBJECT SELECTION ========== */
.subject-selection {
  margin: 20px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
  display: none;
}

.subject-selection.active {
  display: block;
}

.subject-checkbox {
  display: block;
  margin: 10px 0;
  padding: 10px;
  background: white;
  border-radius: 10px;
  cursor: pointer;
}

.subject-checkbox input {
  margin-right: 10px;
}

/* ========== TCAP QUESTIONS ========== */
.tcap-questions {
  margin: 20px 0;
  display: none;
}

.tcap-questions.active {
  display: block;
}

.tcap-question {
  background: white;
  padding: 20px;
  border-radius: 15px;
  margin: 15px 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.tcap-question p {
  font-weight: bold;
  margin-bottom: 10px;
}

.tcap-question label {
  display: block;
  margin: 8px 0;
  cursor: pointer;
}

/* ========== TCAP RESULTS ========== */
.tcap-results {
  display: none;
  background: white;
  border-radius: 20px;
  padding: 25px;
  margin: 20px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  max-width: none;
}

.tcap-results.active {
  display: block;
}

.result-item {
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  border-left: 5px solid #ddd;
}

.result-item.correct {
  border-left-color: #4ecdc4;
  background: #e8f5e9;
}

.result-item.incorrect {
  border-left-color: #ff6b6b;
  background: #ffebee;
}

.result-item .question {
  font-weight: bold;
  margin-bottom: 5px;
}

.result-item .student-answer {
  color: #666;
}

.result-item .correct-answer {
  color: #4ecdc4;
  font-weight: bold;
}