/**
 * Semillero 5ta Edición - Estilos de Marca & Evaluaciones
 * Paleta: Verde Bosque (#08261a, #0d3826), Dorado (#c69214, #e5a91b), Blanco
 */

:root {
  --sem-gold: #c69214;
  --sem-gold-light: #fef5d9;
  --sem-gold-hover: #e5a91b;
  --sem-green-dark: #08261a;
  --sem-green-primary: #0e4530;
  --sem-green-light: #e8f5ee;
  --sem-border: #e2e8f0;
  --sem-card-bg: #ffffff;
}

/* Header Badge Semillero */
.semillero-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(198, 146, 20, 0.28);
  border: 2px solid #e5a91b;
}

/* Banner Semillero */
.sem-banner {
  background: linear-gradient(135deg, #08261a 0%, #0e4530 60%, #175e43 100%);
  color: #ffffff;
  padding: 30px 24px;
  border-radius: 18px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(8, 38, 26, 0.2);
  display: flex;
  align-items: center;
  gap: 24px;
}

.sem-banner::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(229, 169, 27, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sem-banner-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #f6cf65;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  flex-shrink: 0;
  background: #ffffff;
}

.sem-banner-text h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #fef5d9;
}

.sem-banner-text p {
  font-size: 14px;
  opacity: 0.92;
  margin: 0;
  line-height: 1.5;
}

/* Selector de Sesiones y Exámenes */
.sem-session-card {
  border: 1px solid var(--sem-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sem-session-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.sem-session-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--sem-green-dark);
}

.sem-exams-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sem-exam-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sem-exam-item:hover {
  border-color: var(--sem-gold);
  background: var(--sem-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(198, 146, 20, 0.12);
}

.sem-exam-item.selected {
  border-color: var(--sem-green-primary);
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(14, 69, 48, 0.15);
}

.sem-exam-info h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.sem-exam-info p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.sem-exam-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.sem-exam-status.open {
  background: #dcfce7;
  color: #166534;
}

.sem-exam-status.future {
  background: #fef3c7;
  color: #92400e;
}

.sem-exam-status.closed {
  background: #f1f5f9;
  color: #64748b;
}

/* Cuestionario de Examen */
.exam-header-card {
  background: linear-gradient(135deg, #0e4530 0%, #175e43 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(14, 69, 48, 0.25);
}

.exam-participant-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}

.question-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s;
}

.question-card:focus-within {
  border-color: var(--sem-gold);
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.question-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--sem-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.question-points {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 12px;
}

.question-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 16px;
}

.options-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.15s ease;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
}

.option-label:hover {
  border-color: var(--sem-gold);
  background: var(--sem-gold-light);
}

.option-label input[type="radio"],
.option-label input[type="checkbox"] {
  accent-color: var(--sem-gold);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.option-label input:checked + span {
  font-weight: 700;
  color: var(--sem-green-dark);
}

.custom-select-exam {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #1e293b;
  background-color: #ffffff;
  outline: none;
  font-family: inherit;
}

.custom-select-exam:focus {
  border-color: var(--sem-gold);
  box-shadow: 0 0 0 3px rgba(198, 146, 20, 0.15);
}

.custom-textarea-exam {
  width: 100%;
  min-height: 100px;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  outline: none;
  resize: vertical;
}

.custom-textarea-exam:focus {
  border-color: var(--sem-gold);
  box-shadow: 0 0 0 3px rgba(198, 146, 20, 0.15);
}

/* Pantalla de Resultado y Calificación */
.result-celebration-card {
  text-align: center;
  padding: 40px 24px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.result-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(22, 101, 52, 0.2);
}

.result-score-display {
  font-size: 48px;
  font-weight: 800;
  color: var(--sem-green-dark);
  margin: 10px 0;
  letter-spacing: -1px;
}

.result-score-display span {
  font-size: 24px;
  color: #64748b;
  font-weight: 600;
}

.btn-semillero {
  background: linear-gradient(135deg, #c69214 0%, #e5a91b 100%);
  color: #08261a;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(198, 146, 20, 0.3);
  font-size: 15px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-semillero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(198, 146, 20, 0.4);
}
