/* ─── Basic Styling ─── */
      body {
        font-family: 'Lunera', Arial, sans-serif;
        margin: 1rem;
        line-height: 1.4;
        position: relative;
      }
      h1 {
        font-family: 'Elounda', Georgia, serif;
        font-style: italic;
        margin-bottom: 0.5rem;
      }
      .section-container {
        padding: 0.8rem;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        background: #fafafa;
      }
      .symptoms-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 0.5rem;
      }
      .symptoms-table th,
      .symptoms-table td {
        border: 1px solid #999;
        padding: 0.4rem 0.6rem;
        font-family: 'Lunera', Arial, sans-serif;
      }
      .trigger-cell {
        text-align: center;
        font-style: italic;
        color: #555;
        font-family: 'Lunera', Arial, sans-serif;
      }
      label {
        cursor: pointer;
        font-family: 'Lunera', Arial, sans-serif;
      }
      button {
        margin-right: 0.5rem;
        padding: 0.5rem 1rem;
        border: 1px solid #666;
        background: #fff;
        border-radius: 4px;
        cursor: pointer;
        font-family: 'Lunera', Arial, sans-serif;
        font-weight: 600;
      }
      button:hover {
        background: #eee;
      }
      .footer-buttons {
        margin-top: 1rem;
      }
      .footer-buttons button {
        background: #2e7d32;
        color: #fff;
        border: none;
        font-family: 'Lunera', Arial, sans-serif;
      }
      .footer-buttons button:hover {
        background: #276729;
      }
      textarea {
        width: 100%;
        height: 6rem;
        resize: vertical;
        padding: 0.5rem;
        border: 1px solid #999;
        border-radius: 4px;
        font-family: 'Lunera', Arial, sans-serif;
        margin-top: 0.6rem;
      }
      .error {
        color: red;
        font-family: 'Lunera', Arial, sans-serif;
      }

      /* ─── RESPONSIVE ENVIRONMENT LAYOUT ─── */
      .environment-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
      }
      
      .environment-container {
        background: #fafafa;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 0.8rem;
        flex: 1;
      }
      
      /* Desktop/Landscape: Side by side */
      @media (min-width: 768px) {
        .environment-wrapper {
          flex-direction: row;
          align-items: stretch;
        }
        
        .environment-container {
          min-height: auto;
        }
        
        #sliderBox {
          display: flex;
          flex-direction: column;
        }
        
        #sliderBox .slider-container {
          flex: 0 0 auto;
        }
        
        #sliderBox .vpd-reference-container {
          margin-top: auto;
        }
      }
      
      /* Large screens: More spacing */
      @media (min-width: 1200px) {
        .environment-wrapper {
          gap: 2rem;
        }
        
        .environment-container {
          padding: 1.2rem;
        }
      }
      
      /* Mobile: Stacked (default) */
      @media (max-width: 767px) {
        .environment-wrapper {
          gap: 1rem;
        }
        
        .environment-container {
          padding: 0.6rem;
        }
      }
      
      /* Environment display grid styling */
      .env-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.75rem;
        margin-top: 1rem;
      }
      
      .env-grid .full-row {
        grid-column: 1 / -1;
      }
      
      /* Responsive adjustments for env-grid */
      @media (min-width: 768px) and (max-width: 1199px) {
        .env-grid {
          grid-template-columns: 1fr;
          gap: 0.5rem;
        }
      }

      /* ─── Make sure ALL elements use Lunera ─── */
      select, option {
        font-family: 'Lunera', Arial, sans-serif;
        font-weight: 500;
      }
      h2, h3, h4, h5, h6 {
        font-family: 'Lunera', Arial, sans-serif;
        font-weight: 700;
      }
      input {
        font-family: 'Lunera', Arial, sans-serif;
      }
    
      /* Nav bar styles are in style.css - just keep active indicator here */
      .nav-bar a.active::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 3px;
        background: #fff;
        border-radius: 2px;
      }
