/* -- First Form theme overrides (loaded after programming.css) -- */

/* Hero — orange/amber gradient */
.prog-hero.ff-theme {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 40%, #ea580c 100%);
}
.prog-hero.ff-theme::after {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 40%, #ea580c 100%);
}

/* Progress bar */
.ff-theme-page .prog-progress-fill { background: #ea580c; }

/* Code inline */
.ff-theme-page .guide-content code { color: #c2410c; }

/* Q&A */
.ff-theme-page .qa-question .q-label { color: #ea580c; }
.ff-theme-page .qa-answer textarea:focus { border-color: #ea580c; }
.ff-theme-page .qa-question .code-block { border-left-color: #ea580c; }

/* Section number circles default to orange for FF */
.ff-theme-page .prog-section-num {
  background: #ea580c;
}

/* MCQ — orange theme */
.ff-theme-page .qa-item-mc .qa-question .q-label { color: #ea580c; }
.ff-theme-page .mc-option:hover:not(:disabled) {
  border-color: #ea580c;
  background: #fff7ed;
}
.ff-theme-page .mc-option.correct {
  border-color: #16a34a;
  background: #d1fae5;
  color: #14532d;
  font-weight: 600;
  opacity: 1;
}
.ff-theme-page .mc-option.correct .mc-letter {
  background: #16a34a;
  color: #fff;
}
.ff-theme-page .mc-explanation {
  background: #fff7ed;
  border-left-color: #ea580c;
  color: #7c2d12;
}
.ff-theme-page .mc-explanation-label { color: #c2410c; }

/* Flashcard launch button */
.ff-flashcards-launch {
  display: flex; align-items: center; gap: 12px;
  background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px;
  padding: 13px 15px; text-decoration: none; color: #7c2d12;
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
  width: 100%; margin-top: 16px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  text-align: left;
}
.ff-flashcards-launch:hover { background: #ffedd5; border-color: #fdba74; }
.ff-flashcards-launch .ff-flashcards-icon { font-size: 22px; flex-shrink: 0; width: 36px; text-align: center; }
.ff-flashcards-launch .ff-flashcards-sub {
  font-size: 11.5px; color: #c2410c; font-weight: 500; margin-top: 2px;
}

/* Hero info pill */
.prog-hero.ff-theme .prog-hero-exam strong { color: #fdba74; }

/* AI Tutor banner */
.ff-tutor-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
  border: 1px solid #fdba74;
  border-radius: 14px;
  padding: 18px 22px;
  text-decoration: none;
  color: #7c2d12;
  margin: 0 0 1.5rem;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}
.ff-tutor-banner:hover {
  box-shadow: 0 6px 24px rgba(234,88,12,0.18);
  transform: translateY(-1px);
  border-color: #fb923c;
}
.ff-tutor-icon {
  font-size: 32px; flex-shrink: 0;
  width: 52px; height: 52px;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #fed7aa;
}
.ff-tutor-content { flex: 1; }
.ff-tutor-title {
  font-size: 16px; font-weight: 700;
  color: #7c2d12; margin-bottom: 3px;
}
.ff-tutor-sub {
  font-size: 13px; color: #c2410c; line-height: 1.5;
}
.ff-tutor-arrow {
  font-size: 22px; color: #ea580c;
  flex-shrink: 0; font-weight: 600;
}

@media (max-width: 540px) {
  .ff-tutor-banner { padding: 14px 16px; gap: 12px; }
  .ff-tutor-icon { width: 44px; height: 44px; font-size: 26px; }
  .ff-tutor-title { font-size: 15px; }
  .ff-tutor-sub { font-size: 12px; }
}
