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

/* Hero — green/teal gradient (replaces blue) */
.prog-hero.sf-theme {
  background: linear-gradient(135deg, #064e3b 0%, #047857 40%, #10b981 100%);
}
.prog-hero.sf-theme::after {
  background: linear-gradient(135deg, #064e3b 0%, #047857 40%, #10b981 100%);
}

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

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

/* Q&A */
.sf-theme-page .qa-question .q-label { color: #059669; }
.sf-theme-page .qa-answer textarea:focus { border-color: #059669; }
.sf-theme-page .qa-reveal-btn { background: #059669; }
.sf-theme-page .qa-reveal-btn:hover { background: #047857; }
.sf-theme-page .qa-question .code-block { border-left-color: #059669; }

/* Section number circles default to green for SF */
.sf-theme-page .prog-section-num {
  background: #059669;
}

/* Flashcard launch button styled like resource-btn */
.sf-flashcards-launch {
  display: flex; align-items: center; gap: 12px;
  background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px;
  padding: 13px 15px; text-decoration: none; color: #14532d;
  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;
}
.sf-flashcards-launch:hover { background: #dcfce7; border-color: #86efac; }
.sf-flashcards-launch .sf-flashcards-icon { font-size: 22px; flex-shrink: 0; width: 36px; text-align: center; }
.sf-flashcards-launch .sf-flashcards-sub {
  font-size: 11.5px; color: #16a34a; font-weight: 500; margin-top: 2px;
}

/* Hero info pill — exam date or course note */
.prog-hero.sf-theme .prog-hero-exam strong { color: #6ee7b7; }

/* AI Tutor banner */
.sf-tutor-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 18px 22px;
  text-decoration: none;
  color: #14532d;
  margin: 0 0 1.5rem;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}
.sf-tutor-banner:hover {
  box-shadow: 0 6px 24px rgba(5,150,105,0.15);
  transform: translateY(-1px);
  border-color: #34d399;
}
.sf-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 #bbf7d0;
}
.sf-tutor-content { flex: 1; }
.sf-tutor-title {
  font-size: 16px;
  font-weight: 700;
  color: #14532d;
  margin-bottom: 3px;
}
.sf-tutor-sub {
  font-size: 13px;
  color: #15803d;
  line-height: 1.5;
}
.sf-tutor-arrow {
  font-size: 22px;
  color: #059669;
  flex-shrink: 0;
  font-weight: 600;
}

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

/* -- Multiple choice — green theme overrides for Second Form -- */
.sf-theme-page .qa-item-mc .qa-question .q-label { color: #059669; }
.sf-theme-page .mc-option:hover:not(:disabled) {
  border-color: #059669;
  background: #f0fdf4;
}
