        :root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --plant-color: #4caf50;
            --animal-color: #ff9800;
            --fungi-color: #9c27b0;
        }
         
        .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 0.2);
            position: relative;
            overflow: hidden;     color: var(--text-color);
        }
        
       .result-container{display:none}
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: var(--text-color);
        }
         
        .chart-container {
            position: relative;
            height: 400px;
            width: 100%;
            margin: 2rem 0;
        }
        
        .chart-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: var(--text-muted);
            font-style: italic;
            background-color: #f8f9fa;
            border-radius: 6px;
        }
         
        .calculation-modes {
            display: flex;
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 4px;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        
        .mode-btn {
            flex: 1;
            text-align: center;
            padding: 0.75rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
            min-width: 120px;
            margin: 2px;
        }
        
        .mode-btn.active {
            background-color: var(--primary-color);
            color: white;
        }
         
        .mode-form {
            display: none;
        }
        
        .mode-form.active {
            display: block;
        }
        
        .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(44, 125, 160, 0.05);
        }
        
        .biology-icon {
            font-size: 1.5rem;
            color: var(--primary-color);
            margin-right: 0.5rem;
        }
         
        /* Biology-specific styles */
        .taxonomy-level {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            padding: 1rem;
            border-radius: 6px;
            background-color: white;
            border: 1px solid var(--border-color);
        }
        
        .taxonomy-level.kingdom {
            border-left: 4px solid var(--primary-color);
        }
        
        .taxonomy-level.phylum {
            border-left: 4px solid var(--plant-color);
        }
        
        .taxonomy-level.class {
            border-left: 4px solid var(--animal-color);
        }
        
        .taxonomy-level.order {
            border-left: 4px solid var(--fungi-color);
        }
        
        .taxonomy-level.family {
            border-left: 4px solid #ff5722;
        }
        
        .taxonomy-level.genus {
            border-left: 4px solid #2196f3;
        }
        
        .taxonomy-level.species {
            border-left: 4px solid #9c27b0;
        }
        
        .taxonomy-label {
            font-weight: 600;
            min-width: 100px;
            margin-right: 1rem;
        }
        
        .taxonomy-value {
            font-weight: 500;
        }
        
        .characteristic-option {
            display: block;
            padding: 0.75rem;
            margin-bottom: 0.5rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .characteristic-option:hover {
            background-color: var(--light-gray);
        }
        
        .characteristic-option.selected {
            background-color: rgba(44, 125, 160, 0.1);
            border-color: var(--primary-color);
        }
        
        .classification-path {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        
        .classification-step {
            background-color: var(--light-gray);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .species-card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .species-image {
            width: 100%;
            height: 200px;
            background-color: #f0f4f8;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }
        
        .dichotomous-question {
            font-weight: 600;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }
        
        .phylogenetic-tree {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
        }
        
        .tree-node {
            display: inline-block;
            padding: 0.5rem 1rem;
            margin: 0.5rem;
            background-color: var(--light-gray);
            border-radius: 4px;
            font-size: 0.9rem;
        }
        
        .tree-branch {
            display: flex;
            align-items: center;
            margin: 0.5rem 0;
        }
        
        .tree-line {
            flex-grow: 1;
            height: 2px;
            background-color: var(--border-color);
            margin: 0 0.5rem;
        }
        
        /* New styles */
        .tooltip {
            position: absolute;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            z-index: 1000;
            max-width: 200px;
        }
        
        .image-upload-container {
            border: 2px dashed #ddd;
            border-radius: 8px;
            padding: 2rem;
            text-align: center;
            margin-bottom: 1.5rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .image-upload-container:hover {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .image-upload-container.dragover {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.1);
        }
        
        .upload-icon {
            font-size: 3rem;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }
        
        .uploaded-image {
            max-width: 100%;
            max-height: 300px;
            border-radius: 6px;
            margin-top: 1rem;
        }
        
        .export-options {
            display: flex;
            gap: 10px;
            margin-top: 1rem;
        }
        
        .model-viewer {
            width: 100%;
            height: 300px;
            background-color: #f0f4f8;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }
    