        :root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --go-bp-color: #4caf50;
            --go-mf-color: #2196f3;
            --go-cc-color: #ff9800;
            --significant-color: #dc3545;
            --enriched-color: #28a745;
            --chart-color-1: #4caf50;
            --chart-color-2: #2196f3;
            --chart-color-3: #ff9800;
            --chart-color-4: #9c27b0;
            --chart-color-5: #f44336;
        }
         
        /* Gene List Library */
        .gene-library-container {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border: 1px solid var(--border-color);
        }
        
        .library-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .library-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .library-item {
            background: white;
            border-radius: 6px;
            padding: 1rem;
            border: 1px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .library-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            border-color: var(--primary-color);
        }
        
        .library-item.active {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .library-item-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }
        
        .library-item-desc {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        
        .library-item-count {
            font-size: 0.8rem;
            color: var(--primary-color);
            font-weight: 600;
        }
        
        /* Result Area */
        .result-container {
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 1.5rem;
            margin-top: 1.5rem;
            position: relative;
            border: 1px solid var(--border-color);
        }
        
        .result-title {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--primary-color);
        }
        
        .result-content {
            word-break: break-all;
            padding: 12px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-size: 0.95rem;
        }
        
        .summary-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);
        }
        
        .summary-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        .summary-label {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        
        /* Chart Container */
        .chart-container {
            position: relative;
            height: 400px;
            width: 100%;
            margin: 2rem 0;
        }
        
        /* GO Summary */
        .go-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .go-item {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .go-item h4 {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        
        .go-item .value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .go-item .detail {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }
         
        .go-info-box {
            background-color: rgba(76, 175, 80, 0.05);
            border-left: 3px solid var(--go-bp-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
       
        /* Responsive Adjustments */
        @media (max-width: 768px) {
 
            .go-summary {
                grid-template-columns: 1fr;
            }
            
            .library-grid {
                grid-template-columns: 1fr;
            }
        }
        
        /* Toggle switch for GO categories */
        .go-categories {
            display: flex;
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 4px;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        
        .category-btn {
            flex: 1;
            text-align: center;
            padding: 0.75rem;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
            min-width: 150px;
            margin: 2px;
        }
        
        .category-btn.active {
            background-color: var(--primary-color);
            color: white;
        }
        
        /* Toast notifications */
        .toast-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1050;
        }
        
        /* Action buttons */
        .action-btn {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 0.5rem 1rem;
            margin-left: 0.5rem;
            transition: all 0.3s;
            color: var(--text-color);
        }
        
        .action-btn:hover {
            background-color: var(--light-gray);
            color: var(--primary-color);
        }
        
        /* GO-specific styling */
        .go-alert {
            background-color: rgba(76, 175, 80, 0.1);
            border-left: 4px solid var(--go-bp-color);
            padding: 1rem;
            margin: 1rem 0;
            border-radius: 0 4px 4px 0;
        }
        
        .significant-term {
            color: var(--significant-color);
            font-weight: 600;
        }
        
        .enriched-term {
            color: var(--enriched-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(44, 125, 160, 0.05);
        }
        
        .generating-indicator {
            display: none;
            text-align: center;
            padding: 1rem;
            color: var(--text-muted);
        }
        
        /* GO term specific styles */
        .go-term-bar {
            height: 20px;
            background-color: #e9ecef;
            border-radius: 10px;
            margin: 1rem 0;
            overflow: hidden;
        }
        
        .go-term-fill {
            height: 100%;
            border-radius: 10px;
            transition: width 0.5s ease;
        }
        
        .go-term-value {
            font-size: 2rem;
            font-weight: 700;
            margin: 1rem 0;
        }
        
        .go-term-interpretation {
            padding: 1.5rem;
            border-radius: 8px;
            margin: 1.5rem 0;
            border-left: 5px solid;
        }
        
        .interpretation-bp {
            background-color: rgba(76, 175, 80, 0.1);
            border-left-color: var(--go-bp-color);
        }
        
        .interpretation-mf {
            background-color: rgba(33, 150, 243, 0.1);
            border-left-color: var(--go-mf-color);
        }
        
        .interpretation-cc {
            background-color: rgba(255, 152, 0, 0.1);
            border-left-color: var(--go-cc-color);
        }
        
        .go-chart-container {
            position: relative;
            height: 300px;
            width: 100%;
            margin: 1.5rem 0;
        }
        
        .go-status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
        }
        
        .status-bp {
            background-color: var(--go-bp-color);
        }
        
        .status-mf {
            background-color: var(--go-mf-color);
        }
        
        .status-cc {
            background-color: var(--go-cc-color);
        }
        
        .go-formula {
            font-family: 'Courier New', monospace;
            background-color: #f8f9fa;
            padding: 1rem;
            border-radius: 6px;
            border-left: 4px solid var(--go-bp-color);
            margin: 1rem 0;
        }
        
        /* GO results table */
        .go-results-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .go-results-table th, .go-results-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        .go-results-table th {
            background-color: var(--light-gray);
            font-weight: 600;
            position: sticky;
            top: 0;
        }
        
        .go-results-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .p-value-cell {
            font-family: 'Courier New', monospace;
            font-weight: 600;
        }
        
        .significant-p {
            color: var(--significant-color);
        }
        
        /* GO category tabs */
        .go-tabs {
            display: flex;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }
        
        .go-tab {
            padding: 0.75rem 1.5rem;
            cursor: pointer;
            font-weight: 600;
            border-bottom: 3px solid transparent;
            transition: all 0.3s;
            white-space: nowrap;
        }
        
        .go-tab.active {
            border-bottom-color: var(--primary-color);
            color: var(--primary-color);
        }
        
        .go-tab-content {
            display: none;
        }
        
        .go-tab-content.active {
            display: block;
        }
        
        /* Gene list input styles */
        .gene-input-container {
            position: relative;
        }
        
        .gene-count {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: var(--light-gray);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        
        /* Enrichment visualization */
        .enrichment-visualization {
            height: 60px;
            position: relative;
            margin: 1.5rem 0;
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 10px;
        }
        
        .enrichment-scale {
            height: 20px;
            background: linear-gradient(to right, var(--go-bp-color) 0%, var(--go-mf-color) 50%, var(--go-cc-color) 100%);
            border-radius: 10px;
            position: relative;
        }
        
        .enrichment-marker {
            position: absolute;
            top: -5px;
            width: 2px;
            height: 30px;
            background-color: var(--significant-color);
        }
        
        .enrichment-point {
            position: absolute;
            top: -10px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--primary-color);
            transform: translateX(-50%);
        }
        
        /* Filter controls */
        .filter-controls {
            background-color: var(--light-gray);
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .filter-title {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--text-color);
        }
        
        /* Progress bar */
        .progress-container {
            margin: 1rem 0;
        }
        
        .progress-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .progress {
            height: 10px;
            border-radius: 5px;
        }
        
        /* GO tree visualization */
        .go-tree-container {
            height: 400px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: auto;
            padding: 1rem;
            background-color: white;
            margin: 1.5rem 0;
        }
        
        .go-tree-node {
            margin-left: 20px;
            padding: 5px 0;
            position: relative;
        }
        
        .go-tree-node::before {
            content: "";
            position: absolute;
            left: -15px;
            top: 50%;
            width: 10px;
            height: 1px;
            background-color: var(--border-color);
        }
        
        .go-tree-node::after {
            content: "";
            position: absolute;
            left: -15px;
            top: 0;
            height: 100%;
            width: 1px;
            background-color: var(--border-color);
        }
        
        .go-tree-node:last-child::after {
            height: 50%;
        }
        
        /* Quick actions */
        .quick-actions {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        
        .quick-action-btn {
            background-color: var(--light-gray);
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .quick-action-btn:hover {
            background-color: var(--primary-color);
            color: white;
        }
    