        :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;
        }
         
        .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 */
        .chart-container {
            position: relative;
            height: 400px;
            width: 100%;
            margin: 2rem 0;
        }
        
        /* 3D Visualization Container */
        .visualization-container {
            position: relative;
            height: 400px;
            width: 100%;
            margin: 2rem 0;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            overflow: hidden;
            background-color: #f8f9fa;
        }
        
        /* Financial Summary */
        .financial-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .financial-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);
        }
        
        .financial-item h4 {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        
        .financial-item .value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .financial-item .detail {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }
          
        /* Responsive Adjustments */
        @media (max-width: 768px) {
 
            .financial-summary {
                grid-template-columns: 1fr;
            }
        }
        
        /* Toggle switch for calculation modes */
        .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;
        }
        
  
        /* Range slider styling */
        .form-range {
            width: 100%;
            height: 1rem;
            padding: 0;
            background-color: transparent;
            -webkit-appearance: none;
        }
        
        .form-range:focus {
            outline: none;
        }
        
        .form-range::-webkit-slider-thumb {
            width: 1rem;
            height: 1rem;
            margin-top: -0.5rem;
            background-color: var(--primary-color);
            border: 0;
            border-radius: 1rem;
            -webkit-appearance: none;
        }
        
        .form-range::-webkit-slider-runnable-track {
            width: 100%;
            height: 0.5rem;
            cursor: pointer;
            animate: 0.2s;
            background: var(--light-gray);
            border-radius: 0.5rem;
        }
        
        .slider-value {
            background-color: var(--primary-color);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
            margin-left: 0.5rem;
        }
        
        /* Input group styling */
        .input-group {
            margin-bottom: 1rem;
        }
        
        /* Mode-specific form styling */
        .mode-form {
            display: none;
        }
        
        .mode-form.active {
            display: block;
        }
        
        /* 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(44, 125, 160, 0.05);
        }
        
        /* Quantum-specific styles */
        .molecule-input {
            font-family: monospace;
        }
        
        .molecule-preview {
            height: 200px;
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }
        
        .orbital-visualization {
            height: 300px;
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            margin-bottom: 1rem;
            position: relative;
        }
        
        .calculation-progress {
            height: 10px;
            background-color: #e9ecef;
            border-radius: 5px;
            margin: 1rem 0;
            overflow: hidden;
        }
        
        .progress-bar {
            height: 100%;
            background-color: var(--primary-color);
            width: 0%;
            transition: width 0.3s ease;
        }
        
        .property-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .property-item {
            background: white;
            border-radius: 6px;
            padding: 1rem;
            border: 1px solid var(--border-color);
        }
        
        .property-label {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        
        .property-value {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-color);
        }
        
        .property-unit {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-left: 0.25rem;
        }
        
        .energy-levels {
            display: flex;
            flex-direction: column;
            margin: 1rem 0;
        }
        
        .energy-level {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
        }
        
        .energy-bar {
            height: 20px;
            background-color: var(--primary-color);
            margin-right: 1rem;
            border-radius: 2px;
        }
        
        .energy-label {
            min-width: 100px;
        }
        
        .energy-value {
            font-weight: 600;
        }
        
        .generating-indicator {
            display: none;
            padding: 1rem;
            background-color: rgba(44, 125, 160, 0.1);
            border-radius: 6px;
            margin: 1rem 0;
            text-align: center;
        }
        
        /* Element selector */
        .element-selector {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-bottom: 1rem;
        }
        
        .element-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: white;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 600;
            font-size: 0.8rem;
        }
        
        .element-btn:hover {
            background-color: #f0f0f0;
        }
        
        .element-btn.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        .molecule-builder {
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 1rem;
            margin-bottom: 1rem;
            background-color: #f8f9fa;
        }
        
        .coordinate-input {
            font-family: monospace;
            font-size: 0.9rem;
        }
        
        .atom-list {
            max-height: 200px;
            overflow-y: auto;
            margin-bottom: 1rem;
        }
        
        .atom-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem;
            border-bottom: 1px solid #eee;
        }
        
        .atom-item:last-child {
            border-bottom: none;
        }
        
        /* Periodic Table Styles */
        .periodic-table {
            display: grid;
            grid-template-columns: repeat(18, 1fr);
            gap: 2px;
            margin: 1rem 0;
        }
        
        .periodic-element {
            width: 40px;
            height: 40px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border: 1px solid #ddd;
            border-radius: 4px;
            background-color: white;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.7rem;
            text-align: center;
        }
        
        .periodic-element:hover {
            transform: scale(1.05);
            z-index: 10;
        }
        
        .periodic-element .symbol {
            font-weight: bold;
            font-size: 0.8rem;
        }
        
        .periodic-element .number {
            font-size: 0.6rem;
            color: #666;
        }
        
        .periodic-gap {
            grid-column: span 1;
        }
        
        .element-category-1 { background-color: #FF9999; } /* Alkali metals */
        .element-category-2 { background-color: #FFDEAD; } /* Alkaline earth metals */
        .element-category-3 { background-color: #FFB6C1; } /* Lanthanides */
        .element-category-4 { background-color: #87CEEB; } /* Actinides */
        .element-category-5 { background-color: #98FB98; } /* Transition metals */
        .element-category-6 { background-color: #DDA0DD; } /* Post-transition metals */
        .element-category-7 { background-color: #F0E68C; } /* Metalloids */
        .element-category-8 { background-color: #87CEFA; } /* Nonmetals */
        .element-category-9 { background-color: #20B2AA; } /* Halogens */
        .element-category-10 { background-color: #B0C4DE; } /* Noble gases */
        
        .element-category-key {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 1rem 0;
            font-size: 0.8rem;
        }
        
        .category-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .category-color {
            width: 15px;
            height: 15px;
            border-radius: 3px;
        }
        
        /* More elements button */
        .more-elements-btn {
            width: 100%;
            margin-top: 10px;
            padding: 8px;
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .more-elements-btn:hover {
            background-color: #e9ecef;
        }
        
        .more-elements-container {
            display: none;
            margin-top: 1rem;
        }
    