/* ============================================
   THEME READABILITY FIXES
   ============================================ */

/* Fix white text elements for Bright theme */
[data-theme="bright"] .countdown-label,
[data-theme="bright"] .countdown-unit {
  color: var(--text-secondary);
}

/* Enhanced countdown timer for Bright theme */
[data-theme="bright"] .countdown-item {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: 1px solid rgba(37, 99, 235, 0.4);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="bright"] .countdown-value {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="bright"] .countdown-unit {
  color: #f1f5f9;
}

[data-theme="bright"] .upcoming-detail-label,
[data-theme="bright"] .upcoming-session-none {
  color: var(--text-secondary);
}

[data-theme="bright"] .sessions-table td {
  color: var(--text-secondary);
}

[data-theme="bright"] #sessions .sessions-table td:nth-child(4),
[data-theme="bright"] #booth-schedule .sessions-table td:nth-child(3) {
  color: var(--text-secondary);
}

[data-theme="bright"] .session-badge.default {
  color: var(--text-secondary);
}

[data-theme="bright"] .session-badge.brk,
[data-theme="bright"] .session-badge.key {
  background-color: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="bright"] .session-badge.lab {
  color: var(--badge-lab-text);
}

[data-theme="bright"] .booth-focus-heading {
  background: var(--warning-bg);
  border-color: var(--warning-border);
  color: var(--warning-text);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-shadow: none;
}

/* Session link colors for bright theme - darker for better contrast */
[data-theme="bright"] .session-link {
  color: #b45309;
}

[data-theme="bright"] .session-link:hover {
  color: #92400e;
  text-shadow: none;
}

[data-theme="bright"] .upcoming-detail-value.code {
  color: #b45309;
  text-shadow: none;
}

/* Tab button colors for bright theme */
[data-theme="bright"] .tab-btn {
  color: var(--text-muted);
}

[data-theme="bright"] .tab-btn:hover {
  color: var(--accent-bright-cyan);
  text-shadow: none;
}

[data-theme="bright"] .tab-btn.active {
  color: var(--accent-bright-cyan);
  text-shadow: none;
}

/* Upcoming session heading for bright theme */
[data-theme="bright"] .upcoming-session h3 {
  color: var(--accent-bright-cyan);
  text-shadow: none;
}

[data-theme="bright"] .upcoming-detail-value.time {
  color: var(--accent-bright-cyan);
  text-shadow: none;
}

/* Table header for bright theme */
[data-theme="bright"] .sessions-table th {
  color: var(--accent-bright-cyan);
  text-shadow: none;
}

/* Ensure proper contrast for all text in bright theme */
[data-theme="bright"] .sessions-table td:nth-child(1),
[data-theme="bright"] #sessions .sessions-table td:nth-child(3),
[data-theme="bright"] #booth-schedule .sessions-table td:nth-child(2) {
  color: var(--text-primary);
}

/* Remove glow effects from headings in Bright theme */
[data-theme="bright"] h1 {
  filter: none;
  background: linear-gradient(135deg, #0f172a, #1e40af, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="bright"] .card h2 {
  text-shadow: none;
  filter: none;
}

/* Subtitle disclaimers with red accent in Bright theme */
[data-theme="bright"] .subtitle-disclaimer {
  background: rgba(185, 8, 71, 0.08);
  border-color: rgba(185, 8, 71, 0.25);
  border-left-color: #B90847;
}

[data-theme="bright"] .subtitle-disclaimer strong {
  color: #B90847;
  text-shadow: none;
}
