/**
 * Mind Fitness - Interactive Assessment Styles
 * Styles for MHL-35 assessment form
 */

/* Assessment Container */
.assessment-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 40px;
}

.progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00A8A8, #0B1E47);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.progress-text {
  text-align: center;
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
}

/* Question Card */
.question-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.question-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #00A8A8, #0B1E47);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.question-text {
  font-size: 18px;
  color: #0B1E47;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Answer Options */
.answer-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.answer-option {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.answer-option:hover {
  background: #f0fdf4;
  border-color: #00A8A8;
}

.answer-option.selected {
  background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(11, 30, 71, 0.1));
  border-color: #00A8A8;
}

.answer-option input[type="radio"] {
  display: none;
}

.answer-radio {
  width: 24px;
  height: 24px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  margin-right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.answer-option.selected .answer-radio {
  border-color: #00A8A8;
  background: #00A8A8;
}

.answer-option.selected .answer-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
}

.answer-text {
  font-size: 16px;
  color: #0B1E47;
}

/* Navigation Buttons */
.assessment-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.btn-prev,
.btn-next {
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: inherit;
}

.btn-prev {
  background: #f1f5f9;
  color: #64748b;
}

.btn-prev:hover {
  background: #e2e8f0;
}

.btn-next {
  background: linear-gradient(135deg, #00A8A8, #0B1E47);
  color: white;
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 168, 168, 0.4);
}

.btn-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Section Headers */
.section-header {
  background: linear-gradient(135deg, #1e3a5f, #2d5a87);
  color: white;
  padding: 24px 28px;
  border-radius: 16px;
  margin-bottom: 24px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.section-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.section-header p {
  font-size: 15px;
  opacity: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

/* Results Section */
.results-container {
  text-align: center;
  padding: 40px 20px;
}

.result-score {
  font-size: 72px;
  font-weight: 900;
  color: #00A8A8;
  margin-bottom: 16px;
}

.result-level {
  font-size: 24px;
  color: #0B1E47;
  margin-bottom: 24px;
}

.result-description {
  font-size: 16px;
  color: #64748b;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Action Plan */
.action-plan {
  background: #f8fafc;
  border-radius: 20px;
  padding: 32px;
  text-align: left;
  margin-top: 32px;
}

.action-plan h3 {
  font-size: 20px;
  color: #0B1E47;
  margin-bottom: 20px;
}

.action-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}

.action-item:last-child {
  border-bottom: none;
}

.action-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00A8A8, #0B1E47);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.action-content h4 {
  font-size: 16px;
  color: #0B1E47;
  margin-bottom: 4px;
}

.action-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* Category Scores */
.category-scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.category-score-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.category-score-card h4 {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
}

.category-score-card .score {
  font-size: 32px;
  font-weight: 800;
  color: #00A8A8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .assessment-container {
    padding: 20px 16px;
  }

  .question-card {
    padding: 24px 20px;
  }

  .question-text {
    font-size: 16px;
  }

  .answer-option {
    padding: 14px 16px;
  }

  .assessment-nav {
    flex-direction: column;
  }

  .btn-prev,
  .btn-next {
    width: 100%;
    justify-content: center;
  }

  .result-score {
    font-size: 56px;
  }

  .category-scores {
    grid-template-columns: 1fr;
  }
}
