        :root {
            --primary-color: #1b5e20;
            --secondary-color: #81c784;
            --accent-color: #0d3c12;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --shannon-color: #2e7d32;
            --simpson-color: #1565c0;
            --richness-color: #6a1b9a;
        } 
        /* Biodiversity-specific styling */
        .biodiversity-alert {
            background-color: rgba(106, 27, 154, 0.1);
            border-left: 4px solid var(--richness-color);
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 0 4px 4px 0;
        }
        
        .normal-range {
            color: #28a745;
            font-weight: 600;
        }
        
        .abnormal-range {
            color: var(--shannon-color);
            font-weight: 600;
        }
        
        .reference-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .reference-table th, .reference-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        
        .reference-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .reference-table tr:nth-child(even) {
            background-color: rgba(27, 94, 32, 0.05);
        }
        
        .generating-indicator {
            display: none;
            text-align: center;
            padding: 1rem;
            color: var(--text-muted);
        }
        
        /* Biodiversity chart */
        .biodiversity-chart-container {
            position: relative;
            height: 400px;
            width: 100%;
            margin: 1.5rem 0;
        }
        
        .index-status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
        }
        
        .status-shannon {
            background-color: var(--shannon-color);
        }
        
        .status-simpson {
            background-color: var(--simpson-color);
        }
        
        .status-richness {
            background-color: var(--richness-color);
        }
        
        .biodiversity-classification {
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
            border-left: 5px solid;
        }
        
        .biodiversity-low {
            background-color: rgba(229, 57, 53, 0.1);
            border-left-color: #e53935;
        }
        
        .biodiversity-moderate {
            background-color: rgba(255, 193, 7, 0.1);
            border-left-color: var(--warning-color);
        }
        
        .biodiversity-high {
            background-color: rgba(46, 125, 50, 0.1);
            border-left-color: var(--shannon-color);
        }
        
        /* Index selector */
        .index-selector {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 10px;
            margin-bottom: 1.5rem;
        }
        
        .index-option {
            border: 2px solid var(--border-color);
            border-radius: 8px;
            padding: 1rem 0.5rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .index-option:hover {
            border-color: var(--primary-color);
            background-color: rgba(27, 94, 32, 0.05);
        }
        
        .index-option.active {
            border-color: var(--primary-color);
            background-color: rgba(27, 94, 32, 0.1);
        }
        
        .index-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            color: var(--primary-color);
        }
        
        /* Species input table */
        .species-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .species-table th, .species-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        .species-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .species-table tr:hover {
            background-color: rgba(27, 94, 32, 0.05);
        }
        
        .add-species-btn {
            margin-top: 1rem;
        }
        
        /* Habitat selector */
        .habitat-selector {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 10px;
            margin-bottom: 1.5rem;
        }
        
        .habitat-option {
            border: 2px solid var(--border-color);
            border-radius: 8px;
            padding: 1rem 0.25rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .habitat-option:hover {
            border-color: var(--primary-color);
            background-color: rgba(27, 94, 32, 0.05);
        }
        
        .habitat-option.active {
            border-color: var(--primary-color);
            background-color: rgba(27, 94, 32, 0.1);
        }
        
        .habitat-icon {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--primary-color);
        }
        
        /* Comparison table */
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .comparison-table th, .comparison-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        .comparison-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .comparison-table tr:hover {
            background-color: rgba(27, 94, 32, 0.05);
        }
    