
        :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;
            --medical-red: #dc3545;
            --medical-green: #198754;
            --medical-yellow: #ffc107;
            --medical-orange: #fd7e14;
            --age-color: #6a11cb;
            --age-light: #e3d7ff;
            --youthful-color: #4cc9f0;
            --aging-color: #f72585;
        }
         
        .page-header {
            background: linear-gradient(135deg, rgba(227, 215, 255, 0.4) 0%, rgba(106, 17, 203, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(106, 17, 203, 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);
        }
         
        
        /* Reference table */
        .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(106, 17, 203, 0.05);
        }
         
        /* Biological Age Specific Styles */
        .bio-age-result {
            background: linear-gradient(135deg, rgba(227, 215, 255, 0.4) 0%, rgba(106, 17, 203, 0.4) 100%);
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            margin: 2rem 0;
            border: 1px solid rgba(106, 17, 203, 0.2);
        }
        
        .bio-age-value {
            font-size: 4rem;
            font-weight: 800;
            color: var(--age-color);
            margin: 1rem 0;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        }
        
        .age-difference {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-color);
            font-weight: 600;
        }
        
        .age-comparison {
            position: relative;
            width: 300px;
            height: 150px;
            margin: 2rem auto;
        }
        
        .age-bar {
            position: absolute;
            bottom: 0;
            width: 120px;
            transition: height 1s ease;
            border-radius: 8px 8px 0 0;
        }
        
        .chronological-bar {
            left: 30px;
            background-color: #4361ee;
            height: 100px;
        }
        
        .biological-bar {
            right: 30px;
            background-color: var(--age-color);
            height: 80px;
        }
        
        .age-bar-label {
            position: absolute;
            bottom: -25px;
            width: 100%;
            text-align: center;
            font-weight: 600;
        }
        
        .age-interpretation {
            padding: 1.5rem;
            border-radius: 8px;
            margin: 1.5rem 0;
            border-left: 5px solid;
        }
        
        .age-younger {
            background-color: rgba(76, 201, 240, 0.1);
            border-left-color: var(--youthful-color);
        }
        
        .age-similar {
            background-color: rgba(255, 193, 7, 0.1);
            border-left-color: var(--medical-yellow);
        }
        
        .age-older {
            background-color: rgba(247, 37, 133, 0.1);
            border-left-color: var(--aging-color);
        }
        
        .factor-card {
            background-color: rgba(106, 17, 203, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border: 1px solid rgba(106, 17, 203, 0.2);
        }
        
        .factor-item {
            display: flex;
            margin-bottom: 1.5rem;
            align-items: center;
            padding: 1rem;
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }
        
        .factor-icon {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            background-color: rgba(106, 17, 203, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            color: var(--age-color);
            font-size: 1.5rem;
            flex-shrink: 0;
        }
        
        .factor-content {
            flex: 1;
        }
        
        .factor-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: var(--age-color);
        }
        
        .factor-impact {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-color);
            margin-right: 1rem;
        }
        
        .form-check-input:checked {
            background-color: var(--age-color);
            border-color: var(--age-color);
        }
        
        .form-check-input:focus {
            border-color: var(--age-color);
            box-shadow: 0 0 0 0.25rem rgba(106, 17, 203, 0.25);
        }
        
        .form-range::-webkit-slider-thumb {
            background-color: var(--age-color);
        }
        
        .form-range::-webkit-slider-thumb:active {
            background-color: #5a0db0;
        }
        
        .form-range::-moz-range-thumb {
            background-color: var(--age-color);
        }
        
        .form-range::-moz-range-thumb:active {
            background-color: #5a0db0;
        }
        
        .age-indicator {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-left: 0.5rem;
        }
        
        .age-level-younger {
            background-color: rgba(76, 201, 240, 0.1);
            color: var(--youthful-color);
        }
        
        .age-level-similar {
            background-color: rgba(255, 193, 7, 0.1);
            color: var(--medical-yellow);
        }
        
        .age-level-older {
            background-color: rgba(247, 37, 133, 0.1);
            color: var(--aging-color);
        }
        
        .recommendation-card {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .recommendation-icon {
            width: 48px;
            height: 48px;
            border-radius: 8px;
            background-color: rgba(106, 17, 203, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: var(--age-color);
            font-size: 1.25rem;
        }
        
        .bio-age-chart {
            position: relative;
            height: 350px;
            width: 100%;
            margin: 1.5rem 0;
        }
        
        .longevity-applications {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .application-card {
            background: white;
            border-radius: 8px;
            padding: 1.25rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .application-icon {
            width: 48px;
            height: 48px;
            border-radius: 8px;
            background-color: rgba(106, 17, 203, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            color: var(--age-color);
            font-size: 1.25rem;
        }
        
        .application-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }
        
        .application-desc {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        
        .faq-section {
            margin-top: 2rem;
        }
        
        .accordion-button:not(.collapsed) {
            background-color: rgba(106, 17, 203, 0.1);
            color: var(--age-color);
        }
        
        /* Health metric indicators */
        .metric-indicator {
            padding: 0.5rem;
            border-radius: 6px;
            margin: 0.5rem 0;
            font-size: 0.85rem;
            text-align: center;
        }
        
        .metric-excellent {
            background-color: rgba(40, 167, 69, 0.1);
            color: #28a745;
        }
        
        .metric-good {
            background-color: rgba(0, 123, 255, 0.1);
            color: #007bff;
        }
        
        .metric-fair {
            background-color: rgba(255, 193, 7, 0.1);
            color: #ffc107;
        }
        
        .metric-poor {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }
        
        /* Lifestyle factor indicators */
        .lifestyle-factor {
            padding: 0.5rem;
            border-radius: 6px;
            margin: 0.5rem 0;
            font-size: 0.85rem;
            text-align: center;
        }
        
        .lifestyle-optimal {
            background-color: rgba(40, 167, 69, 0.1);
            color: #28a745;
        }
        
        .lifestyle-good {
            background-color: rgba(0, 123, 255, 0.1);
            color: #007bff;
        }
        
        .lifestyle-moderate {
            background-color: rgba(255, 193, 7, 0.1);
            color: #ffc107;
        }
        
        .lifestyle-poor {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }
        
        /* BMI classification */
        .bmi-classification {
            padding: 0.5rem;
            border-radius: 6px;
            margin: 0.5rem 0;
            font-size: 0.85rem;
            text-align: center;
        }
        
        .bmi-underweight {
            background-color: rgba(0, 123, 255, 0.1);
            color: #007bff;
        }
        
        .bmi-normal {
            background-color: rgba(40, 167, 69, 0.1);
            color: #28a745;
        }
        
        .bmi-overweight {
            background-color: rgba(255, 193, 7, 0.1);
            color: #ffc107;
        }
        
        .bmi-obese1 {
            background-color: rgba(253, 126, 20, 0.1);
            color: #fd7e14;
        }
        
        .bmi-obese2 {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }
        
        .bmi-obese3 {
            background-color: rgba(108, 117, 125, 0.1);
            color: #6c757d;
        }
        
        @media (max-width: 768px) {
            .bio-age-value {
                font-size: 3rem;
            }
            
            .longevity-applications {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }
        
        @media (max-width: 576px) {
            .factor-item {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .factor-icon {
                margin-right: 0;
                margin-bottom: 1rem;
            }
            
            .longevity-applications {
                grid-template-columns: 1fr;
            }
            
            .age-comparison {
                width: 250px;
            }
        }
        
        /* Slider value display */
        .slider-value {
            background-color: var(--age-color);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.8rem;
            margin-left: 0.5rem;
        }
        
        /* Age visualization */
        .age-visualization {
            width: 200px;
            height: 200px;
            margin: 2rem auto;
            position: relative;
        }
        
        .age-svg {
            width: 100%;
            height: 100%;
            fill: var(--age-light);
            stroke: var(--age-color);
            stroke-width: 2;
        }
        
        .age-animation {
            animation: agePulse 3s ease-in-out infinite;
        }
        
        @keyframes agePulse {
            0% { transform: scale(0.95); opacity: 0.7; }
            50% { transform: scale(1); opacity: 1; }
            100% { transform: scale(0.95); opacity: 0.7; }
        }
        
        /* Biological age scoring system */
        .age-scoring {
            background-color: rgba(106, 17, 203, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border: 1px solid rgba(106, 17, 203, 0.2);
        }
        
        .age-score-item {
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(0,0,0,0.1);
        }
        
        .age-score-item:last-child {
            border-bottom: none;
        }
        
        /* Telomere length visualization */
        .telomere-visualization {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 1.5rem 0;
            height: 100px;
        }
        
        .telomere-bar {
            width: 200px;
            height: 20px;
            background-color: #e9ecef;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }
        
        .telomere-fill {
            height: 100%;
            background: linear-gradient(90deg, #4cc9f0 0%, #f72585 100%);
            width: 70%;
            transition: width 1s ease;
        }
        
        .telomere-labels {
            display: flex;
            justify-content: space-between;
            width: 200px;
            margin-top: 0.5rem;
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        
        /* Aging clock visualization */
        .aging-clock {
            width: 200px;
            height: 200px;
            margin: 2rem auto;
            position: relative;
        }
        
        .clock-face {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background-color: #f8f9fa;
            border: 8px solid #e9ecef;
            position: relative;
        }
        
        .clock-hand {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 4px;
            height: 40%;
            background-color: var(--age-color);
            transform-origin: bottom center;
            transform: translateX(-50%) translateY(-100%) rotate(0deg);
            transition: transform 1s ease;
            border-radius: 4px;
        }
    