/* site/css/noncore_sprints.css */
/* Dedicated styling for Non-Core QA High-ROI Sitter Sprint Arena */

.noncore-arena-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(4, 120, 87, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.noncore-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.noncore-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.noncore-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  transition: var(--transition);
}

.noncore-stat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.noncore-stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #34d399;
}

.noncore-stat-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* CONFIGURATION PANEL */
.sprint-config-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.config-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.module-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.module-checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.module-checkbox-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(16, 185, 129, 0.4);
}

.module-checkbox-card.selected {
  background: rgba(16, 185, 129, 0.12);
  border-color: #10b981;
}

.module-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  transition: var(--transition);
}

.module-checkbox-card.selected .module-check-icon {
  background: #10b981;
  border-color: #10b981;
}

.module-check-info {
  flex: 1;
}

.module-check-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.module-check-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.module-check-count {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  color: #34d399;
}

/* FILTER PILLS ROWS */
.config-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.config-btn-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.config-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.config-chip:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.config-chip.active {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

/* LAUNCH BAR */
.sprint-launch-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.launch-summary-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.launch-summary-text b {
  color: #34d399;
}

.btn-launch-sprint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

.btn-launch-sprint:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
}

/* SPRINT RUNNER OVERLAY */
#noncore-sprint-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-base);
  z-index: 10000;
  flex-direction: column;
  color: var(--text-primary);
  overflow: hidden;
}

.sprint-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.sprint-q-counter {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.sprint-timer-badge {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.35rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sprint-timer-badge.urgent {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--danger);
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.sprint-runner-body {
  flex: 1;
  display: flex;
  overflow-y: auto;
  padding: 2.5rem 3.5rem;
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.sprint-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sprint-q-card-active {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.sprint-q-tags {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.sprint-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.sprint-tag-source { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.sprint-tag-diff { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.sprint-tag-time { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.sprint-question-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.sprint-options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.sprint-option-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.sprint-option-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
}

.sprint-option-row.selected {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent);
}

.sprint-opt-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sprint-option-row.selected .sprint-opt-letter {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* RADAR HINT ACCORDION */
.radar-hint-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid #10b981;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.radar-hint-toggle {
  font-size: 0.85rem;
  font-weight: 700;
  color: #34d399;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radar-hint-content {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #a7f3d0;
  margin-top: 0.75rem;
  display: none;
}

.radar-hint-content.visible {
  display: block;
}

/* FOOTER NAV */
.sprint-overlay-footer {
  padding: 1rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.q-dot-strip {
  display: flex;
  gap: 0.4rem;
}

.q-dot {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.q-dot.active {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

.q-dot.answered {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #34d399;
}

/* RESULTS MODAL */
#sprint-results-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  z-index: 10001;
  padding: 3rem;
  overflow-y: auto;
}

.results-container {
  max-width: 950px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.results-header-banner {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.results-score-display {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #34d399;
  margin: 0.5rem 0;
}

.results-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.metric-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.dual-sol-review-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sol-review-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.sol-review-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.review-track-col {
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.review-aam {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.review-mentos {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fde68a;
}
