/* Fondo azul de la página de assessment */
body.assessment-page {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', system-ui, sans-serif;
}

body.assessment-page main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.assessment-wrap {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  box-sizing: border-box;
  width: 100%;
}

.assessment-card {
  max-width: 880px;
  width: 100%;
}

.progress-pill {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 20px;
  color: #fff;
  font-size: 13px;
  margin-bottom: 20px;
}

.progress-left {
  display: inline-block;
  font-weight: 600;
}

.progress-right {
  float: right;
  font-weight: 600;
}

.progress-bar-wrap {
  background: rgba(0, 0, 0, 0.3);
  height: 6px;
  border-radius: 3px;
  margin-top: 10px;
  clear: both;
}

.progress-bar {
  height: 6px;
  background: #0a0a0a;
  border-radius: 3px;
  width: 0;
  transition: width .3s ease;
}

.card.large {
  background: #fff;
  padding: 40px 36px;
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.18);
}

.card.large h1 {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  color: #111827;
  margin: 0 0 28px;
  line-height: 1.3;
}

.options-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.option {
  width: 100%;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all .2s ease;
  text-align: left;
}

.option:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.option:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.option.selected {
  background: #eff6ff;
  border-color: var(--primary);
}

.option-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  flex-shrink: 0;
}

.option-icon svg {
  width: 24px;
  height: 24px;
}

.option-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  flex: 1;
}

.option-arrow {
  color: #d1d5db;
  font-size: 20px;
  flex-shrink: 0;
}

.option-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.option.selected .option-check {
  opacity: 1;
}

.option.selected .option-arrow {
  display: none;
}

.actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.btn.outline {
  border: none;
  background: #f0f0f0;
  color: var(--text);
  padding: 14px 32px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 28px;
  font-size: 15px;
}

.btn.outline:hover {
  background: #e5e5e5;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  border-radius: 28px;
  flex: 1;
  font-size: 15px;
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn.primary[disabled] {
  opacity: .65;
  cursor: not-allowed;
}

.cancel-wrap {
  margin-top: 14px;
  text-align: center;
}

.muted-link {
  color: #1773B0;
  text-decoration: underline;
  font-size: 13px;
}

.muted-link:hover {
  color: var(--primary-dark);
}

/* Eliminar el espacio blanco entre el contenido y el footer */
body.assessment-page #site-footer {
  margin-top: 0;
  background: transparent;
}

/* El footer interno mantiene su color oscuro */
body.assessment-page .footer {
  margin-top: 0;
}