        :root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --header-bg: #f0f4f8;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --chemistry-green: #2e7d32;
            --chemistry-blue: #1565c0;
            --chemistry-purple: #6a1b9a;
        }
         
        /* Chemical Structure Drawing */
        .structure-canvas-container {
            position: relative;
            width: 100%;
            height: 300px;
            border: 1px solid #ddd;
            border-radius: 6px;
            margin-bottom: 1rem;
            background-color: white;
            overflow: hidden;
        }
        
        .drawing-tools {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }
        
        .drawing-tool {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            background: white;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .drawing-tool:hover {
            background-color: var(--light-gray);
        }
        
        .drawing-tool.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        /* Results Table */
        .results-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .results-table th {
            background-color: var(--light-gray);
            padding: 0.75rem;
            text-align: left;
            border-bottom: 2px solid var(--border-color);
        }
        
        .results-table td {
            padding: 0.75rem;
            border-bottom: 1px solid var(--border-color);
        }
        
        .results-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
         
        /* Chemical Examples */
        .example-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .example-card {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1.5rem;
            background: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .example-card:hover {
            border-color: var(--primary-color);
            transform: translateY(-2px);
        }
        
        .example-title {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .example-smiles {
            font-family: 'Courier New', monospace;
            background-color: var(--light-gray);
            padding: 0.5rem;
            border-radius: 4px;
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }
        
        .example-iupac {
            font-weight: 500;
            color: var(--chemistry-green);
        }
        
        /* Chemical Structure Display */
        .structure-display {
            width: 100%;
            height: 200px;
            border: 1px solid #ddd;
            border-radius: 6px;
            margin: 1rem 0;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        
        .structure-info {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1rem 0;
        }
        
        .info-item {
            flex: 1;
            min-width: 150px;
            padding: 1rem;
            background-color: var(--light-gray);
            border-radius: 6px;
            text-align: center;
        }
        
        .info-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        
        .info-value {
            font-weight: 600;
            color: var(--primary-color);
        }
        
        /* Naming Rules */
        .naming-rules {
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .rule-item {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border-color);
        }
        
        .rule-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .rule-title {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        /* Functional Groups */
        .functional-groups {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .group-item {
            padding: 1rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            text-align: center;
            transition: all 0.3s;
        }
        
        .group-item:hover {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .group-name {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        .group-formula {
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        /* Code Example */
        .code-example {
            background-color: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            padding: 1rem;
            font-family: 'Courier New', monospace;
            margin: 1rem 0;
            overflow-x: auto;
        }
    