        :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;
            --mechanism-color: #e74c3c;
        }
        
  
        .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);
        }
         
        
        .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);
        }
         
        /* Mechanism Summary */
        .mechanism-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .mechanism-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);
        }
        
        .mechanism-item h4 {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        
        .mechanism-item .value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--mechanism-color);
        }
        
        .mechanism-item .detail {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }
        
        /* Chart Container */
        .chart-container {
            position: relative;
            height: 400px;
            width: 100%;
            margin: 2rem 0;
        }
        
        /* Reaction Table */
        .reaction-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .reaction-table th, .reaction-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        .reaction-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .reaction-table tr:hover {
            background-color: rgba(231, 76, 60, 0.05);
        }
        
        .reaction-input {
            width: 100%;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 0.5rem;
            background: white;
        }
        
        /* Species 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 input {
            width: 100%;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 0.5rem;
            background: white;
        }
        
        /* Mechanism Visualization */
        .mechanism-visualization {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
        }
        
        .reaction-pathway {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            margin: 1rem 0;
        }
        
        .species-node {
            background: white;
            border: 2px solid var(--mechanism-color);
            border-radius: 8px;
            padding: 0.75rem 1.5rem;
            margin: 0.5rem;
            font-weight: 600;
            text-align: center;
            min-width: 100px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .reversible-arrow {
            font-size: 1.5rem;
            color: var(--text-muted);
            margin: 0 0.5rem;
            position: relative;
        }
        
        .reversible-arrow::after {
            content: "⇌";
            display: block;
        }
        
        .rate-constant {
            font-size: 0.8rem;
            color: var(--text-muted);
            text-align: center;
            margin-top: 0.25rem;
        }
        
        /* Tabs */
        .nav-tabs .nav-link {
            color: var(--text-muted);
            font-weight: 600;
            border: none;
            padding: 0.75rem 1.5rem;
        }
        
        .nav-tabs .nav-link.active {
            color: var(--mechanism-color);
            border-bottom: 3px solid var(--mechanism-color);
            background: transparent;
        }
         
        /* Mechanism-specific styles */
        .mechanism-icon {
            color: var(--mechanism-color);
        }
        
        /* Order input styling */
        .order-input {
            width: 60px;
            text-align: center;
        }
        
        /* Stability indicator */
        .stability-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
        }
        
        .stable {
            background-color: var(--success-color);
        }
        
        .unstable {
            background-color: #dc3545;
        }
        
        .warning {
            background-color: var(--warning-color);
        }
        
        /* Steady-state checkbox */
        .steady-state-check {
            margin-right: 10px;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
 
            .mechanism-summary {
                grid-template-columns: 1fr;
            }
            
            .reaction-pathway {
                flex-direction: column;
            }
            
            .reversible-arrow {
                transform: rotate(90deg);
                margin: 0.5rem 0;
            }
        }
    