/* Theme Switcher */
.theme-switcher {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    z-index: 100;
    max-width: 1200px;
    margin: 0 auto;
    left: auto;
  }
  
  /* Container relative positioning to ensure proper theme switcher placement */
  .container {
    position: relative;
  }
  .theme-switcher:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  .theme-switcher svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
  }
  
  .theme-switcher:hover svg {
    transform: rotate(30deg);
  }
  
  /* Dark mode specific styles for the switcher */
  html[data-theme="dark"] .theme-switcher {
    color: #f1c40f; /* Bright yellow color for the sun icon */
  }
  
  html[data-theme="dark"] .theme-switcher:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  /* General theme classes */
  html[data-theme="light"] {
    /* Light theme variables */
    --color-primary: #2b6cb0;
    --color-primary-light: #ebf8ff;
    --color-text: #2d3748;
    --color-text-light: #4a5568;
    --color-border: #ddd;
    --color-border-light: #eee;
    --color-star: #f1c40f;
    --color-star-inactive: #bdc3c7;
    --color-mild: #ffefd5;
    --color-moderate: #ffe4b5;
    --color-severe: #ffd7a0;
    background-color: #ffffff;
  }
  
  html[data-theme="dark"] {
    /* Dark theme variables */
    --color-primary: #60a5fa;
    --color-primary-light: #1e3a5f;
    --color-text: #f3f4f6;
    --color-text-light: #d1d5db;
    --color-border: #374151;
    --color-border-light: #1f2937;
    --color-star: #f1c40f;
    --color-star-inactive: #4b5563;
    --color-mild: #422006;
    --color-moderate: #4b2707;
    --color-severe: #541e07;
    --focus-ring: #60a5fa40;
    background-color: #111827;
  }