/* ========================================
   QUIZ & SIDEBAR ENHANCED STYLES
   Matches the 3D timeline card aesthetic
   ======================================== */

/* ========================================
   QUIZ RESULTS - PREMIUM DESIGN
   ======================================== */

.quiz-result-new {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px;
}

/* Result Header - Hero Style */
.quiz-result-header {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  padding: 28px;
  background: linear-gradient(145deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

/* Gradient accent on header */
.quiz-result-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--stage-color, #6366f1), color-mix(in srgb, var(--stage-color, #6366f1) 60%, #ec4899));
}

.quiz-result-stage-icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  color: white;
  box-shadow: 
    0 12px 30px -8px color-mix(in srgb, var(--stage-color, #6366f1) 50%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

/* Glow ring around icon */
.quiz-result-stage-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid color-mix(in srgb, var(--stage-color, #6366f1) 30%, transparent);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.15); }
}

.quiz-result-stage-icon svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.quiz-result-stage-info {
  flex: 1;
}

.quiz-result-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-dim);
  margin-bottom: 8px;
  padding: 4px 10px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
}

.quiz-result-stage-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--stage-color, #6366f1), color-mix(in srgb, var(--stage-color, #6366f1) 70%, white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quiz-result-stage-info p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Confidence Badge - Glass Style */
.quiz-confidence-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.quiz-confidence-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.quiz-confidence-badge.high {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-color: rgba(16, 185, 129, 0.25);
}
.quiz-confidence-badge.high::before { background: linear-gradient(180deg, #10b981, #059669); }

.quiz-confidence-badge.medium {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.25);
}
.quiz-confidence-badge.medium::before { background: linear-gradient(180deg, #f59e0b, #d97706); }

.quiz-confidence-badge.low {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.05) 100%);
  border-color: rgba(239, 68, 68, 0.25);
}
.quiz-confidence-badge.low::before { background: linear-gradient(180deg, #ef4444, #dc2626); }

.quiz-confidence-badge svg {
  flex-shrink: 0;
}

.quiz-confidence-badge span:first-of-type {
  font-weight: 700;
  font-size: 1rem;
}

.quiz-confidence-reason {
  flex: 1;
  text-align: right;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Category Breakdown - Card Style */
.quiz-category-breakdown {
  background: linear-gradient(145deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
}

.quiz-category-breakdown h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quiz-category-breakdown h4::before {
  content: '📊';
  font-size: 1rem;
}

.quiz-category-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quiz-category-bar-item {
  display: grid;
  grid-template-columns: 150px 1fr 90px;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  transition: all 0.2s ease;
}

.quiz-category-bar-item:hover {
  background: rgba(255, 255, 255, 0.02);
  margin: 0 -12px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
}

.quiz-category-bar-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.quiz-cat-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.quiz-category-bar-track {
  height: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.quiz-category-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px currentColor;
  position: relative;
}

/* Animated shimmer effect */
.quiz-category-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.quiz-category-bar-stage {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
  padding: 4px 10px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
}

/* Strengths Section - Premium */
.quiz-strengths {
  margin-bottom: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-xl);
}

.quiz-strengths h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 16px;
}

.quiz-strengths h4 svg {
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.5));
}

.quiz-strengths-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-strength-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 600;
  color: #10b981;
  transition: all 0.25s ease;
}

.quiz-strength-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -5px rgba(16, 185, 129, 0.3);
}

/* Gaps Section - Warning Style */
.quiz-gaps-new {
  margin-bottom: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.02) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-xl);
}

.quiz-gaps-new h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 16px;
}

.quiz-gaps-new h4 svg {
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
}

.quiz-gaps-list-new {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-gap-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.04) 100%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.quiz-gap-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #f59e0b, #d97706);
}

.quiz-gap-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px -5px rgba(245, 158, 11, 0.2);
}

.quiz-gap-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.quiz-gap-info {
  flex: 1;
}

.quiz-gap-category {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.quiz-gap-status {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.quiz-gap-status strong {
  color: #f59e0b;
  font-weight: 600;
}

/* Sector Note - Informational */
.quiz-sector-note {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  background: linear-gradient(145deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.quiz-sector-badge {
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.quiz-sector-note p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Completion Banner - Success */
.quiz-completion-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.04) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.quiz-completion-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #10b981, #059669);
}

.quiz-completion-banner svg {
  flex-shrink: 0;
  color: #10b981;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.quiz-completion-banner strong {
  display: block;
  color: #10b981;
  font-size: 1rem;
  margin-bottom: 6px;
}

.quiz-completion-banner p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Result Actions - Button Group */
.quiz-result-actions-new {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.quiz-action-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  border-radius: var(--radius-lg);
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 
    0 10px 30px -8px rgba(99, 102, 241, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  
  -webkit-appearance: none;
  appearance: none;
}

.quiz-action-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.quiz-action-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 16px 40px -8px rgba(99, 102, 241, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.quiz-action-primary:hover::before {
  left: 100%;
}

.quiz-action-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  color: #f59e0b;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  
  -webkit-appearance: none;
  appearance: none;
}

.quiz-action-secondary:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.08) 100%);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -8px rgba(245, 158, 11, 0.25);
}

.quiz-action-tertiary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  
  -webkit-appearance: none;
  appearance: none;
}

.quiz-action-tertiary:hover {
  background: var(--color-surface);
  border-color: var(--color-border-hover);
  color: var(--color-text);
}

/* ========================================
   QUIZ MODAL ENHANCEMENTS
   ======================================== */

.quiz-modal-content {
  background: linear-gradient(165deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border: 1px solid var(--color-border);
  box-shadow: 
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 60px -20px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Quiz Container */
.quiz-adaptive {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 8px;
}

/* Progress Bar Container */
.quiz-header-new {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quiz-progress-bar {
  height: 6px;
  background: var(--color-surface);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.quiz-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px currentColor;
}

.quiz-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  background-clip: padding-box;
}

.quiz-counter {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Question Card */
.quiz-question-card {
  background: linear-gradient(145deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay */
.quiz-question-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
  opacity: 0.8;
}

.quiz-question-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Hint Box */
.quiz-hint {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.quiz-hint svg {
  flex-shrink: 0;
  color: #6366f1;
  margin-top: 2px;
}

/* ========================================
   QUIZ OPTION CARDS - GLASS AESTHETIC
   ======================================== */

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.quiz-options-grid.compact {
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Individual Option Card */
.quiz-option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: linear-gradient(145deg, var(--color-surface) 0%, rgba(15, 15, 20, 0.8) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  
  /* Remove default button styles */
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  color: inherit;
}

/* Gradient overlay on hover */
.quiz-option-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Left accent bar */
.quiz-option-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover State */
.quiz-option-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-3px) translateX(2px);
  box-shadow: 
    0 12px 30px -8px rgba(0, 0, 0, 0.4),
    0 0 20px -8px rgba(99, 102, 241, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.quiz-option-card:hover::before {
  opacity: 1;
}

.quiz-option-card:hover::after {
  opacity: 0.6;
}

/* Selected State */
.quiz-option-card.selected {
  border-color: #6366f1;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.05) 100%);
  box-shadow: 
    0 8px 25px -5px rgba(99, 102, 241, 0.25),
    0 0 30px -10px rgba(99, 102, 241, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.quiz-option-card.selected::after {
  opacity: 1;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

/* Icon */
.quiz-option-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Content */
.quiz-option-content {
  flex: 1;
  z-index: 1;
}

.quiz-option-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  transition: color 0.3s;
}

.quiz-option-card:hover .quiz-option-label {
  color: #fff;
}

.quiz-option-sublabel {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Checkmark */
.quiz-option-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  opacity: 0.4;
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  background: transparent;
}

.quiz-option-card:hover .quiz-option-check {
  opacity: 0.7;
  border-color: rgba(99, 102, 241, 0.5);
}

.quiz-option-card.selected .quiz-option-check {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.quiz-option-check svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   QUIZ NAVIGATION BUTTONS
   ======================================== */

.quiz-nav-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.quiz-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  
  -webkit-appearance: none;
  appearance: none;
}

.quiz-nav-btn:hover {
  background: var(--color-surface-elevated);
  border-color: var(--color-border-hover);
  color: var(--color-text);
  transform: translateY(-1px);
}

.quiz-nav-btn.back:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.quiz-nav-btn.skip {
  border-color: transparent;
  color: var(--color-text-dim);
}

.quiz-nav-btn.skip:hover {
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.03);
}

/* ========================================
   QUIZ RESULT ACTIONS
   ======================================== */

.quiz-result-actions-new {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.quiz-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  border-radius: var(--radius-lg);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.5);
  
  -webkit-appearance: none;
  appearance: none;
}

.quiz-action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(99, 102, 241, 0.6);
}

.quiz-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  color: #f59e0b;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  
  -webkit-appearance: none;
  appearance: none;
}

.quiz-action-secondary:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
}

.quiz-action-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  
  -webkit-appearance: none;
  appearance: none;
}

.quiz-action-tertiary:hover {
  background: var(--color-surface);
  border-color: var(--color-border-hover);
  color: var(--color-text);
}

/* ========================================
   SIDEBAR ENHANCEMENTS
   ======================================== */

.module-sidebar {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-right: 1px solid var(--color-border);
  box-shadow: 4px 0 30px -10px rgba(0, 0, 0, 0.3);
}

/* Sidebar Tabs - Glass Effect */
.sidebar-tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: linear-gradient(145deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.sidebar-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  
  -webkit-appearance: none;
  appearance: none;
}

/* Tab hover state */
.sidebar-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
}

/* Active tab - uses stage color */
.sidebar-tab.active {
  background: linear-gradient(135deg, var(--tab-color, #6366f1) 0%, color-mix(in srgb, var(--tab-color, #6366f1) 80%, #8b5cf6) 100%);
  color: white;
  box-shadow: 
    0 4px 15px -3px color-mix(in srgb, var(--tab-color, #6366f1) 50%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Tab count badge */
.sidebar-tab-count {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  transition: all 0.3s;
}

.sidebar-tab:not(.active) .sidebar-tab-count {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

/* ========================================
   SIDEBAR MODULE ITEMS - COMPLETION STATES
   ======================================== */

.module-nav-item,
.sidebar-module-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(145deg, transparent 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 4px;
  text-align: left;
  width: 100%;
  position: relative;
  
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  color: inherit;
}

.module-nav-item:hover,
.sidebar-module-item:hover {
  background: linear-gradient(145deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
  border-color: var(--color-border);
  transform: translateX(4px);
}

.module-nav-item.active,
.sidebar-module-item.active {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-color: color-mix(in srgb, var(--module-color, #6366f1) 40%, transparent);
  box-shadow: 
    0 4px 15px -5px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Left accent bar for active */
.module-nav-item.active::before,
.sidebar-module-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--module-color, #6366f1);
  border-radius: 0 2px 2px 0;
}

/* ========================================
   COMPLETE MODULE STATE - GREEN STYLING
   ======================================== */

.module-nav-item.complete,
.sidebar-module-item.complete {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
  border-color: rgba(16, 185, 129, 0.25);
}

.module-nav-item.complete::before,
.sidebar-module-item.complete::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #10b981, #059669);
  border-radius: 0 2px 2px 0;
}

.module-nav-item.complete:hover,
.sidebar-module-item.complete:hover {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-color: rgba(16, 185, 129, 0.35);
}

/* Module icon - smaller */
.module-nav-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all 0.3s;
}

.module-nav-item.active .module-nav-icon,
.sidebar-module-item.active .module-nav-icon {
  background: color-mix(in srgb, var(--module-color, #6366f1) 15%, var(--color-surface));
  border-color: color-mix(in srgb, var(--module-color, #6366f1) 30%, transparent);
}

.module-nav-item.complete .module-nav-icon,
.sidebar-module-item.complete .module-nav-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

/* Module info container */
.module-nav-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Module title text - SMALLER */
.module-nav-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
}

.module-nav-item.complete .module-nav-text,
.sidebar-module-item.complete .module-nav-text {
  color: #10b981;
}

/* Task count */
.module-nav-tasks {
  font-size: 0.7rem;
  color: var(--color-text-dim);
  font-weight: 500;
}

.module-nav-item.complete .module-nav-tasks,
.sidebar-module-item.complete .module-nav-tasks {
  color: rgba(16, 185, 129, 0.7);
}

/* Status icon - checkmark for complete */
.module-nav-status {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.module-nav-status.not_started {
  opacity: 0;
}

.module-nav-status.in_progress {
  color: var(--module-color, #6366f1);
  background: color-mix(in srgb, var(--module-color, #6366f1) 15%, transparent);
}

.module-nav-status.complete {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 3px 10px -2px rgba(16, 185, 129, 0.4);
}

.module-nav-status.complete svg {
  width: 14px;
  height: 14px;
}

/* ========================================
   STAGE CARDS - COMPLETION INDICATORS
   ======================================== */

/* Progress ring on stage cards */
.timeline-stage-card .stage-number-ring .ring-progress {
  stroke-dasharray: 144.51;
  stroke-dashoffset: 144.51;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  stroke: var(--stage-color);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
}

/* Stage card with progress */
.timeline-stage-card.has-progress .ring-progress {
  stroke-dashoffset: calc(144.51 - (144.51 * var(--progress, 0) / 100));
}

/* Completed stage card */
.timeline-stage-card.stage-complete {
  border-color: rgba(16, 185, 129, 0.4);
}

.timeline-stage-card.stage-complete::after {
  background: linear-gradient(90deg, #10b981, #059669) !important;
  opacity: 1 !important;
  height: 5px !important;
}

.timeline-stage-card.stage-complete .stage-number-ring .ring-progress {
  stroke: #10b981;
  stroke-dashoffset: 0;
}

.timeline-stage-card.stage-complete .stage-number-inner {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 15px -3px rgba(16, 185, 129, 0.4);
}

/* Completion badge on stage card */
.stage-completion-badge {
  position: relative;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  z-index: 5;
}

.stage-completion-badge svg {
  width: 12px;
  height: 12px;
}

/* Progress indicator on stage card */
.stage-progress-indicator {
  position: relative;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  z-index: 5;
}

.stage-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.stage-progress-fill {
  height: 100%;
  background: var(--stage-color);
  border-radius: 3px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px currentColor;
}

.stage-progress-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

/* Quick stats update for completion */
.timeline-stage-card.stage-complete .quick-stat-value {
  color: #10b981;
}

.timeline-stage-card.has-progress .quick-stat-value {
  color: var(--stage-color);
}

/* Mini timeline completion states */
.mini-stage.stage-complete .mini-stage-node {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #10b981;
  color: white;
  box-shadow: 0 3px 12px -2px rgba(16, 185, 129, 0.4);
}

.mini-stage.stage-complete .mini-stage-label {
  color: #10b981;
  font-weight: 700;
}

.mini-stage.has-progress .mini-stage-node {
  border-color: var(--stage-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--stage-color) 20%, transparent);
}

.mini-stage.has-progress .mini-stage-label {
  color: var(--stage-color);
}

/* ========================================
   SIDEBAR ACTION ITEMS TAB - PREMIUM DESIGN
   ======================================== */

/* Tasks View Container */
.sidebar-tasks-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Tasks Header with Filter */
.sidebar-tasks-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(145deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.sidebar-tasks-filter {
  flex: 1;
  padding: 8px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.sidebar-tasks-filter:hover {
  border-color: var(--module-color, var(--color-border-hover));
}

.sidebar-tasks-filter:focus {
  outline: none;
  border-color: var(--module-color, #6366f1);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--module-color, #6366f1) 20%, transparent);
}

/* Tasks List Container */
.sidebar-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Empty State */
.sidebar-tasks-empty {
  text-align: center;
  padding: 32px 20px;
  color: var(--color-text-dim);
  font-size: 0.9rem;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

/* Task Group - Module Container */
.sidebar-task-group {
  background: linear-gradient(145deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
}

.sidebar-task-group:hover {
  border-color: var(--color-border-hover);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.2);
}

.sidebar-task-group.complete {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.06) 0%, var(--color-surface) 100%);
}

/* Task Group Header - Module Title */
.sidebar-task-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(90deg, var(--color-surface) 0%, transparent 100%);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-task-group-header:hover {
  background: linear-gradient(90deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
}

.sidebar-task-group.complete .sidebar-task-group-header {
  border-bottom-color: rgba(16, 185, 129, 0.2);
}

.sidebar-task-group-icon {
  font-size: 1rem;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.sidebar-task-group-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-task-group.complete .sidebar-task-group-name {
  color: #10b981;
}

/* Task Items Container */
.sidebar-task-items {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Individual Task Item */
.sidebar-task-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
}

/* Hover highlight effect */
.sidebar-task-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--module-color, #6366f1);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sidebar-task-item:hover {
  background: linear-gradient(145deg, var(--color-surface) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: var(--color-border);
}

.sidebar-task-item:hover::before {
  opacity: 0.5;
}

.sidebar-task-item.complete {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.sidebar-task-item.complete::before {
  background: #10b981;
  opacity: 1;
}

/* Checkbox */
.sidebar-task-checkbox {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--color-surface);
  color: transparent;
}

.sidebar-task-checkbox svg {
  width: 14px;
  height: 14px;
}

.sidebar-task-item:hover .sidebar-task-checkbox {
  border-color: var(--module-color, var(--color-text-dim));
  transform: scale(1.05);
}

.sidebar-task-item.complete .sidebar-task-checkbox {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: transparent;
  color: white;
  box-shadow: 
    0 4px 12px -3px rgba(16, 185, 129, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Task Text */
.sidebar-task-text {
  flex: 1;
  font-size: 0.80rem;
  align-items: center;
  color: var(--color-text-muted);
  line-height: 1.5;
  transition: all 0.2s ease;
}

.sidebar-task-item:hover .sidebar-task-text {
  color: var(--color-text);
}

.sidebar-task-item.complete .sidebar-task-text {
  color: var(--color-text-dim);
  text-decoration: line-through;
  text-decoration-color: rgba(16, 185, 129, 0.5);
}

/* Module Complete Button */
.sidebar-module-complete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 16px);
  margin: 8px;
  padding: 12px 16px;
  background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  
  -webkit-appearance: none;
  appearance: none;
}

.sidebar-module-complete-btn:hover {
  background: linear-gradient(145deg, var(--color-surface-elevated) 0%, var(--color-surface) 100%);
  border-style: solid;
  border-color: var(--module-color, var(--color-border-hover));
  color: var(--color-text);
  transform: translateY(-1px);
}

.sidebar-module-complete-btn.complete {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-style: solid;
  color: #10b981;
}

.sidebar-module-complete-btn.complete:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.5);
}

/* Progress Summary in Tasks View */
.sidebar-tasks-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.sidebar-tasks-progress-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.sidebar-tasks-progress-count {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.sidebar-tasks-progress-count.all-complete {
  color: #10b981;
}

/* ========================================
   BUTTON RESET FOR ELECTRON
   ======================================== */

button {
  -webkit-appearance: none;
  appearance: none;
}

.modal-close {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-border-hover);
}

/* --- Sidebar module nav: keep the left accent bar inside the pill --- */
.module-nav-item,
.sidebar-module-item {
  position: relative;   /* ensure ::before anchors to the button */
  overflow: clip;     /* clip accent bar to rounded corners */
  display: flex;
}

/* Active accent bar: inset so it doesn't "poke" into rounded corners */
.module-nav-item.active::before,
.sidebar-module-item.active::before,
.module-nav-item.complete::before,
.sidebar-module-item.complete::before {
  top: 0px;
  bottom: 0px;
  left: 0px;
  width: 4px;
  border-radius: var(--radius-md);
  pointer-events: none;
}

/* ========================================
   STAGE CARD: PROGRESS INDICATOR (BAR)
   Tighter spacing + centered pill
   ======================================== */

.stage-progress-indicator {
  /* tighter distance from the card edges */
  top: 2px;  
  bottom: 10px;
  padding: 8px 12px;
  gap: 8px;

  /* hard-center the pill */
  left: 50%;
  right: auto;
  transform: translateX(-40%);
  width: calc(100% - 44px);   /* smaller edge gap than 16px+16px */
  /*max-width: 220px;          /* keeps it looking intentional on 260px cards */
  scale: 1.25;             
  /* cleaner “contained” look */
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.stage-progress-bar {
  height: 5px; /* slightly slimmer */
  background: rgba(255, 255, 255, 0.12);
}

.stage-progress-text {
  font-size: 0.72rem;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

/* ========================================
   STAGE CARD: ICON RING (MORE CONTRAST)
   ======================================== */

/* Add a subtle backing plate so the ring doesn't blend into the card */
.stage-number-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  z-index: 0;
}

/* Ensure SVG sits above backing plate */
.stage-number-ring svg {
  z-index: 1;
}

/* Make the background ring more visible */
.stage-number-ring .ring-bg {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 4;
}

/* Make the progress ring thicker + brighter */
.timeline-stage-card .stage-number-ring .ring-progress,
.stage-number-ring .ring-progress {
  stroke-width: 4;
  stroke: color-mix(in srgb, var(--stage-color) 88%, white);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--stage-color) 70%, transparent));
}

/* Darken the inner circle so the ring pops */
.stage-number-inner {
  inset: 4px; /* creates more separation between ring and inner disc */
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--stage-color) 45%, #000),
    color-mix(in srgb, var(--stage-color) 25%, #000)
  );
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}