/*
ENNU Life User Dashboard - "The Bio-Metric Canvas"
Author: The World's Greatest Developer
Version: 2.0.0
*/

.my-story-section .scores-title-container {
    padding-top: 20px;
    padding=t: ;
    padding=t: ;
    padding=t: 2;
}
.circular-progress svg {
    overflow: visible;
}

details.health-scores-accordion {
    padding-bottom: 0;
}

.empty-state-message {
    color: #ffc12b !important;
}

/* Empty State Styling */
.ennu-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
}

.ennu-empty-state .empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.ennu-empty-state h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.ennu-empty-state p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.ennu-no-assessment-notice {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 193, 43, 0.1) 0%, rgba(255, 193, 43, 0.05) 100%);
    border: 1px solid rgba(255, 193, 43, 0.3);
    margin: 2rem 0;
}

.ennu-no-assessment-notice h3 {
    color: #ffc12b;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.ennu-no-assessment-notice p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 2rem 0;
}

/* Chart Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.empty-state .empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.empty-state h3 {
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 500;
}

.empty-state p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.8;
}
.goal-pill.selected {
    border-color: #138d66;
}

/* MY LIFE SCORES Accordion Styles */
.dashboard-scores-accordion {
    margin: 2rem 0;
    margin-top: 3.25rem; /* 2rem + 20px */
    background: none !important;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 100%;
    padding: 0;
}

.dashboard-scores-accordion summary {
    cursor: pointer;
    background: transparent;
    border-bottom: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    outline: none;
    user-select: none;
    list-style: none;
}

.dashboard-scores-accordion summary:hover {
    background: transparent;
}

.dashboard-scores-accordion summary:focus-visible {
    box-shadow: 0 0 0 2px var(--accent-primary), 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.dashboard-scores-accordion[open] summary {
    border-bottom: none;
    background: transparent;
}

.dashboard-scores-accordion[open] summary::before {
    display: none;
}

/* Hide the default arrow marker */
.dashboard-scores-accordion summary::-webkit-details-marker {
    display: none;
}

.dashboard-scores-accordion summary::marker {
    content: "";
}

/* Remove custom arrow */
.dashboard-scores-accordion summary::after {
    display: none;
}

.dashboard-scores-accordion .scores-content-grid {
    padding: 60px 0;
    background: var(--base-bg);
    border-radius: 0 0 1rem 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes accordionSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth accordion animations for all details elements */
details[open] > *:not(summary) {
    animation: accordionSlideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

details:not([open]) > *:not(summary) {
    animation: accordionSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes accordionSlideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Responsive adjustments for accordion */
@media (max-width: 768px) {
    .dashboard-scores-accordion summary {
        padding: 1rem;
    }
    
    .dashboard-scores-accordion summary::after {
        right: 1rem;
    }
    
    .dashboard-scores-accordion .scores-content-grid {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .dashboard-scores-accordion summary {
        padding: 0.75rem;
    }
    
    .dashboard-scores-accordion .scores-content-grid {
        padding: 0.75rem;
    }
}

/* MY HEALTH GOALS Accordion Styles */
.health-goals-accordion {
    margin: 0;
    background: none !important;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 100%;
    padding: 20px;
}

.health-goals-accordion summary {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    outline: none;
    user-select: none;
}

.health-goals-accordion summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.health-goals-accordion summary:focus-visible {
    box-shadow: 0 0 0 2px var(--accent-primary), 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.health-goals-accordion[open] summary {
    /* background: var(--base-bg); */
}

.health-goals-accordion summary::-webkit-details-marker {
    display: none;
}

.health-goals-accordion summary::marker {
    content: "";
}

.health-goals-accordion summary::after {
    display: none;
}

.health-goals-accordion summary {
    background: transparent;
    border-bottom: none;
}

.health-goals-accordion[open] summary {
    border-bottom: none;
}

.health-goals-accordion[open] summary::before {
    display: none;
}

.health-goals-accordion[open] summary::after {
    display: none;
}

.health-goals-accordion > div {
    animation: accordionSlideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* MY STORY Accordion Styles */
.my-story-accordion {
    margin: 2rem 0;
    background: none !important;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 100%;
}

.my-story-accordion summary {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    outline: none;
    user-select: none;
}

.my-story-accordion summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.my-story-accordion summary:focus-visible {
    box-shadow: 0 0 0 2px var(--accent-primary), 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.my-story-accordion[open] summary {
    background: var(--base-bg);
}

.my-story-accordion summary::-webkit-details-marker {
    display: none;
}

.my-story-accordion summary::marker {
    content: "";
}

.my-story-accordion summary::after {
    display: none;
}

.my-story-accordion summary {
    background: transparent;
    border-bottom: none;
}

.my-story-accordion[open] summary {
    border-bottom: none;
}

.my-story-accordion[open] summary::before {
    display: none;
}

.my-story-accordion[open] summary::after {
    display: none;
}

.my-story-accordion > div {
    animation: accordionSlideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Responsive Design for All Accordions */
@media (max-width: 768px) {
    .dashboard-scores-accordion,
    .health-goals-accordion,
    .my-story-accordion {
        margin: 1.5rem 0;
        max-width: 430px;
    }
    
    .dashboard-scores-accordion summary,
    .health-goals-accordion summary,
    .my-story-accordion summary {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-scores-accordion,
    .health-goals-accordion,
    .my-story-accordion {
        margin: 1rem 0;
    }
    
    .dashboard-scores-accordion summary,
    .health-goals-accordion summary,
    .my-story-accordion summary {
        padding: 0.875rem 1rem;
    }
}


/* Light/Dark Mode CSS Variables */
:root {
	/* Light Mode (Default) */
	--base-bg: #ffffff;
	--card-bg: #f8fafc;
	--border-color: #e2e8f0;
	--text-light: #64748b;
	--text-dark: #1e293b;
	--accent-primary: #10b981;
	--accent-secondary: #059669;
	--shadow-color: rgba(0, 0, 0, 0.1);
	--star-color-1: #1e293b;
	--star-color-2: #64748b;
	--gradient-start: #ffffff;
	--gradient-end: #f8fafc;
	--glass-bg: rgba(255, 255, 255, 0.8);
	--glass-border: rgba(0, 0, 0, 0.1);
	--toggle-bg: #e2e8f0;
	--toggle-thumb: #ffffff;
	--toggle-shadow: rgba(0, 0, 0, 0.1);
	--spacing-1: 0.25rem;
	--spacing-2: 0.5rem;
	--spacing-3: 0.75rem;
	--spacing-4: 1rem;
	--spacing-5: 1.25rem;
	--spacing-6: 1.5rem;
	--rounded-md: 0.375rem;
	--rounded-lg: 0.75rem;
	--rounded-full: 9999px;
	--shadow-md: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -2px var(--shadow-color);
}

/* Light Mode Variables */
[data-theme="light"],
.ennu-user-dashboard[data-theme="light"],
body[data-theme="light"],
html[data-theme="light"] {
	--base-bg: #ffffff;
	--card-bg: #f8fafc;
	--border-color: #e2e8f0;
	--text-light: #64748b;
	--text-dark: #1e293b;
	--accent-primary: #10b981;
	--accent-secondary: #059669;
	--shadow-color: rgba(0, 0, 0, 0.1);
	--star-color-1: #1e293b;
	--star-color-2: #64748b;
	--gradient-start: #ffffff;
	--gradient-end: #f8fafc;
	--glass-bg: rgba(255, 255, 255, 0.8);
	--glass-border: rgba(0, 0, 0, 0.1);
	--toggle-bg: #e2e8f0;
	--toggle-thumb: #ffffff;
	--toggle-shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Mode Variables */
[data-theme="dark"],
.ennu-user-dashboard[data-theme="dark"],
body[data-theme="dark"],
html[data-theme="dark"] {
	--base-bg: #0f172a;
	--card-bg: #1e293b;
	--border-color: #334155;
	--text-light: #94a3b8;
	--text-dark: #f1f5f9;
	--accent-primary: #10b981;
	--accent-secondary: #059669;
	--shadow-color: rgba(0, 0, 0, 0.3);
	--star-color-1: #f1f5f9;
	--star-color-2: #94a3b8;
	--gradient-start: #0f172a;
	--gradient-end: #1e293b;
	--glass-bg: rgba(30, 41, 59, 0.8);
	--glass-border: rgba(255, 255, 255, 0.1);
	--toggle-bg: #334155;
	--toggle-thumb: #f1f5f9;
	--toggle-shadow: rgba(0, 0, 0, 0.3);
}

/* Theme Toggle Button Styles */
.theme-toggle-container {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1000;
}

.theme-toggle {
	width: 60px;
	height: 30px;
	background: var(--toggle-bg);
	border: none;
	border-radius: 30px;
	padding: 3px;
	cursor: pointer;
	position: relative;
	box-shadow: inset 0 2px 4px var(--toggle-shadow);
	transition: all 0.3s ease;
}

.theme-toggle:hover {
	opacity: 0.8;
}

.toggle-track {
	width: 100%;
	height: 100%;
	position: relative;
}

.toggle-thumb {
	width: 24px;
	height: 24px;
	background: var(--toggle-thumb);
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
}

.toggle-icon {
	position: absolute;
	width: 14px;
	height: 14px;
	transition: opacity 0.3s ease;
}

.sun-icon {
	color: #f59e0b;
	opacity: 0;
}

.moon-icon {
	color: #6366f1;
	opacity: 1;
}

[data-theme="light"] .sun-icon {
	opacity: 0;
}

[data-theme="light"] .moon-icon {
	opacity: 1;
}

/* Light Mode Specific Improvements */
[data-theme="light"] .ennu-life-score-center .main-score-value {
	color: #1e293b !important;
	text-shadow: none !important;
	background: transparent;
	-webkit-background-clip: text;
	-webkit-text-fill-color: #565e68;
	background-clip: unset;
	font-weight: 900;
}

[data-theme="light"] .ennu-life-score-center .main-score-label {
	color: #08140a !important;
	font-weight: 700;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .assessment-title {
	color: #1e293b !important;
	font-weight: 600;
}

[data-theme="light"] .goal-pill {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

[data-theme="light"] .goal-pill:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}
[data-theme="light"] .goal-pill:hover .goal-pill-icon svg{
	color: #1e293b!important; 
}

[data-theme="light"] .goal-pill.selected {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

[data-theme="light"] .goal-pill.selected.changed .goal-pill-text {
	color: #ffffff;
}

[data-theme="light"] .goal-pill-icon svg {
	color: #64748b;
}

[data-theme="light"] .goal-pill.selected .goal-pill-icon svg {
	color: #ffffff;
}

[data-theme="light"] .goals-boost-indicator {
	background: rgba(16, 185, 129, 0.1);
	color: #059669;
}

[data-theme="light"] .goals-boost-indicator svg {
	color: #10b981;
}

/* Enhanced Light Mode Contextual Text */
[data-theme="light"] .contextual-text {
	color: #1e293b !important;
	background: transparent;
	border: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	font-weight: 500;
}

[data-theme="light"] .pillar-orb:hover .contextual-text {
	background: rgba(255, 255, 255, 0.98) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Theme Toggle Styling */
.theme-toggle-container {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1000;
}

.theme-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 60px;
	height: 30px;
	border-radius: 15px;
	position: relative;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px var(--toggle-shadow);
}

.toggle-track {
	width: 100%;
	height: 100%;
	background: var(--toggle-bg);
	border-radius: 15px;
	position: relative;
	transition: background 0.3s ease;
	display: flex;
	align-items: center;
	padding: 2px;
}

.toggle-thumb {
	width: 26px;
	height: 26px;
	background: var(--toggle-thumb);
	border-radius: 50%;
	position: absolute;
	left: 2px;
	transition: transform 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .toggle-thumb,
.ennu-user-dashboard[data-theme="light"] .toggle-thumb,
body[data-theme="light"] .toggle-thumb,
html[data-theme="light"] .toggle-thumb {
	transform: translateX(0);
}

[data-theme="dark"] .toggle-thumb,
.ennu-user-dashboard[data-theme="dark"] .toggle-thumb,
body[data-theme="dark"] .toggle-thumb,
html[data-theme="dark"] .toggle-thumb {
	transform: translateX(30px);
}

.toggle-icon {
	width: 14px;
	height: 14px;
	position: absolute;
	transition: opacity 0.3s ease;
	color: var(--text-dark);
}

.sun-icon {
	opacity: 1;
	left: 6px;
}

.moon-icon {
	opacity: 0;
	right: 6px;
}

[data-theme="light"] .sun-icon {
	opacity: 0;
}

[data-theme="light"] .moon-icon {
	opacity: 1;
}

[data-theme="dark"] .sun-icon {
	opacity: 1;
}

[data-theme="dark"] .moon-icon {
	opacity: 0;
}

.theme-toggle:hover .toggle-track {
	box-shadow: 0 4px 12px var(--toggle-shadow);
}

.theme-toggle:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

/* Smooth Theme Transitions */
.ennu-user-dashboard,
.dashboard-main-grid,
.dashboard-main-content,
.dashboard-welcome-section,
.dashboard-title,
.dashboard-subtitle,
.vital-stats-display,
.vital-stat-item,
.vital-stat-value,
.scores-title,
.pillar-orb,
.main-score-orb,
.assessment-card,
.assessment-card-header,
.assessment-title,
.assessment-status,
.assessment-score,
.section-title,
.quick-action-card,
.chart-card,
.health-optimization-report-card,
.accordion-item,
.accordion-header,
.vector-title,
.count-badge,
.contextual-text,
.contextual-text-container {
	transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Responsive for Theme Toggle */
@media (max-width: 768px) {
	.theme-toggle-container {
		top: 15px;
		right: 15px;
	}
	
	.theme-toggle {
		width: 50px;
		height: 25px;
	}
	
	.toggle-thumb {
		width: 21px;
		height: 21px;
	}
	
	[data-theme="light"] .toggle-thumb {
		transform: translateX(0);
	}
	
	[data-theme="dark"] .toggle-thumb {
		transform: translateX(25px);
	}
	
	.toggle-icon {
		width: 12px;
		height: 12px;
	}
	
	.sun-icon {
		left: 5px;
	}
	
	.moon-icon {
		right: 5px;
	}
	
	[data-theme="dark"] .sun-icon {
		opacity: 1;
	}
	
	[data-theme="dark"] .moon-icon {
		opacity: 0;
	}
}

.ennu-user-dashboard {
	/* background-color: #000000; */
	color: var(--text-light);
	padding: 0 40px 60px;
	border-radius: var(--rounded-lg);
	position: relative;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	max-width: 100%;
}


.star { position: absolute; background-color: var(--star-color-1); border-radius: var(--rounded-full); opacity: 0; animation: twinkle 5s infinite; }
.star.s1 { width: 1px; height: 1px; animation-duration: 3s; }
.star.s2 { width: 2px; height: 2px; animation-duration: 4s; background-color: var(--star-color-2); }
.star.s3 { width: 3px; height: 3px; animation-duration: 5s; }
@keyframes twinkle { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* --- Main Layout --- */
.dashboard-main-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	min-height: 100vh;
	position: relative;
	background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
	color: var(--text-dark);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	background: none !important;
}

/* ENNU Logo Positioning */
.dashboard-main-grid .ennu-logo-container {
	grid-row: 1;
	justify-self: center;
	margin-bottom: 0;
}

.dashboard-content-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
	overflow: visible;
	min-width: 0;
}

.health-optimization-report-card {
	background: var(--card-bg);
	border: none;
	border-radius: 12px;
	padding: 25px;
	margin-top: 30px;
}
.report-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.report-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #fff;
	margin: 0;
}
.report-subtitle {
	font-size: 0.9rem;
	color: var(--text-light);
	margin: 0 0 20px 0;
}
.toggle-all-btn {
	background: rgba(255, 255, 255, 0.1);
	color: var(--text-light);
	border: none;
	padding: 5px 10px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 0.8rem;
	transition: background-color 0.2s ease;
}
.toggle-all-btn:hover {
	background: rgba(255, 255, 255, 0.2);
}


/* Health Optimization Accordion */
.health-map-accordion {
	margin-top: 15px;
	border-top: 1px solid var(--border-color);
	padding-top: 15px;
}
.accordion-item {
	background-color: rgba(255, 255, 255, 0.03);
	border-radius: 8px;
	margin-bottom: 10px;
	border: none;
	overflow: hidden;
	transition: background-color 0.3s ease;
}

/* Subtle background color variations */
.accordion-item[data-color-index="0"] { background-color: rgba(52, 211, 153, 0.05); }
.accordion-item[data-color-index="1"] { background-color: rgba(96, 165, 250, 0.05); }
.accordion-item[data-color-index="2"] { background-color: rgba(244, 114, 182, 0.05); }
.accordion-item[data-color-index="3"] { background-color: rgba(250, 204, 21, 0.05); }
.accordion-item[data-color-index="4"] { background-color: rgba(167, 139, 250, 0.05); }
.accordion-item[data-color-index="5"] { background-color: rgba(251, 146, 60, 0.05); }


.accordion-item.triggered {
	background-color: rgba(16, 185, 129, 0.05);
	box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}
.accordion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.accordion-header:hover {
	background-color: rgba(255, 255, 255, 0.05);
}
.accordion-header .vector-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
}
.vector-counts {
	display: flex;
	align-items: center;
	gap: 8px;
}
.count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	min-width: 20px;
	height: 20px;
	border-radius: 10px;
	padding: 0 6px;
	color: var(--text-dark);
	background-color: rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
}
.count-badge.symptoms.active {
	background-color: var(--accent-secondary);
	color: #fff;
	box-shadow: 0 0 8px rgba(251, 146, 60, 0.7);
}
.count-badge.biomarkers.active {
	background-color: var(--accent-primary);
	color: #fff;
	box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
}

.accordion-icon {
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--text-light);
	border-bottom: 2px solid var(--text-light);
	transform: rotate(45deg);
	transition: transform 0.3s ease;
}
.accordion-item.open .accordion-icon {
	transform: rotate(225deg);
}
.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-in-out;
	padding: 0 15px;
}
.accordion-item.open .accordion-content {
    padding-top: 15px;
    padding-bottom: 15px;
}
.accordion-content .map-section {
	padding-bottom: 15px;
}

.dashboard-sidebar {
	position: sticky;
	top: var(--spacing-6);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.user-info-header {
	margin-bottom: var(--spacing-4);
	color: var(--text-dark);
}

.user-info-header h2 {
	font-size: 2rem;
	font-weight: 700;
	margin: 0;
}

.user-info-header .user-vitals {
	font-size: 1rem;
	color: var(--text-light);
	margin-top: var(--spacing-1);
	display: flex;
	flex-wrap: wrap; /* Allow wrapping on smaller screens */
	justify-content: center;
	align-items: center;
}

.user-info-header .user-vitals span {
	padding: 0 var(--spacing-3);
}

.user-info-header .user-vitals span:not(:last-child) {
	border-right: 1px solid var(--border-color);
}

.main-score-orb {
	position: relative;
	width: 250px;
	height: 250px;
	margin-bottom: var(--spacing-6);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.main-score-orb svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.radial-progress-bg { fill: none; stroke: var(--border-color); stroke-width: 10; }
.main-score-progress-bar {
	fill: none;
	stroke: url(#score-gradient);
	stroke-width: 10;
	stroke-linecap: round;
	stroke-dasharray: 100, 100;
	stroke-dashoffset: 100;
	transition: stroke-dashoffset 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-score-orb.loaded .main-score-progress-bar {
	stroke-dashoffset: calc(100 - var(--score-percent, 0));
}

.main-score-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.main-score-value { font-size: 4rem; font-weight: 800; line-height: 1; }
.main-score-label { font-size: 1rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; }
.main-score-orb:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: var(--rounded-full);
	box-shadow: 0 0 60px 10px var(--accent-secondary);
	animation: pulse 2.5s infinite;
}

@keyframes pulse {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(88, 166, 255, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(88, 166, 255, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(88, 166, 255, 0); }
}



.pillar-scores-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 15px;
	margin-top: var(--spacing-5);
	position: relative;
	z-index: 1;
	padding: 20px 0;
	max-width: 200px;
	margin-left: auto;
	margin-right: auto;
}

.pillar-orb {
	position: relative;
	width: 80px;
	height: 80px;
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-full);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, transform 0.5s ease;
	opacity: 0;
	transform: translateY(20px);
	backface-visibility: hidden;
	will-change: transform;
}

.pillar-orb.visible {
	opacity: 1;
	transform: translateY(0);
}

/* CSS Fallback: Make pillar orbs visible after 5 seconds if JavaScript fails */
@media (min-width: 1px) {
	.pillar-orb {
		animation: pillarOrbFallback 5s ease-in-out forwards;
	}
}

@keyframes pillarOrbFallback {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	50% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* CSS Fallback: Trigger progress bar animations after 6 seconds if JavaScript fails */
@media (min-width: 1px) {
	.pillar-orb {
		animation: pillarOrbFallback 5s ease-in-out forwards, progressBarFallback 6s ease-in-out forwards;
	}
	
	.main-score-orb {
		animation: progressBarFallback 6s ease-in-out forwards;
	}
}

@keyframes progressBarFallback {
	0% {
		/* No change to stroke-dashoffset */
	}
	100% {
		/* Force the loaded state */
	}
}

/* When the fallback animation completes, trigger the progress bar animation */
.pillar-orb:has(.pillar-orb-progress-bar) {
	animation-delay: 6s;
}

.pillar-orb:has(.pillar-orb-progress-bar) .pillar-orb-progress-bar {
	animation: progressBarAnimationFallback 2s ease-in-out 6s forwards;
}

@keyframes progressBarAnimationFallback {
	0% {
		stroke-dashoffset: 100;
	}
	100% {
		stroke-dashoffset: calc(100 - var(--score-percent, 0));
	}
}

/* Override fallback animation when .visible class is present */
.pillar-orb.visible {
	animation: none;
	opacity: 1;
	transform: translateY(0);
}

.pillar-orb:hover {
	transform: translateY(-5px) scale(1.05) translateZ(0);
	box-shadow: 0 0 20px 5px var(--pillar-color);
}

.pillar-orb-progress {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	pointer-events: none; /* Let hover pass through to the orb */
}

.pillar-orb-progress circle {
	fill: none;
	stroke-width: 2;
}

.pillar-orb-progress-bg {
	stroke: var(--border-color);
	opacity: 0.5;
}

.pillar-orb-progress-bar {
	stroke: var(--pillar-color);
	stroke-dasharray: 100, 100;
	stroke-dashoffset: 100;
	transition: stroke-dashoffset 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.pillar-orb.loaded .pillar-orb-progress-bar {
	stroke-dashoffset: calc(100 - var(--score-percent, 0));
}

.pillar-orb::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: var(--rounded-full);
	background: conic-gradient(
		from 0deg,
		transparent 0,
		var(--pillar-color) 20deg,
		transparent 25deg
	);
	animation: spin var(--spin-duration, 8s) linear infinite;
	filter: blur(2px);
	opacity: 0.2;
	pointer-events: none; /* Allow hover events to pass through to the orb */
	box-shadow: 0 0 8px var(--pillar-color);
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.pillar-orb::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: var(--rounded-full);
	background: conic-gradient(
		from 0deg,
		transparent 0,
		var(--pillar-color) 20deg, /* Longer pinstripe */
		transparent 25deg
	);
	animation: 
		spin var(--spin-duration, 8s) linear infinite,
		pulse 2s ease-in-out infinite alternate;
	filter: blur(2px); /* Soften the glow */
	opacity: 0; /* Initially hidden, fade in on hover */
	transition: opacity 0.3s ease;
	box-shadow: 0 0 12px var(--pillar-color);
}

.pillar-orb:hover::before {
	opacity: 0.35;
	box-shadow: 0 0 15px var(--pillar-color);
}

/* Enhanced floating particles around pillar orbs */
.pillar-orb .floating-particles::before,
.pillar-orb .floating-particles::after {
	content: '';
	position: absolute;
	width: 4px;
	height: 4px;
	background: var(--pillar-color);
	border-radius: 50%;
	opacity: 0;
	animation: float-enhanced 4s ease-in-out infinite;
	box-shadow: 0 0 8px var(--pillar-color);
}

.pillar-orb .floating-particles::before {
	top: -15px;
	left: 15px;
	animation-delay: 0s;
}

.pillar-orb .floating-particles::after {
	bottom: -15px;
	right: 15px;
	animation-delay: 2s;
}

/* Additional decorative elements for pillar orbs */
.pillar-orb .decoration-dots {
	position: absolute;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.pillar-orb .decoration-dots::before,
.pillar-orb .decoration-dots::after {
	content: '';
	position: absolute;
	width: 2px;
	height: 2px;
	background: var(--pillar-color);
	border-radius: 50%;
	opacity: 0.6;
	animation: pulse-dot 2.5s ease-in-out infinite;
	box-shadow: 0 0 6px var(--pillar-color);
}

.pillar-orb .decoration-dots::before {
	top: 10px;
	right: 10px;
	animation-delay: 0s;
}

.pillar-orb .decoration-dots::after {
	bottom: 10px;
	left: 10px;
	animation-delay: 1.25s;
}

.pillar-orb-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.pillar-context-display {
	position: relative;
	z-index: 1;
	color: var(--text-light);
	text-align: center;
	padding: var(--spacing-4);
	margin-top: -20px; /* Pull it up slightly */
	max-width: 450px;
	height: 0;
	opacity: 0;
	transition: all 0.4s ease-out;
	font-style: italic;
}

.pillar-context-display.visible {
	height: auto;
	opacity: 1;
	margin-top: var(--spacing-2);
}

.pillar-orb-label { font-size: 0.8rem; font-weight: 600; color: var(--text-dark); }
.pillar-orb-score { font-size: 1.25rem; font-weight: 700; color: var(--pillar-color, var(--accent-primary)); }
.pillar-orb.no-data .pillar-orb-score { color: var(--text-light); }

/* Pillar-specific colors */
.pillar-orb.mind { --pillar-color: #8e44ad; }
.pillar-orb.body { --pillar-color: #2980b9; }
.pillar-orb.lifestyle { --pillar-color: #f39c12; }
.pillar-orb.aesthetics { --pillar-color: #e91e63; }


.user-profile-watermark {
	position: absolute;
	bottom: var(--spacing-4);
	right: var(--spacing-4);
	z-index: 1;
	font-size: 0.8rem;
	color: var(--text-light);
	opacity: 0.5;
}

.view-details-toggle {
	position: absolute;
	bottom: var(--spacing-6);
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	background-color: transparent;
	border: 1px solid var(--border-color);
	color: var(--text-light);
	padding: var(--spacing-2) var(--spacing-4);
	border-radius: var(--rounded-full);
	cursor: pointer;
	transition: all 0.2s ease;
}

.view-details-toggle:hover {
	background-color: var(--card-bg);
	border-color: var(--accent-primary);
	color: var(--accent-primary);
}

.historical-charts-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-6);
	margin-top: var(--spacing-6);
	height: 300px; /* Give the grid a fixed height */
}

.chart-card {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	padding: var(--spacing-5);
	display: flex;
	flex-direction: column;
	position: relative; /* Needed for the canvas to be contained */
}

.chart-wrapper {
	position: relative;
	height: 100%;
}

.chart-card h4 {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 var(--spacing-4) 0;
	color: var(--text-dark);
}

.chart-card canvas {
	position: relative;
	height: 100% !important; /* Force the canvas to respect its container's height */
	width: 100% !important;
}

/* Data Stream View (Initially hidden) */
.data-stream-view {
	display: none; /* Initially hidden */
	position: relative;
	z-index: 1;
	padding-top: var(--spacing-6);
	animation: fadeIn 0.5s ease-out;
}

.assessment-card-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: var(--spacing-4);
}

.assessment-list-item {
	background: var(--card-bg);
	border: none;
	border-radius: var(--rounded-lg);
	transition: all 0.3s ease;
	overflow: hidden;
}
.assessment-list-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 15px -5px var(--shadow-color);
	background: rgba(255, 255, 255, 0.02);
}

.assessment-summary {
	display: flex;
	align-items: center;
	padding: var(--spacing-5);
	cursor: pointer;
}
.assessment-icon { 
	font-size: 2rem; 
	margin-right: var(--spacing-4); 
	width: 40px; 
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.assessment-icon svg {
	width: 24px;
	height: 24px;
	color: var(--text-dark);
	transition: color 0.3s ease;
}

.assessment-info h4 { font-size: 1.1rem; font-weight: 600; margin: 0; color: var(--text-dark); }
.assessment-info p { font-size: 0.8rem; color: var(--text-light); margin: 4px 0 0 0; }
.assessment-actions { margin-left: auto; display: flex; gap: var(--spacing-3); align-items: center; }
.assessment-score-badge { background-color: var(--accent-primary); color: #fff; font-weight: 700; padding: var(--spacing-1) var(--spacing-3); border-radius: var(--rounded-full); font-size: 1rem; }

.details-toggle-icon {
	background: rgba(255, 255, 255, 0.05);
	border: none;
	border-radius: var(--rounded-md);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.details-toggle-icon::before {
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid var(--text-light);
	transition: transform 0.3s ease;
}

.details-toggle-icon:hover {
	background: rgba(255, 255, 255, 0.1);
}

.assessment-list-item[aria-expanded="true"] .details-toggle-icon::before {
	transform: rotate(180deg);
}

/* Expanded Category Details */
.category-details-container { 
	max-height: 0;
	overflow: hidden; 
	transition: max-height 0.4s ease-in-out;
}
.category-details-inner { padding: 0 var(--spacing-5) var(--spacing-5); border-top: none; margin: 0 var(--spacing-5); }
.category-score-list { list-style: none; padding: var(--spacing-5) 0 0 0; margin: 0; }
.category-score-item { margin-bottom: var(--spacing-3); }
.category-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 14px; }
.category-name { color: var(--text-dark); font-weight: 500; }
.category-bar-bg { width: 100%; background: var(--border-color); height: 8px; border-radius: var(--rounded-full); }
.category-bar-fill { height: 100%; background: var(--accent-secondary); border-radius: inherit; width: calc(var(--score, 0) / 10 * 100%); transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1); }
.assessment-actions-footer { padding: 15px 0 0; border-top: none; margin-top: 15px; display: flex; gap: 10px; }
.action-button { flex: 1; text-align: center; padding: 10px; text-decoration: none; border-radius: var(--rounded-md); font-weight: 600; transition: all 0.2s ease; font-size: 0.9rem; }
.button-report { background-color: var(--accent-primary); color: #fff; }
.button-retake { background-color: var(--card-bg); color: var(--text-light); border: 1px solid var(--border-color); } 

/* --- v57.0.1: Styles for Empty/Error States --- */
.ennu-error,
.ennu-results-empty-state {
	background-color: #373737 !important;
	border: none;
	border-radius: var(--rounded-lg);
	padding: var(--spacing-6);
	text-align: center;
	max-width: 600px;
	margin: 2rem auto;
	position: relative;
	z-index: 1;
}

.ennu-error h2,
.ennu-results-empty-state h2 {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: var(--spacing-4);
}

.ennu-error p,
.ennu-results-empty-state p {
	font-size: 1rem;
	color: var(--text-light);
	line-height: 1.6;
	margin-bottom: var(--spacing-5);
}

.ennu-error a,
.ennu-results-empty-state a {
	display: inline-block;
	background-color: var(--accent-primary);
	color: #fff;
	padding: var(--spacing-3) var(--spacing-5);
	border-radius: var(--rounded-full);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease;
}

.ennu-error a:hover,
.ennu-results-empty-state a:hover {
	background-color: var(--accent-secondary);
	transform: translateY(-2px);
}

/* --- Health Optimization Report --- */
.health-optimization-report-card .report-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 var(--spacing-5) 0;
	padding-bottom: var(--spacing-4);
	border-bottom: 1px solid var(--border-color);
}

.health-optimization-report-card .report-section {
	margin-bottom: var(--spacing-5);
}

.health-optimization-report-card .report-section:last-child {
	margin-bottom: 0;
}

.health-optimization-report-card h4 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--accent-primary);
	margin: 0 0 var(--spacing-3) 0;
}

.health-optimization-report-card .vector-list,
.health-optimization-report-card .biomarker-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--spacing-3);
}

.health-optimization-report-card .vector-list li {
	font-size: 0.95rem;
	line-height: 1.5;
}

.health-optimization-report-card .vector-list li strong {
	font-weight: 600;
	color: var(--text-dark);
	margin-right: var(--spacing-2);
}

.health-optimization-report-card .vector-list li span {
	color: var(--text-light);
}

.health-optimization-report-card .vector-item-highlight {
	background-color: rgba(88, 166, 255, 0.05);
	padding: var(--spacing-3);
	border-radius: var(--rounded-md);
	border-left: 3px solid var(--accent-primary);
}

.health-optimization-report-card .biomarker-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-2);
}

.health-optimization-report-card .biomarker-list li {
	background: var(--base-bg);
	border: 1px solid var(--border-color);
	padding: var(--spacing-1) var(--spacing-3);
	border-radius: var(--rounded-full);
	font-size: 0.85rem;
	color: var(--text-light);
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: var(--spacing-2);
}

.health-optimization-report-card .biomarker-recommended {
	background-color: rgba(245, 158, 11, 0.1);
	border-color: #f59e0b;
	color: #f59e0b;
	font-weight: 600;
}

.health-optimization-report-card .biomarker-normal {
	opacity: 0.6;
	font-size: 0.8rem;
}

.health-optimization-report-card .biomarker-icon {
	font-size: 1rem;
} 

/* --- New Health Optimization Map Styles --- */

.health-optimization-report-card.full-map {
  background: var(--card-bg);
  border: none;
  border-radius: var(--rounded-lg);
  padding: var(--spacing-6);
  margin-top: var(--spacing-6);
}

.report-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.report-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0 0 var(--spacing-5) 0;
  max-width: 60ch;
}

.health-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-5);
}

.vector-card {
  background: var(--card-bg-light);
  border: none;
  border-radius: var(--rounded-md);
  padding: var(--spacing-4);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.vector-card.triggered {
  background-color: rgba(16, 185, 129, 0.05);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.vector-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 var(--spacing-4) 0;
  padding-bottom: var(--spacing-2);
  border-bottom: none;
}

.map-section {
  flex-grow: 1;
  margin-bottom: var(--spacing-4);
}

.map-section:last-child {
  margin-bottom: 0;
}

.map-section h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 var(--spacing-3) 0;
}

.symptom-list,
.biomarker-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-2);
}

.symptom-list li,
.biomarker-list li {
  background: var(--card-bg);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: none;
  transition: all 0.3s ease;
}

.symptom-list li.active,
.biomarker-list li.active {
  background-color: var(--accent-primary-faded);
  color: #fff;
  font-weight: 500;
}

/* --- Pulsating/Glowing Animation --- */

@keyframes pulsate-glow {
  0% {
    text-shadow: 0 0 4px var(--accent-primary-faded);
    box-shadow: 0 0 6px var(--accent-primary-faded);
  }
  50% {
    text-shadow: 0 0 10px var(--accent-primary);
    box-shadow: 0 0 16px var(--accent-primary);
  }
  100% {
    text-shadow: 0 0 4px var(--accent-primary-faded);
    box-shadow: 0 0 6px var(--accent-primary-faded);
  }
}

.pulsate {
  animation: pulsate-glow 2.5s infinite ease-in-out;
}

.vector-title.pulsate {
  color: var(--accent-primary-bright);
}

li.pulsate {
  border-color: var(--accent-primary-bright) !important;
  color: #fff !important;
  background-color: var(--accent-primary) !important;
} 

/* --- Main Content Area --- */
.dashboard-main-content {
	background: var(--card-bg);
	border: none;
	border-radius: 12px;
	padding: 0;
	backface-visibility: hidden;
	transform: translateZ(0);
	will-change: transform;
	max-width: 100% !important;
	background: none !important;
}

/* --- Welcome Section --- */
.dashboard-welcome-section {
	margin-bottom: 0;
	text-align: center;
	padding: 20px 0 0;
	border-bottom: none;
	display: flex;
	flex-direction: column;
}

[data-theme="light"] .dashboard-title {
	color: #ffffff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: #0dac78;
	background-clip: text;
	transition: all 0.3s ease;
}
.dashboard-title {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--text-light);
	text-transform: capitalize;
	letter-spacing: 1.5px;
	margin: 0 0 8px 0;
	opacity: 0.8;
	position: relative;
	display: inline-block;
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1;
	color: #ffffff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: #f6f6f6;
	background-clip: text;
	transition: all 0.3s ease;
}

.dashboard-title::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.dashboard-subtitle {
	color: var(--text-light);
	font-size: 1.1rem;
	margin: 0 0 11px 0;
	opacity: 0.8;
}

/* --- Subtle Vital Statistics --- */
.vital-stats-subtle {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 15px;
	opacity: 0.7;
}

.vital-stat {
	font-size: 0.9rem;
	color: var(--text-light);
	font-weight: 400;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 4px 0;
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
}

.vital-stat:hover {
	opacity: 1;
	border-bottom-color: var(--accent-primary);
	color: var(--text-dark);
}

/* --- Section Titles --- */
.section-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 20px 0;
	position: relative;
	padding-bottom: 8px;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	border-radius: 2px;
}

/* --- Global Link Styling --- */
a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* --- Dashboard New Rows --- */

/* --- Scores Row --- */
.dashboard-scores-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 0;
	padding: 0 40px 0 40px;
	background: var(--base-bg);
	border: none;
	border-radius: 12px;
	position: relative;
	min-height: 200px;
}

/* Scores Content Grid */
.scores-content-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 8px;
	align-items: center;
	width: 100%;
	max-width: 750px;
	margin: 0 auto;
	padding: 20px; /* Add padding to prevent overflow effects from being cut off */
}

/* Scores Title */
.scores-title-container {
	grid-column: 1 / -1;
	text-align: center;
	margin: 30px;
}

/* Add 20px margin above MY LIFE SCORES title */
.health-scores-accordion .scores-title-container {
	margin-top: 20px;
}

/* Specific styling for Health Goals and Story section titles */
.health-goals-section .scores-title-container,
.my-story-section .scores-title-container {
	text-align: center;
	margin-bottom: 3px;
	padding-bottom: 15px;
	margin-top: 0;
}

.scores-title {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin: 0;
	opacity: 0.8;
	position: relative;
	display: inline-block;
}

.scores-title::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

/* Remove triangle toggle from accordion titles */
.health-scores-accordion summary::-webkit-details-marker {
	display: none;
}

.health-scores-accordion summary::marker {
	content: "";
}

.health-scores-accordion summary::after {
	display: none;
}

.health-goals-accordion summary::-webkit-details-marker {
	display: none;
}

.health-goals-accordion summary::marker {
	content: "";
}

.health-goals-accordion summary::after {
	display: none;
}

/* Smooth accordion animations */
.health-scores-accordion > div,
.health-goals-accordion > div {
	max-height: 0;
	overflow: visible;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.health-scores-accordion[open] > div,
.health-goals-accordion[open] > div {
	max-height: 2000px; /* Large enough to accommodate content */
}

/* Remove checkmark from goal pills */
.goal-pill-check {
	display: none !important;
}

/* Limit My Story tab content to same max width */
.my-story-tab-content {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.my-story-tab-content .assessment-cards-container,
.my-story-tab-content .symptoms-container,
.my-story-tab-content .biomarker-panels-container {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.pillar-scores-left,
.pillar-scores-right {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	justify-content: space-around;
}

.pillar-scores-left .pillar-orb,
.pillar-scores-right .pillar-orb {
	width: 110px;
	height: 110px;
	margin: 0;
	position: relative;
}

.pillar-scores-left .pillar-orb-content,
.pillar-scores-right .pillar-orb-content {
	transform: scale(0.85);
}

.ennu-life-score-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
	z-index: 5;
}

.ennu-life-score-center .main-score-orb {
	width: 170px;
	height: 170px;
	margin-bottom: 30px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	--ennu-score-color: #10b981;
	--ennu-score-glow: rgba(16, 185, 129, 0.4);
	--ennu-score-shine: rgba(255, 255, 255, 0.15);
	background: 
		radial-gradient(circle at 30% 30%, var(--ennu-score-shine) 0%, transparent 50%),
		radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
	border-radius: 50%;
	transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
	box-shadow: 
		0 0 0 1px rgba(16, 185, 129, 0.15),
		0 0 25px rgba(16, 185, 129, 0.08),
		0 0 50px rgba(16, 185, 129, 0.04),
		0 8px 32px rgba(0, 0, 0, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	cursor: pointer;
}

.ennu-life-score-center .main-score-orb:hover {
	transform: scale(1.08) translateY(-5px);
	box-shadow: 
		0 0 0 2px rgba(16, 185, 129, 0.3),
		0 0 40px rgba(16, 185, 129, 0.15),
		0 0 80px rgba(16, 185, 129, 0.08),
		0 12px 40px rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ennu-life-score-center .main-score-orb::before {
	content: '';
	position: absolute;
	top: -3px;
	left: -3px;
	right: -3px;
	bottom: -3px;
	background: conic-gradient(from 0deg, transparent, var(--ennu-score-color), transparent, var(--ennu-score-color), transparent);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.8s ease;
	z-index: -1;
	animation: rotate 4s linear infinite;
	filter: blur(1px);
}

.ennu-life-score-center .main-score-orb:hover::before {
	opacity: 0.8;
}

.ennu-life-score-center .main-score-orb::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
		radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.ennu-life-score-center .main-score-orb:hover::after {
	opacity: 1;
}

.ennu-life-score-center .main-score-orb .pillar-orb-progress {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	transform: rotate(-90deg);
}

.ennu-life-score-center .main-score-orb .pillar-orb-progress-bg {
	fill: none;
	stroke: rgba(255, 255, 255, 0.1);
	stroke-width: 3;
	opacity: 0.3;
}

.ennu-life-score-center .main-score-orb .pillar-orb-progress-bar {
	fill: none;
	stroke: url(#ennu-score-gradient);
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 100, 100;
	stroke-dashoffset: 100;
	opacity: 0.7;
	transition: stroke-dashoffset 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.ennu-life-score-center .main-score-orb.loaded .pillar-orb-progress-bar {
	stroke-dashoffset: calc(100 - var(--score-percent, 0));
}

.ennu-life-score-center .main-score-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	pointer-events: none;
}

.ennu-life-score-center .main-score-value {
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1;
	color: #ffffff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: all 0.3s ease;
}

.ennu-life-score-center .main-score-orb:hover .main-score-value {
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
	transform: scale(1.05);
	filter: brightness(1.2) contrast(1.1);
}

.ennu-life-score-center .main-score-label {
	font-size: 0.6rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0;
	font-weight: 400 !important;
	opacity: 0.7;
	transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	transform: translateY(2px);
}

.ennu-life-score-center .main-score-orb:hover .main-score-label {
	opacity: 1;
	color: var(--ennu-score-color);
	transform: translateY(-3px);
	text-shadow: 
		0 1px 2px rgba(0, 0, 0, 0.3),
		0 0 15px rgba(16, 185, 129, 0.3);
}

/* Enhanced floating particles around ENNU score */
.ennu-life-score-center::before,
.ennu-life-score-center::after {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	background: var(--ennu-score-color);
	border-radius: 50%;
	opacity: 0;
	animation: float-enhanced 5s ease-in-out infinite;
	box-shadow: 0 0 15px var(--ennu-score-color);
}

.ennu-life-score-center::before {
	top: -30px;
	left: 30px;
	animation-delay: 0s;
}

.ennu-life-score-center::after {
	bottom: -30px;
	right: 30px;
	animation-delay: 2.5s;
}

/* Additional decorative elements */
.ennu-life-score-center .main-score-orb .decoration-dots {
	position: absolute;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.ennu-life-score-center .main-score-orb .decoration-dots::before,
.ennu-life-score-center .main-score-orb .decoration-dots::after {
	content: '';
	position: absolute;
	width: 4px;
	height: 4px;
	background: var(--ennu-score-color);
	border-radius: 50%;
	opacity: 0.6;
	animation: pulse-dot 2.5s ease-in-out infinite;
	box-shadow: 0 0 8px var(--ennu-score-color);
}

.ennu-life-score-center .main-score-orb .decoration-dots::before {
	top: 20px;
	right: 20px;
	animation-delay: 0s;
}

.ennu-life-score-center .main-score-orb .decoration-dots::after {
	bottom: 20px;
	left: 20px;
	animation-delay: 1.25s;
}

/* Enhanced Animations */
@keyframes rotate {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes metallic-shine {
	0% {
		transform: translateX(100%) rotate(30deg);
	}
	100% {
		transform: translateX(-100%) rotate(30deg);
	}
}

@keyframes float-enhanced {
	0%, 100% { 
		transform: translateY(0px) scale(1) rotate(0deg);
		opacity: 0;
	}
	25% {
		opacity: 0.8;
	}
	50% { 
		transform: translateY(-15px) scale(1.3) rotate(180deg);
		opacity: 1;
	}
	75% {
		opacity: 0.8;
	}
}

@keyframes pulse-dot {
	0%, 100% {
		transform: scale(1);
		opacity: 0.6;
	}
	50% {
		transform: scale(1.8);
		opacity: 1;
	}
}

@keyframes pulse-glow-enhanced {
	0%, 100% {
		box-shadow: 
			0 0 0 1px rgba(16, 185, 129, 0.15),
			0 0 25px rgba(16, 185, 129, 0.08),
			0 0 50px rgba(16, 185, 129, 0.04),
			0 8px 32px rgba(0, 0, 0, 0.12);
	}
	50% {
		box-shadow: 
			0 0 0 2px rgba(16, 185, 129, 0.25),
			0 0 35px rgba(16, 185, 129, 0.12),
			0 0 70px rgba(16, 185, 129, 0.06),
			0 10px 36px rgba(0, 0, 0, 0.14);
	}
}

.ennu-life-score-center .main-score-orb {
	animation: pulse-glow-enhanced 4s ease-in-out infinite;
}

/* SVG Gradient Definition */
.ennu-life-score-center .main-score-orb svg {
	position: absolute;
	width: 100%;
	height: 100%;
}

.ennu-life-score-center .main-score-orb svg defs {
	position: absolute;
}

.ennu-life-score-center .main-score-orb svg linearGradient {
	stop-color: var(--ennu-score-color);
}

.ennu-life-score-center .main-score-orb svg linearGradient stop:first-child {
	stop-color: #10b981;
}

.ennu-life-score-center .main-score-orb svg linearGradient stop:last-child {
	stop-color: #059669;
}

/* Contextual Text System */
.contextual-text-container {
	position: absolute;
	top: calc(100% + -10px); /* Position below the scores instead of at bottom */
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	text-align: center;
	pointer-events: none;
	z-index: 10;
	COLOR: #000 !IMPORTANT;
	VISIBILITY: VISIBLE;
	OPACITY: 1;
}

.contextual-text {
	color: var(--text-light);
	font-size: 0.9rem;
	line-height: 1.4;
	max-width: 800px;
	margin: 0 auto;
	opacity: 0;
	transition: opacity 0.4s ease-in-out;
	white-space: normal;
	word-wrap: break-word;
	padding: 10px 20px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 8px;
	border: 1px solid var(--border-color);
}

.contextual-text.visible {
	opacity: 1;
}

/* Hover states for contextual text */
.ennu-life-score-center:hover .contextual-text,
.pillar-orb:hover .contextual-text {
	opacity: 1;
}

/* --- Assessment Cards Section --- */
.assessment-cards-section {
	margin-bottom: 40px;
}

.assessment-cards-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-bottom: 25px;
}

.animate-card {
	opacity: 0;
	transform: translateY(20px);
	animation: cardSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cardSlideIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.assessment-card {
	background: var(--card-bg);
	border: none;
	border-radius: var(--rounded-lg);
	padding: var(--spacing-6);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: visible;
	backface-visibility: hidden;
	transform: translateZ(0);
}

.assessment-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.assessment-card.completed::before {
	opacity: 1;
}

.assessment-card:hover {
	transform: translateY(-2px) translateZ(0);
	box-shadow: var(--shadow-md);
	background: rgba(255, 255, 255, 0.02);
}

.assessment-card-header {
	display: flex;
	align-items: center;
	gap: 0;
	margin-bottom: 15px;
	position: relative;
	padding: 20px 80px 20px 20px;
	flex-direction: column;
	justify-content: center;
}

.assessment-icon { 
	font-size: 2rem; 
	margin-right: var(--spacing-4); 
	width: 40px; 
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.assessment-icon svg {
	width: 24px;
	height: 24px;
	color: var(--text-dark);
	transition: color 0.3s ease;
}

.assessment-info {
	flex: 1;
}

.assessment-title {
	font-size: 0.99rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 4px 0;
	max-width: 250px;
	line-height: 1.3;
	word-wrap: break-word;
	margin-bottom: 7px !important;
}

.assessment-status {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 3px;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	padding-left: 0px;
}

.completed .assessment-status {
	padding-left: 0;
}
.status-completed-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	align-content: center;
}

.status-badge.completed .completed-text {
	color: var(--accent-primary) !important;
	font-weight: 600;
	font-size: 0.55rem;
}

.status-badge.completed {
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: 20px;
	padding: 0px 7px;
	display: inline-flex;
	align-items: center;
	gap: 1px;
	width: 100%;
	justify-content: center;
	max-width: 100px;
}

.status-completed {
	color: #10b981;
	font-weight: 600;
}

.status-incomplete {
	color: var(--text-light);
	opacity: 0.7;
}

.completion-date {
	color: var(--text-light);
	opacity: 0.6;
	margin-left: 8px;
}

.assessment-score {
	text-align: center;
	background: rgba(255, 255, 255, 0.05);
	padding: 8px 12px;
	border-radius: 6px;
	border: none;
}

.score-value {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--accent-primary);
	display: inline;
}

.score-max {
	font-size: 0.75rem;
	color: var(--text-light);
	opacity: 0.7;
	margin-left: 2px;
}

/* --- Assessment Sections (Collapsible) --- */
.assessment-section {
	margin: 15px 0;
	padding: 15px;
	background: rgba(255, 255, 255, 0.02);
	border-radius: 8px;
	border: none;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateY(-10px);
	text-align: center;
}

.assessment-section.expanded {
	max-height: 500px;
	opacity: 1;
	transform: translateY(0);
	margin: 15px 0;
}

.assessment-section.hidden {
	display: none;
}

.section-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 10px 0;
}

.recommendations-content {
	color: var(--text-light);
	font-size: 0.85rem;
	line-height: 1.5;
}

.category-scores {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.category-score-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.8rem;
}

.category-name {
	color: var(--text-light);
	flex: 2;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: initial;
	text-align: right;
}

.category-score-bar {
	flex: 2;
	height: 6px;
	background: var(--border-color);
	border-radius: 3px;
	overflow: hidden;
}

.category-score-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	border-radius: 3px;
	width: 0;
	transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
	transform-origin: left center;
}

.category-score-fill.animate-in {
	animation: progressBarSlideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.category-score-fill.animate-out {
	animation: progressBarSlideOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes progressBarSlideIn {
	from {
		width: 0;
		transform: scaleX(0);
	}
	to {
		width: var(--target-width);
		transform: scaleX(1);
	}
}

@keyframes progressBarSlideOut {
	from {
		width: var(--target-width);
		transform: scaleX(1);
	}
	to {
		width: 0;
		transform: scaleX(0);
	}
}

.category-score-value {
	color: var(--accent-primary);
	font-weight: 600;
	min-width: 25px;
	text-align: right;
}

.assessment-card-actions {
	display: flex;
	gap: 6px;
	margin-top: 15px;
	flex-wrap: wrap;
}

.assessment-retake-link {
	margin-top: 10px;
	text-align: center;
}

.assessment-retake-link a {
	font-size: 0.8rem;
	color: var(--text-light);
	opacity: 0.7;
	text-decoration: none;
	transition: all 0.2s ease;
}

.assessment-retake-link a:hover {
	color: var(--accent-primary);
	opacity: 1;
	text-decoration: none;
}

.btn {
	padding: 6px 12px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.75rem;
	text-decoration: none;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
	flex: 1;
	text-align: center;
	min-width: 0;
	white-space: nowrap;
}

.btn-primary {
	background: var(--accent-primary);
	color: #fff;
}

.btn-primary:hover {
	background: var(--accent-secondary);
	transform: translateY(-1px);
}

.btn-expert,
.btn-recommendations,
.btn-breakdown,
.btn-history {
	background: transparent;
	color: var(--text-light);
	border: 1px solid var(--border-color);
	position: relative;
	overflow: hidden;
	text-decoration: none !important;
}

.btn-expert:hover,
.btn-recommendations:hover,
.btn-breakdown:hover,
.btn-history:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--accent-primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	text-decoration: none !important;
}

.btn-recommendations.active,
.btn-breakdown.active {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--accent-primary);
	color: var(--accent-primary);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Progress Summary --- */
.progress-summary {
	background: var(--base-bg);
	border: none;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 25px;
}

.progress-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-bottom: 15px;
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--accent-primary);
	display: block;
}

.stat-label {
	font-size: 0.8rem;
	color: var(--text-light);
	opacity: 0.8;
}

.progress-bar {
	width: 100%;
	height: 6px;
	background: var(--border-color);
	border-radius: 3px;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	border-radius: 3px;
	transition: width 1s ease;
}

/* --- Charts Section --- */
.charts-section {
	margin-bottom: 40px;
}

.charts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 20px;
}

.chart-card {
	background: var(--base-bg);
	border: none;
	border-radius: 10px;
	padding: 20px;
}

.chart-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 15px 0;
}

.chart-wrapper {
	position: relative;
	margin-bottom: 10px;
}

.chart-description {
	font-size: 0.8rem;
	color: var(--text-light);
	opacity: 0.7;
	margin: 0;
}

/* --- Quick Actions Section --- */
.quick-actions-section {
	margin-bottom: 25px;
}

.quick-actions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
}

.health-optimization-section {
	margin-bottom: 40px;
}

.quick-action-card {
	background: var(--base-bg);
	border: none;
	border-radius: 10px;
	padding: 20px;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	text-align: center;
	backface-visibility: hidden;
	transform: translateZ(0);
}

.quick-action-card:hover {
	transform: translateY(-2px) translateZ(0);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	background: rgba(255, 255, 255, 0.02);
	text-decoration: none;
	color: inherit;
}

.action-icon {
	font-size: 2rem;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.action-icon svg {
	width: 32px;
	height: 32px;
	color: var(--text-dark);
	transition: color 0.3s ease;
}

.quick-action-card h3 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 8px 0;
}

.quick-action-card p {
	font-size: 0.8rem;
	color: var(--text-light);
	opacity: 0.8;
	margin: 0;
	line-height: 1.4;
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
	.dashboard-main-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.assessment-cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.assessment-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

@media (max-width: 768px) {
	.dashboard-main-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.dashboard-main-content {
		order: 1;
		max-height: none;
	}
	
	.dashboard-title {
		font-size: 2rem;
	}
	
	.vital-stats-subtle {
		gap: 10px;
		margin-top: 10px;
	}
	
	.vital-stat {
		font-size: 0.8rem;
	}
	
	.dashboard-scores-row {
		padding: 25px 25px 70px 25px;
		min-height: 180px;
	}
	
	.scores-title {
		font-size: 1rem;
		margin-bottom: 20px;
	}
	
	.scores-content-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}
	
	.pillar-scores-left,
	.pillar-scores-right {
		flex-direction: row;
		justify-content: center;
		gap: 20px;
	}
	
	.pillar-scores-left .pillar-orb,
	.pillar-scores-right .pillar-orb {
		width: 85px;
		height: 85px;
	}
	
	.ennu-life-score-center .main-score-orb {
		width: 130px;
		height: 130px;
		margin-bottom: 25px;
	}
	
	.ennu-life-score-center .main-score-value {
		font-size: 2.8rem;
	}
	
	.ennu-life-score-center .main-score-label {
		font-size: 0.65rem;
		letter-spacing: 1.5px;
	}
	
	.contextual-text-container {
		top: calc(100% + 15px); /* Adjust for mobile positioning */
	}
	
	.contextual-text {
		font-size: 0.85rem;
		max-width: 600px;
		padding: 8px 15px;
	}
	
	.user-info-content {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	
	.assessment-cards-grid {
		grid-template-columns: 1fr;
	}
	
	.charts-grid {
		grid-template-columns: 1fr;
	}
	
	.quick-actions-grid {
		grid-template-columns: 1fr;
	}
	
	.progress-stats {
		grid-template-columns: 1fr;
		gap: 15px;
		display: flex;
		justify-content: center;
	}
	
	.assessment-card-header {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}
	
	.assessment-card-actions {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.dashboard-main-content {
		padding: 0;
	}
	
	.dashboard-welcome-section {
		padding: 20px 0;
	}
	
	.dashboard-title {
		font-size: 1.8rem;
	}
	
	.section-title {
		font-size: 1.3rem;
	}
	
	.assessment-card {
		padding: 20px;
	}
	
	.chart-card {
		padding: 20px;
	}
	
	.quick-action-card {
		padding: 20px;
	}
}

/* --- Animation Enhancements --- */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.assessment-card,
.chart-card,
.quick-action-card {
	animation: fadeInUp 0.6s ease forwards;
}

.assessment-card:nth-child(1) { animation-delay: 0.1s; }
.assessment-card:nth-child(2) { animation-delay: 0.2s; }
.assessment-card:nth-child(3) { animation-delay: 0.3s; }
.assessment-card:nth-child(4) { animation-delay: 0.4s; }
.assessment-card:nth-child(5) { animation-delay: 0.5s; }
.assessment-card:nth-child(6) { animation-delay: 0.6s; }

/* --- Loading States --- */
.chart-wrapper.loading {
	position: relative;
	min-height: 200px;
}

.chart-wrapper.loading::after {
	content: 'Loading chart...';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--text-light);
	opacity: 0.6;
}

/* --- Empty States --- */
.empty-state {
	text-align: center;
	padding: 40px 20px;
	color: var(--text-light);
	opacity: 0.7;
}

.empty-state-icon {
	font-size: 4rem;
	margin-bottom: 20px;
	opacity: 0.5;
}

.empty-state h3 {
	font-size: 1.3rem;
	margin: 0 0 10px 0;
	color: var(--text-dark);
}

.empty-state p {
	margin: 0;
	font-size: 1rem;
} 

/* Edge case fixes and fallbacks for ENNU Life Score */
.ennu-life-score-center .main-score-orb {
	/* Ensure proper rendering in all browsers */
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	/* Prevent text selection */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	/* Ensure proper stacking */
	z-index: 1;
}

/* Fallback for browsers that don't support CSS custom properties */
.ennu-life-score-center .main-score-orb .pillar-orb-progress-bar {
	stroke: #10b981;
}

/* Ensure SVG renders properly */
.ennu-life-score-center .main-score-orb svg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: visible;
}

/* Fix for high DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.ennu-life-score-center .main-score-orb {
		-webkit-transform: translateZ(0) scale(1);
		transform: translateZ(0) scale(1);
	}
}

/* Ensure animations work on reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
	.ennu-life-score-center .main-score-orb,
	.ennu-life-score-center .main-score-orb::before,
	.ennu-life-score-center .main-score-orb::after,
	.ennu-life-score-center::before,
	.ennu-life-score-center::after,
	.ennu-life-score-center .main-score-orb .decoration-dots::before,
	.ennu-life-score-center .main-score-orb .decoration-dots::after {
		animation: none;
		transition: none;
	}
}

/* Fix for very small screens */
@media (max-width: 480px) {
	.ennu-life-score-center .main-score-orb {
		width: 110px;
		height: 110px;
		margin-bottom: 20px;
	}
	
	.ennu-life-score-center .main-score-value {
		font-size: 2.2rem;
	}
	
	.ennu-life-score-center .main-score-label {
		font-size: 0.6rem;
		letter-spacing: 1px;
	}
	
	/* Reduce particle size on small screens */
	.ennu-life-score-center::before,
	.ennu-life-score-center::after {
		width: 4px;
		height: 4px;
	}
}

/* Fix for very large screens */
@media (min-width: 1920px) {
	.ennu-life-score-center .main-score-orb {
		width: 200px;
		height: 200px;
	}
	
	.ennu-life-score-center .main-score-value {
		font-size: 4.5rem;
	}
	
	.ennu-life-score-center .main-score-label {
		font-size: 0.8rem;
	}
}

/* Ensure proper contrast in high contrast mode */
@media (prefers-contrast: high) {
	.ennu-life-score-center .main-score-orb {
		border: 2px solid var(--ennu-score-color);
		box-shadow: 0 0 0 2px var(--ennu-score-color);
	}
	
	.ennu-life-score-center .main-score-value {
		color: var(--text-dark);
		-webkit-text-fill-color: var(--text-dark);
		background: none;
	}
}

/* Fix for dark mode variations */
@media (prefers-color-scheme: dark) {
	.ennu-life-score-center .main-score-orb {
		--ennu-score-glow: rgba(16, 185, 129, 0.5);
	}
}

/* Ensure proper focus states for accessibility */
.ennu-life-score-center .main-score-orb:focus {
	outline: 2px solid var(--ennu-score-color);
	outline-offset: 4px;
}

/* Fix for Safari-specific issues */
@supports (-webkit-appearance: none) {
	.ennu-life-score-center .main-score-orb {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

/* Ensure proper rendering when score is 0 */
.ennu-life-score-center .main-score-orb[data-score="0"] .pillar-orb-progress-bar {
	stroke-dashoffset: 100;
}

/* Fix for very long score values */
.ennu-life-score-center .main-score-value {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Ensure proper z-index stacking */
.ennu-life-score-center .main-score-text {
	z-index: 20;
}

.ennu-life-score-center .main-score-orb .pillar-orb-progress {
	z-index: 5;
}

.ennu-life-score-center .main-score-orb .decoration-dots {
	z-index: 10;
} 

/* Vital Statistics Display */
.vital-stats-display {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0em 0 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: var(--rounded-lg);
	justify-content: center;
}

.vital-stat-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	background: var(--base-bg);
	border: none;
	border-radius: var(--rounded-md);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	backface-visibility: hidden;
	transform: translateZ(0);
}

.vital-stat-item:hover {
	background: var(--card-bg);
	transform: translateY(-1px) translateZ(0);
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.vital-stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent-primary);
	flex-shrink: 0;
}

.vital-stat-icon svg {
	width: 16px;
	height: 16px;
}

.vital-stat-value {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-dark);
	white-space: nowrap;
}

/* Light mode specific styling */
[data-theme="light"] .vital-stats-display {
	background: none;
	border-color: #e2e8f0;
	box-shadow: none;
}

[data-theme="light"] .vital-stat-item {
	background: #f8fafc;
	border-color: #e2e8f0;
}

[data-theme="light"] .vital-stat-item:hover {
	background: #ffffff;
	border-color: #10b981;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .vital-stat-value {
	color: #1e293b;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.vital-stats-display {
		gap: 0.75rem;
		padding: 0.75rem;
		margin: 1rem 0;
	}
	
	.vital-stat-item {
		padding: 0.5rem;
		flex: 1;
		min-width: 120px;
	}
	
	.vital-stat-icon svg {
		width: 14px;
		height: 14px;
	}
	
	.vital-stat-value {
		font-size: 0.8rem;
	}
}

@media (max-width: 480px) {
	.vital-stats-display {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.vital-stat-item {
		flex: none;
		width: 100%;
		justify-content: flex-start;
	}
}

/* Health Goals Section */
.health-goals-section {
	margin: 0;
	padding: 0 0;
	background: none !important;
	backdrop-filter: none;
	border: none;
	border-radius: var(--border-radius-lg);
	box-shadow: none;
	position: relative;
	overflow: hidden;
}

.health-goals-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: none !important;
	pointer-events: none;
}

.health-goals-section .section-title {
	color: var(--text-primary);
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 2rem;
	text-align: center;
	position: relative;
	z-index: 1;
}

.health-goals-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	position: relative;
	z-index: 1;
	justify-content: center;
}

.goal-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 16px 20px;
	background: #ffffff;
	border: 2px solid #e9ecef;
	border-radius: 40px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	cursor: pointer;
	max-width: 220px;
	backface-visibility: hidden;
	transform: translateZ(0);
	min-width: 220px;
	min-height: 80px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	backdrop-filter: blur(10px);
	box-sizing: border-box;
}

.goal-pill.selected::before {
	opacity: 0.8;
}

.goal-pill:hover::after {
	opacity: 1;
	animation: metallic-shine 1s ease-in;
}

.goal-pill:hover {
	border-color: #6c757d;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.goal-pill.selected {
	background: linear-gradient(135deg, #4a5568 0%, #2d3748 50%, #1a202c 100%);
	border-color: #2d3748;
	transform: translateY(-3px);
	box-shadow: 
		0 12px 35px rgba(45, 55, 72, 0.25),
		0 0 0 1px rgba(255, 255, 255, 0.1) inset;
	position: relative;
}

.goal-pill.selected::before {
	display: none;
}

.goal-pill-icon {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-primary);
	position: relative;
	z-index: 1;
}

.goal-pill.selected .goal-pill-icon {
	color: var(--accent-color);
}

.goal-pill-text {
	color: #000000;
	font-size: 0.77rem;
	font-weight: 500;
	white-space: normal;
	overflow: hidden;
	/* text-overflow: ellipsis; */
	position: relative;
	z-index: 1;
}

.goal-pill.selected .goal-pill-text {
	color: #ffffff;
	font-weight: 600;
}

.goal-pill-check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	color: var(--accent-color);
	position: relative;
	z-index: 1;
	animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

.no-goals-message {
	text-align: center;
	padding: 3rem 2rem;
	color: var(--text-muted);
	font-size: 1.1rem;
	background: var(--glass-bg);
	backdrop-filter: var(--glass-blur);
	border: var(--glass-border);
	border-radius: var(--border-radius-md);
	width: 100%;
}

/* Responsive Design for Health Goals */
@media (max-width: 1200px) {
	.health-goals-grid {
		gap: 0.6rem;
	}
	
	.goal-pill {
		padding: 0.4rem 0.8rem;
		max-width: 180px;
		min-width: 180px;
	}
}

@media (max-width: 900px) {
	.health-goals-grid {
		gap: 0.5rem;
	}
	
	.goal-pill {
		padding: 0.36rem 0.72rem;
		max-width: 144px;
	}
	
	.goal-pill-text {
		font-size: 0.72rem;
	}
}

@media (max-width: 768px) {
	.health-goals-section {
		margin: 2rem 0;
		padding: 1.5rem;
	}
	
	.health-goals-section .section-title {
		font-size: 1.5rem;
		margin-bottom: 1.5rem;
	}
	
	.health-goals-grid {
		gap: 0.5rem;
		justify-content: flex-start;
	}
	
	.goal-pill {
		padding: 0.36rem 0.72rem;
		max-width: 135px;
	}
	
	.goal-pill-icon {
		width: 13px;
		height: 13px;
	}
	
	.goal-pill-text {
		font-size: 0.68rem;
	}
	
	.goal-pill-check {
		width: 13px;
		height: 13px;
	}
}

@media (max-width: 480px) {
	.health-goals-section {
		padding: 1rem;
	}
	
	.health-goals-grid {
		gap: 0.4rem;
	}
	
	.goal-pill {
		padding: 0.32rem 0.63rem;
		max-width: 126px;
	}
	
	.goal-pill-icon {
		width: 11px;
		height: 11px;
	}
	
	.goal-pill-text {
		font-size: 0.63rem;
	}
	
	.goal-pill-check {
		width: 11px;
		height: 11px;
	}
} 

/* Interactive Health Goals Enhancements */
.health-goals-section .section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.goals-help-text {
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--ennu-text-muted);
    background: var(--ennu-bg-hover);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    border: 1px solid var(--ennu-border);
}

.health-goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0p2x;
    margin-bottom: 1.5rem;
    justify-items: center;
    justify-content: center;
}

.goal-pill {
    position: relative;
    display: flex;
    padding: -0.25rem 0rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    user-select: none;
    outline: none;
    text-align: center;
    gap: 0;
    
    
    
    
    
    
    
    

    /* Accessibility focus */
    &:focus-visible {
        box-shadow: 0 0 0 2px var(--ennu-primary), 0 0 0 4px rgba(121, 40, 202, 0.2);
    }
    
    /* Hover state */
    &:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    /* Selected state */
    &.selected {
        background: linear-gradient(135deg, var(--ennu-primary), var(--ennu-accent));
        border-color: var(--ennu-primary);
        color: white;
        
        .goal-pill-icon svg {
            color: white;
        }
    }
    
    /* Changed state (unsaved changes) */
    &.changed {
        animation: pill-pulse 1.5s ease-in-out infinite;
        
        &::before {
            content: '';
            position: absolute;
            top: -1px;
            right: -1px;
            bottom: -1px;
            left: -1px;
            background: linear-gradient(45deg, var(--ennu-primary), var(--ennu-accent));
            border-radius: inherit;
            z-index: -1;
            animation: glow-border 2s ease-in-out infinite;
            /* border: none !important; */
        }
    }
    
    /* Active state */
    &:active {
        transform: scale(0.95);
    }
}

.goal-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    color: #434343;
    
    
    
    
    
    
    
    
    
    
    
    
    svg {
        width: 100%;
        height: 100%;
        color: var(--ennu-primary);
        transition: color 0.2s ease;
    }
}

.goal-pill-text {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
}

.goal-pill-check {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
    
    &.visible {
        opacity: 1;
        transform: scale(1);
    }
    
    svg {
        color: #434343;
    }
}

.goal-pill-loading {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    
    &.active {
        opacity: 1;
    }
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Ripple effect */
.goal-pill-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.3s ease-out;
    pointer-events: none;
}

/* Goals Summary */
.goals-summary {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 1rem;
    margin-top: 0;
    width: 100%;
}

.goals-counter {
    font-size: 0.9rem;
    color: var(--ennu-text-muted);
}

.selected-count {
    font-weight: 600;
    color: var(--ennu-primary);
    font-size: 1.1em;
}

.goals-boost-indicator {
    display: none !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--ennu-success), var(--ennu-accent));
    color: white;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    
    
    
    
    
    
    svg {
        color: white;
    }
}

/* Update Button */
.update-goals-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    margin: 1rem auto 0;
    outline: none;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: var(--accent-primary);
    color: white;
    
    
    
    
    
    
    
    
    
    
    
    
    &:hover:not(:disabled) {
        transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: var(--accent-primary);
    color: white;

    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    
    &:focus-visible {
        box-shadow: 0 0 0 2px white, 0 0 0 4px var(--ennu-primary);
    }
    
    &:active:not(:disabled) {
        transform: scale(0.95);
    }
    
    &:disabled,
    &.loading {
        cursor: not-allowed;
        opacity: 0.7;
        pointer-events: none;
    }
    
    svg {
        transition: transform 0.2s ease;
    }
    
    &:hover svg {
        transform: scale(1.1);
    }
}

/* No Goals Message */
.no-goals-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    color: var(--ennu-text-muted);
}

.no-goals-icon {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-goals-message h3 {
    margin: 1rem 0 0.5rem;
    color: var(--ennu-text);
    font-size: 1.2rem;
}

.no-goals-message p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Notification System */
.ennu-notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.ennu-notification {
    min-width: 320px;
    max-width: 400px;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    pointer-events: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    &.show {
        transform: translateX(0);
    }
    
    &.hiding {
        transform: translateX(100%);
        opacity: 0;
    }
}

.ennu-notification-success {
    border-left: 4px solid var(--ennu-success);
}

.ennu-notification-error {
    border-left: 4px solid var(--ennu-error);
}

.ennu-notification-warning {
    border-left: 4px solid var(--ennu-warning);
}

.ennu-notification-info {
    border-left: 4px solid var(--ennu-info);
}

.notification-content {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
}

.notification-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.1rem;
}

.notification-icon svg {
    width: 100%;
    height: 100%;
}

.ennu-notification-success .notification-icon {
    color: var(--ennu-success);
}

.ennu-notification-error .notification-icon {
    color: var(--ennu-error);
}

.ennu-notification-warning .notification-icon {
    color: var(--ennu-warning);
}

.ennu-notification-info .notification-icon {
    color: var(--ennu-info);
}

.notification-message {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--ennu-text);
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    color: var(--ennu-text-muted);
    transition: all 0.2s ease;
    
    &:hover {
        background: rgba(0, 0, 0, 0.05);
        color: var(--ennu-text);
    }
    
    svg {
        width: 16px;
        height: 16px;
    }
}

/* Animations */
@keyframes pill-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes glow-border {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .health-goals-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .goal-pill {
        padding: 0.625rem 0.875rem;
    }
    
    .goals-summary {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .goals-boost-indicator {
        font-size: 0.75rem;
    }
    
    .ennu-notifications-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .ennu-notification {
        min-width: auto;
        max-width: none;
    }
    
    .goals-help-text {
        display: none;
    }
    
    .health-goals-section .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .goal-pill-text {
        font-size: 0.8rem;
    }
    
    .no-goals-message {
        padding: 2rem 1rem;
    }
    
    .update-goals-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
} 

/* My Story Tabbed Section */
.my-story-section {
    margin: 2rem 0;
    background: none !important;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 100%;
}

.my-story-section .section-title {
    margin: 0;
    padding: 1.5rem 2rem 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ennu-text);
    background: linear-gradient(135deg, rgba(121, 40, 202, 0.1), rgba(255, 20, 147, 0.1));
    border-bottom: none;
}

/* Tab Navigation */
.my-story-tabs {
    background: rgba(255, 255, 255, 0.02);
    background: none !important;
}

.my-story-tab-nav {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: none;
    padding: 0 2rem;
}

.my-story-tab-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.my-story-tab-nav li {
    margin: 0;
    padding: 0;
}

.my-story-tab-nav a {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: #495057;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    margin: 0 8px;
    
    &:hover {
        border-color: #6c757d;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    
    &:focus-visible {
        box-shadow: 0 0 0 2px var(--ennu-primary), 0 0 0 4px rgba(121, 40, 202, 0.2);
    }
}

.my-story-tab-nav a.my-story-tab-active {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 50%, #1a202c 100%);
    border-color: #2d3748;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(45, 55, 72, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    z-index: 1;
}

/* Tab Content */
.my-story-tab-content {
    display: none;
    padding: 0 2rem 2rem;
    min-height: 400px;
    background: var(--card-bg);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.my-story-tab-content.my-story-tab-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.my-story-tab-content h3 {
    margin: 0 0 0rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Assessment Cards within Tab */
.assessment-cards-container {
    width: 100%;
}

/* Unified stats styling - see above for .assessment-cards-container .progress-summary */

.assessment-cards-container .assessment-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Placeholder Content for Empty Tabs */
.placeholder-content {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--ennu-text-muted);
}

.placeholder-icon {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.placeholder-content p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Tab Content Containers */
.symptoms-container,
.biomarkers-container,
.new-life-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Enhanced Tab Animations */
@keyframes tabContentSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.my-story-tab-content.my-story-tab-active {
    animation: tabContentSlideIn 0.4s ease-out;
    background: none !important;
}

/* Tab Indicators - Removed green underline */

/* Tab Badge/Counter (for future use) */
.my-story-tab-nav a .tab-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    margin-left: 0.5rem;
    min-width: 1.5rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .my-story-section .section-title {
        padding: 1rem 1.5rem 0.75rem;
        font-size: 1.5rem;
    }
    
    .my-story-tab-nav {
        padding: 0 1rem;
    }
    
    .my-story-tab-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .my-story-tab-nav a {
        padding: 0.875rem 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        
        &:hover {
            transform: none;
        }
    }
    
    .my-story-tab-content {
        /* padding: 1.5rem; */
        /* min-height: 300px; */
    }
    
    .assessment-cards-container .assessment-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .placeholder-content {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .my-story-section .section-title {
        padding: 0.875rem 1rem 0.625rem;
        font-size: 1.25rem;
    }
    
    .my-story-tab-nav {
        padding: 0 0.5rem;
    }
    
    .my-story-tab-nav a {
        padding: 0.75rem 0.875rem;
        font-size: 0.85rem;
    }
    
    .my-story-tab-content {
        padding: 0;
    }
    
    .my-story-tab-content h3 {
        font-size: 1.125rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .my-story-section {
        background: rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .my-story-tab-nav {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .my-story-tab-nav a.my-story-tab-active {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .my-story-tab-nav a {
        border: 2px solid transparent;
    }
    
    .my-story-tab-nav a:focus-visible,
    .my-story-tab-nav a.my-story-tab-active {
        border-color: var(--accent-primary);
    }
}

/* Print Styles */
@media print {
    .my-story-tab-nav {
        display: none;
    }
    
    .my-story-tab-content {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        page-break-inside: avoid;
    }
} 

/* Dashboard Logo Container - positioned above title */
.dashboard-logo-container {
	text-align: center;
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
	min-height: 60px;
	min-width: 200px;
}

.dashboard-logo {
	max-height: 60px;
	max-width: 200px;
	width: auto;
	height: auto;
	transition: opacity 0.3s ease;
}

/* Light/Dark mode logo switching */
.dashboard-logo-container {
	position: relative;
	display: inline-block;
}

.dashboard-logo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: opacity 0.3s ease;
}

/* Default state - show light mode logo */
.dashboard-logo.light-mode-logo {
	opacity: 1;
	position: relative;
}

.dashboard-logo.dark-mode-logo {
	opacity: 0;
	position: absolute;
}

/* Dark theme - show dark mode logo */
[data-theme="dark"] .dashboard-logo.light-mode-logo {
	opacity: 0 !important;
	position: absolute !important;
}

[data-theme="dark"] .dashboard-logo.dark-mode-logo {
	opacity: 1 !important;
	position: relative !important;
}

/* Light theme - show light mode logo */
[data-theme="light"] .dashboard-logo.light-mode-logo {
	opacity: 1 !important;
	position: relative !important;
}

[data-theme="light"] .dashboard-logo.dark-mode-logo {
	opacity: 0 !important;
	position: absolute !important;
}



/* Ensure logos are properly sized and positioned */
.dashboard-logo-container {
	width: auto;
	height: 60px;
	display: inline-block;
}

.dashboard-logo {
	width: auto;
	height: 60px;
	object-fit: contain;
}

/* Larger version for Biometric Canvas title */
.dashboard-title-large {
	font-size: 2.4rem;
	font-weight: 300;
	margin: 0 0 12px 0;
	letter-spacing: -0.5px;
} 

/* Assessment section title styling - using same as scores-title */
.assessment-section .scores-title {
	font-size: 1.0rem;
	font-weight: 500;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin: 0 0 15px 0;
	opacity: 0.8;
	position: relative;
	text-align: center;
}

.assessment-section .scores-title::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 30px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

/* Expert consultation link styling */
.expert-consultation-link {
	margin: 15px 0 20px 0;
	text-align: center;
}

.speak-expert-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent-primary);
	text-decoration: none !important;
	font-weight: 500;
	font-size: 0.9rem;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.speak-expert-link:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--accent-primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	text-decoration: none !important;
}

.speak-expert-link svg {
	opacity: 0.8;
}

/* Pill button style for Start Assessment */
.btn-pill {
	border-radius: 25px !important;
	padding: 12px 24px !important;
	font-weight: 500;
	letter-spacing: 0.5px;
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
	border: none !important;
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pill:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4) !important;
	background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary)) !important;
}

/* Enhanced button state styling */
.btn-recommendations.active,
.btn-breakdown.active {
	background: rgba(16, 185, 129, 0.15) !important;
	border-color: var(--accent-primary) !important;
	color: var(--accent-primary) !important;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
	transform: none !important;
}

/* When closing expanded sections, ensure button returns to normal state */
.btn-recommendations:not(.active),
.btn-breakdown:not(.active) {
	background: transparent !important;
	color: var(--text-light) !important;
	border-color: var(--border-color) !important;
	box-shadow: none !important;
	transform: none !important;
} 

/* Recommendations List Styling */
.recommendations-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
}

.recommendations-list li {
	padding: 0.75rem 0;
	padding-left: 2rem;
	position: relative;
	border-bottom: 1px solid var(--border-color);
	color: var(--text-secondary);
	line-height: 1.6;
}

.recommendations-list li:last-child {
	border-bottom: none;
}

.recommendations-list li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--accent-primary);
	font-weight: bold;
	font-size: 1.2rem;
}

/* Ensure assessment sections are visible when shown */
.assessment-section {
	transition: all 0.3s ease;
}

.assessment-section.hidden {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
	max-height: 0 !important;
}

.assessment-section:not(.hidden) {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	max-height: 2000px !important;
	overflow: visible !important;
}

.recommendations-section:not(.hidden),
.breakdown-section:not(.hidden) {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	padding: 20px !important;
	margin: 15px 0 !important;
	background: rgba(16, 185, 129, 0.05) !important;
	border: 1px solid rgba(16, 185, 129, 0.3) !important;
	border-radius: 8px !important;
	min-height: 100px !important;
}

/* Ensure recommendations content is visible */
.recommendations-content,
.category-scores {
	opacity: 1 !important;
	visibility: visible !important;
	display: block !important;
}

/* Fix Category Scores Display - 1 per row with readable labels */
.breakdown-section .category-scores {
	display: flex !important;
	flex-direction: column !important;
	gap: 1rem !important;
	padding: 1rem 0;
}

/* No category data empty state */
.no-category-data {
	padding: 2rem;
	text-align: center;
	color: #6b7280;
	background: rgba(249, 250, 251, 0.5);
	border-radius: 8px;
	margin: 1rem 0;
}

.no-category-data p {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
	color: #4b5563;
}

.no-category-data small {
	font-size: 0.875rem;
	color: #9ca3af;
}

.breakdown-section .category-score-item {
	display: flex !important;
	align-items: center !important;
	gap: 1rem !important;
	width: 100% !important;
	padding: 0.75rem !important;
	background: rgba(255, 255, 255, 0.03) !important;
	border-radius: 8px !important;
	border: 1px solid var(--border-color) !important;
}

.breakdown-section .category-name {
	flex: 0 0 35% !important;
	min-width: 150px !important;
	font-weight: 500 !important;
	color: var(--text-secondary) !important;
	white-space: normal !important;
	word-wrap: break-word !important;
	overflow: visible !important;
	text-overflow: clip !important;
	line-height: 1.4 !important;
}

.breakdown-section .category-score-bar {
	flex: 1 !important;
	height: 10px !important;
	background: var(--border-color) !important;
	border-radius: 5px !important;
	overflow: hidden !important;
	margin: 0 1rem !important;
}

.breakdown-section .category-score-fill {
	height: 100% !important;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)) !important;
	border-radius: 5px !important;
	transition: width 0.8s ease !important;
}

.breakdown-section .category-score-value {
	flex: 0 0 auto !important;
	min-width: 40px !important;
	text-align: right !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	color: var(--accent-primary) !important;
}

/* Assessment timestamp display */
.assessment-timestamp {
	font-size: 0.65rem;
	color: var(--text-light);
	opacity: 0.8;
	margin-top: 2px;
	text-align: left;
	max-width: 180px !important;
	line-height: 1;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}

/* Incomplete actions row - side by side layout */
.incomplete-actions-row {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
}

/* Expert button for incomplete assessments */
.btn-expert-incomplete {
	background: transparent !important;
	color: var(--accent-primary) !important;
	border: 1px solid rgba(16, 185, 129, 0.3) !important;
	padding: 10px 16px !important;
	border-radius: 20px !important;
	font-size: 0.85rem !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	transition: all 0.3s ease !important;
	white-space: nowrap !important;
}

.btn-expert-incomplete:hover {
	background: rgba(16, 185, 129, 0.1) !important;
	border-color: var(--accent-primary) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2) !important;
	text-decoration: none !important;
}

.btn-expert-incomplete svg {
	opacity: 0.8;
	flex-shrink: 0;
}

/* Enhanced expert consultation link for completed assessments */
.expert-consultation-link {
	margin: 15px 0 20px 0;
	text-align: center;
}

.speak-expert-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent-primary);
	text-decoration: none !important;
	font-weight: 500;
	font-size: 0.9rem;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.speak-expert-link:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--accent-primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	text-decoration: none !important;
}

.speak-expert-link svg {
	opacity: 0.8;
}

/* Responsive adjustments for action buttons */
@media (max-width: 480px) {
	.incomplete-actions-row {
		flex-direction: column;
		gap: 8px;
	}
	
	.btn-expert-incomplete,
	.btn-pill {
		width: 100%;
		text-align: center;
		justify-content: center;
	}
} 

/* My Story Tabs Content Styling */
.tab-section-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 8px 0;
	text-align: center;
}

.tab-subtitle {
	color: var(--text-light);
	font-size: 1rem;
	margin: 0 0 30px 0;
	text-align: center;
	opacity: 0.8;
}

/* ===== MY SYMPTOMS TAB ===== */
.symptoms-overview {
	max-width: 100%;
}

.symptoms-stats {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	justify-content: center;
}

.symptom-stat-card {
	background: rgba(255, 255, 255, 0.05);
	border: none;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	min-width: 140px;
}

.symptom-stat-card .stat-number {
	font-size: 2rem;
	font-weight: 800;
	color: var(--accent-primary);
	margin-bottom: 5px;
}

.symptom-stat-card .stat-label {
	font-size: 0.9rem;
	color: var(--text-light);
	opacity: 0.8;
}

.symptoms-section-title {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 30px 0 15px 0;
	text-align: center;
}

.symptoms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 12px;
	margin-bottom: 30px;
}

.symptom-item {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.03);
	border: none;
	border-radius: 8px;
	padding: 12px 15px;
	transition: all 0.3s ease;
}

.symptom-item:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-1px);
}

.symptom-icon {
	color: var(--accent-primary);
	opacity: 0.7;
	flex-shrink: 0;
}

.symptom-text {
	font-size: 0.9rem;
	color: var(--text-dark);
	font-weight: 500;
}

.symptoms-by-assessment {
	margin-top: 40px;
}

.assessment-symptom-group {
	margin-bottom: 25px;
	padding: 20px;
	background: rgba(255, 255, 255, 0.03);
	border-radius: 12px;
	border: none;
}

.assessment-name {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 12px 0;
	text-transform: capitalize;
}

.assessment-symptoms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.assessment-symptom-tag {
	background: var(--accent-primary);
	color: white;
	padding: 4px 12px;
	border-radius: 16px;
	font-size: 0.8rem;
	font-weight: 500;
}

.no-symptoms-message {
	text-align: center;
	padding: 60px 20px;
	color: var(--text-light);
}

.no-symptoms-icon {
	color: var(--accent-primary);
	opacity: 0.6;
	margin-bottom: 20px;
}

.no-symptoms-message h4 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 10px 0;
}

.no-symptoms-message p {
	margin: 0 0 25px 0;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

/* ===== MY BIOMARKERS TAB ===== */
.biomarkers-overview {
	max-width: 100%;
}

.lab-panel-info {
	margin-bottom: 30px;
}

.panel-highlight {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(34, 197, 94, 0.05));
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: 12px;
	padding: 25px;
	text-align: center;
}

.panel-highlight h4 {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--accent-primary);
	margin: 0 0 10px 0;
}

.panel-highlight p {
	color: var(--text-light);
	margin: 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.biomarkers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
	overflow: visible;
	min-width: 0;
	width: 100%;
}

.biomarker-category {
	background: rgba(255, 255, 255, 0.03);
	border: none;
	border-radius: 12px;
	overflow: visible;
	transition: all 0.3s ease;
	min-width: 0;
	padding: 1rem;
	width: 100%;
	box-sizing: border-box;
}

.biomarker-category:hover {
	box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
	background: rgba(255, 255, 255, 0.05);
}

.category-header {
	background: rgba(255, 255, 255, 0.05);
	padding: 20px;
	border-bottom: none;
}

.category-name {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 8px 0;
}

.category-description {
	font-size: 0.9rem;
	color: var(--text-light);
	margin: 0 0 10px 0;
	opacity: 0.8;
}

.category-count {
	font-size: 0.8rem;
	color: var(--accent-primary);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.biomarkers-list {
	padding: 0;
}

.biomarker-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 20px;
	border-bottom: none;
	transition: background 0.2s ease;
	overflow: visible;
	min-width: 0;
}

.biomarker-item:hover {
	background: rgba(255, 255, 255, 0.05);
}

.biomarker-item:last-child {
	border-bottom: none;
}

.biomarker-name {
	font-size: 0.9rem;
	color: var(--text-dark);
	font-weight: 500;
	overflow: visible;
	white-space: nowrap;
	text-overflow: clip;
	min-width: 0;
	flex-shrink: 0;
}

.biomarker-unit {
	font-size: 0.8rem;
	color: var(--text-light);
	opacity: 0.7;
	font-family: monospace;
	overflow: visible;
	white-space: nowrap;
	text-overflow: clip;
	min-width: 0;
	flex-shrink: 0;
}

.lab-cta {
	margin-top: 40px;
}

.cta-content {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	border-radius: 16px;
	padding: 30px;
	text-align: center;
	color: white;
}

.cta-content h4 {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0 0 10px 0;
}

.cta-content p {
	margin: 0 0 25px 0;
	opacity: 0.9;
}

.cta-content .btn {
	background: rgba(255, 255, 255, 0.2) !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	color: white !important;
}

.cta-content .btn:hover {
	background: rgba(255, 255, 255, 0.3) !important;
	transform: translateY(-2px) !important;
}

/* ===== ENHANCED MY NEW LIFE TAB ===== */

/* Enhanced Transformation Overview */
.transformation-overview.enhanced {
	margin-bottom: 3rem;
}

.overview-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.overview-stat {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 1.5rem;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.overview-stat::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(121, 40, 202, 0.05), rgba(255, 20, 147, 0.05));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.overview-stat:hover::before {
	opacity: 1;
}

.overview-stat:hover {
	transform: translateY(-4px);
	border-color: rgba(121, 40, 202, 0.3);
	box-shadow: 0 8px 32px rgba(121, 40, 202, 0.15);
}

.overview-stat.current-score:hover {
	border-color: rgba(59, 130, 246, 0.3);
	box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.overview-stat.target-score:hover {
	border-color: rgba(16, 185, 129, 0.3);
	box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
}

.overview-stat.improvement:hover {
	border-color: rgba(245, 158, 11, 0.3);
	box-shadow: 0 8px 32px rgba(245, 158, 11, 0.15);
}

.overview-stat.timeline:hover {
	border-color: rgba(236, 72, 153, 0.3);
	box-shadow: 0 8px 32px rgba(236, 72, 153, 0.15);
}

.stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, rgba(121, 40, 202, 0.1), rgba(255, 20, 147, 0.1));
	border-radius: 12px;
	color: var(--accent-primary);
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.overview-stat.current-score .stat-icon {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
	color: #3b82f6;
}

.overview-stat.target-score .stat-icon {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
	color: #10b981;
}

.overview-stat.improvement .stat-icon {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
	color: #f59e0b;
}

.overview-stat.timeline .stat-icon {
	background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(219, 39, 119, 0.1));
	color: #ec4899;
}

.overview-stat:hover .stat-icon {
	transform: scale(1.1);
}

.stat-content {
	flex: 1;
	position: relative;
	z-index: 1;
}

.stat-number {
	font-size: 2rem;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 0.25rem;
	line-height: 1;
}

.stat-label {
	font-size: 0.875rem;
	color: var(--text-light);
	font-weight: 600;
	margin-bottom: 0.25rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.stat-status {
	font-size: 0.75rem;
	color: var(--accent-primary);
	font-weight: 500;
	opacity: 0.8;
}

/* Enhanced Life Coach Section */
.life-coach-section.enhanced {
	margin-bottom: 3rem;
}

.coach-card {
	display: flex;
	gap: 2rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 2rem;
	align-items: flex-start;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.coach-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(121, 40, 202, 0.03), rgba(255, 20, 147, 0.03));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.coach-card:hover::before {
	opacity: 1;
}

.coach-card:hover {
	transform: translateY(-4px);
	border-color: rgba(121, 40, 202, 0.2);
	box-shadow: 0 12px 40px rgba(121, 40, 202, 0.1);
}

.coach-avatar {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	border-radius: 50%;
	padding: 1.5rem;
	color: white;
	flex-shrink: 0;
	transition: all 0.3s ease;
	position: relative;
	z-index: 1;
}

.coach-card:hover .coach-avatar {
	transform: scale(1.05);
	box-shadow: 0 8px 24px rgba(121, 40, 202, 0.3);
}

.coach-avatar svg {
	width: 48px;
	height: 48px;
}

.coach-info {
	flex: 1;
	position: relative;
	z-index: 1;
}

.coach-info h4 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 0.5rem 0;
}

.coach-title {
	color: var(--accent-primary);
	font-weight: 600;
	margin: 0 0 1rem 0;
	font-size: 1rem;
}

.coach-description {
	color: var(--text-light);
	margin: 0 0 1.5rem 0;
	line-height: 1.7;
	font-size: 0.95rem;
}

.coach-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.coach-feature {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-light);
	font-size: 0.875rem;
}

.coach-feature svg {
	color: var(--accent-primary);
	flex-shrink: 0;
}

.coach-pricing {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.pricing-amount {
	font-size: 2rem;
	font-weight: 800;
	color: var(--accent-primary);
}

.pricing-period {
	font-size: 0.875rem;
	color: var(--text-light);
}

.coach-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.coach-cta-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.coach-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* Enhanced Transformation Journey */
.transformation-journey.enhanced {
	margin-bottom: 3rem;
}

.journey-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 0.5rem 0;
	text-align: center;
}

.journey-subtitle {
	color: var(--text-light);
	text-align: center;
	margin: 0 0 2.5rem 0;
	opacity: 0.8;
	font-size: 1rem;
}

.journey-visualization {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

/* Enhanced Score Comparison */
.score-comparison.enhanced {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
	padding: 2rem;
	background: rgba(255, 255, 255, 0.02);
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.current-score-section,
.target-score-section {
	text-align: center;
}

.current-score-section h5,
.target-score-section h5 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-light);
	margin: 0 0 1.5rem 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.score-circle {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 4px solid;
	margin: 0 auto;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.score-circle::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.score-circle:hover::before {
	opacity: 1;
}

.score-circle:hover {
	transform: scale(1.05);
}

.score-circle.current {
	border-color: rgba(59, 130, 246, 0.3);
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
}

.score-circle.target {
	border-color: rgba(16, 185, 129, 0.3);
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
}

.score-circle .score-value {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--text-dark);
	line-height: 1;
	margin-bottom: 0.25rem;
}

.score-circle .score-label {
	font-size: 0.875rem;
	color: var(--text-light);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.25rem;
}

.score-circle .score-status {
	font-size: 0.75rem;
	color: var(--accent-primary);
	font-weight: 500;
	opacity: 0.8;
}

.transformation-arrow.enhanced {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--accent-primary);
	transition: all 0.3s ease;
}

.transformation-arrow.enhanced svg {
	width: 48px;
	height: 48px;
	margin-bottom: 0.5rem;
	transition: all 0.3s ease;
}

.transformation-arrow.enhanced:hover svg {
	transform: scale(1.1);
	color: var(--accent-secondary);
}

.arrow-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--accent-primary);
	margin-bottom: 0.25rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.arrow-subtitle {
	font-size: 0.75rem;
	color: var(--text-light);
	opacity: 0.7;
}

/* Enhanced Pillar Optimization */
.pillar-optimization.enhanced {
	margin-bottom: 3rem;
}

.pillar-optimization.enhanced h5 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 2rem 0;
	text-align: center;
}

.pillars-progress {
	display: grid;
	gap: 1.5rem;
}

.pillar-progress-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 1.5rem;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.pillar-progress-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(121, 40, 202, 0.03), rgba(255, 20, 147, 0.03));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.pillar-progress-item:hover::before {
	opacity: 1;
}

.pillar-progress-item:hover {
	transform: translateY(-2px);
	border-color: rgba(121, 40, 202, 0.2);
	box-shadow: 0 8px 24px rgba(121, 40, 202, 0.1);
}

.pillar-progress-item.high-priority {
	border-left: 4px solid #ef4444;
}

.pillar-progress-item.medium-priority {
	border-left: 4px solid #f59e0b;
}

.pillar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.pillar-info {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.pillar-name {
	color: var(--text-dark);
	font-weight: 600;
	font-size: 1.1rem;
}

.pillar-priority {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.high-priority .pillar-priority {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}

.medium-priority .pillar-priority {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

.pillar-scores {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
}

.pillar-current {
	color: var(--text-light);
	font-family: monospace;
	font-size: 1.1rem;
}

.pillar-arrow {
	color: var(--accent-primary);
	font-size: 1.1rem;
}

.pillar-target {
	color: var(--accent-primary);
	font-family: monospace;
	font-size: 1.1rem;
}

.pillar-progress-bar {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	height: 8px;
	margin-bottom: 1rem;
	overflow: hidden;
	position: relative;
}

.pillar-progress-bar .progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	border-radius: inherit;
	transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
	position: relative;
}

.pillar-progress-bar .progress-fill::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	animation: shimmer 2s infinite;
}

@keyframes shimmer {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

.pillar-details {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.improvement-needed {
	font-size: 0.875rem;
	color: var(--accent-primary);
	font-weight: 600;
}

.pillar-recommendations {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.rec-tag {
	font-size: 0.75rem;
	color: var(--text-light);
	background: rgba(255, 255, 255, 0.05);
	padding: 0.25rem 0.5rem;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-actions {
	display: flex;
	gap: 0.5rem;
}

/* Enhanced Journey Milestones */
.journey-milestones.enhanced {
	margin-bottom: 3rem;
}

.journey-milestones.enhanced h5 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 2rem 0;
	text-align: center;
}

.milestones-timeline {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	position: relative;
}

.milestones-timeline::before {
	content: '';
	position: absolute;
	top: 24px;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	opacity: 0.3;
	z-index: 0;
}

.milestone {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 1.5rem;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	z-index: 1;
}

.milestone::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(121, 40, 202, 0.03), rgba(255, 20, 147, 0.03));
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: inherit;
}

.milestone:hover::before {
	opacity: 1;
}

.milestone:hover {
	transform: translateY(-2px);
	border-color: rgba(121, 40, 202, 0.2);
	box-shadow: 0 8px 24px rgba(121, 40, 202, 0.1);
}

.milestone.completed {
	border-color: rgba(16, 185, 129, 0.2);
}

.milestone.current {
	border-color: rgba(59, 130, 246, 0.2);
}

.milestone-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 50%;
	color: var(--text-light);
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.milestone.completed .milestone-icon {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
	color: #10b981;
}

.milestone.current .milestone-icon {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
	color: #3b82f6;
}

.milestone:hover .milestone-icon {
	transform: scale(1.1);
}

.milestone-content {
	flex: 1;
}

.milestone-content h6 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 0.5rem 0;
}

.milestone-content p {
	font-size: 0.875rem;
	color: var(--text-light);
	margin: 0 0 0.75rem 0;
	line-height: 1.5;
}

.milestone-status {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: inline-block;
}

.milestone.completed .milestone-status {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
}

.milestone.current .milestone-status {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
}

.milestone:not(.completed):not(.current) .milestone-status {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-light);
}

/* Enhanced Success Stories */
.success-stories-section.enhanced {
	margin-bottom: 3rem;
}

.stories-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 0.5rem 0;
	text-align: center;
}

.stories-subtitle {
	color: var(--text-light);
	text-align: center;
	margin: 0 0 2.5rem 0;
	opacity: 0.8;
	font-size: 1rem;
}

.stories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 1.5rem;
}

.story-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 1.5rem;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.story-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(121, 40, 202, 0.03), rgba(255, 20, 147, 0.03));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.story-card:hover::before {
	opacity: 1;
}

.story-card:hover {
	transform: translateY(-4px);
	border-color: rgba(121, 40, 202, 0.2);
	box-shadow: 0 12px 40px rgba(121, 40, 202, 0.1);
}

.story-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.story-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	border-radius: 50%;
	color: white;
	flex-shrink: 0;
}

.story-info {
	flex: 1;
}

.story-info h5 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 0.25rem 0;
}

.story-age {
	font-size: 0.875rem;
	color: var(--text-light);
	margin: 0;
}

.story-score-improvement {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
}

.score-before {
	color: var(--text-light);
	font-family: monospace;
	font-size: 1.1rem;
}

.score-arrow {
	color: var(--accent-primary);
	font-size: 1.1rem;
}

.score-after {
	color: var(--accent-primary);
	font-family: monospace;
	font-size: 1.1rem;
}

.story-content {
	position: relative;
	z-index: 1;
}

.story-content p {
	font-size: 0.95rem;
	color: var(--text-light);
	line-height: 1.6;
	margin: 0 0 1rem 0;
	font-style: italic;
}

.story-highlights {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.highlight {
	font-size: 0.75rem;
	color: var(--accent-primary);
	background: rgba(121, 40, 202, 0.1);
	padding: 0.25rem 0.5rem;
	border-radius: 8px;
	font-weight: 600;
}

/* Enhanced Transformation Programs */
.transformation-programs.enhanced {
	margin-bottom: 3rem;
}

.programs-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 0.5rem 0;
	text-align: center;
}

.programs-subtitle {
	color: var(--text-light);
	text-align: center;
	margin: 0 0 2.5rem 0;
	opacity: 0.8;
	font-size: 1rem;
}

.programs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
}

.program-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	padding: 2rem;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.program-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(121, 40, 202, 0.03), rgba(255, 20, 147, 0.03));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.program-card:hover::before {
	opacity: 1;
}

.program-card:hover {
	transform: translateY(-4px);
	border-color: rgba(121, 40, 202, 0.2);
	box-shadow: 0 12px 40px rgba(121, 40, 202, 0.1);
}

.program-card.featured {
	border-color: rgba(121, 40, 202, 0.3);
	background: linear-gradient(135deg, rgba(121, 40, 202, 0.05), rgba(255, 20, 147, 0.05));
}

.program-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.program-header {
	margin-bottom: 1.5rem;
	text-align: center;
}

.program-header h5 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 0.5rem 0;
}

.program-price {
	font-size: 2rem;
	font-weight: 800;
	color: var(--accent-primary);
	margin-bottom: 0.25rem;
}

.program-savings {
	font-size: 0.875rem;
	color: var(--text-light);
	opacity: 0.8;
}

.program-features {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.program-features .feature {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--text-light);
	font-size: 0.9rem;
}

.program-features .feature svg {
	color: var(--accent-primary);
	flex-shrink: 0;
}

.program-pricing-options {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.pricing-option {
	text-align: center;
	padding: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-option .price {
	display: block;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--accent-primary);
	margin-bottom: 0.25rem;
}

.pricing-option .period {
	font-size: 0.75rem;
	color: var(--text-light);
}

/* Enhanced Call to Action */
.new-life-cta.enhanced {
	margin-bottom: 2rem;
}

.cta-highlight {
	background: linear-gradient(135deg, rgba(121, 40, 202, 0.1), rgba(255, 20, 147, 0.1));
	border: 1px solid rgba(121, 40, 202, 0.2);
	border-radius: 20px;
	padding: 3rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-highlight::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(121, 40, 202, 0.05), rgba(255, 20, 147, 0.05));
	opacity: 0;
	transition: opacity 0.3s ease;
}

.cta-highlight:hover::before {
	opacity: 1;
}

.cta-highlight h4 {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 0.5rem 0;
	position: relative;
	z-index: 1;
}

.cta-wordplay {
	font-size: 1.1rem;
	color: var(--accent-primary);
	font-weight: 600;
	margin: 0 0 1rem 0;
	position: relative;
	z-index: 1;
}

.cta-highlight p {
	font-size: 1.1rem;
	color: var(--text-light);
	margin: 0 0 2rem 0;
	line-height: 1.6;
	position: relative;
	z-index: 1;
}

.cta-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
	position: relative;
	z-index: 1;
}

.cta-stat {
	text-align: center;
}

.cta-stat .stat-number {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--accent-primary);
	margin-bottom: 0.25rem;
	display: block;
}

.cta-stat .stat-label {
	font-size: 0.875rem;
	color: var(--text-light);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cta-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.btn-large {
	padding: 1rem 2rem;
	font-size: 1.1rem;
	font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
	.overview-stats {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.coach-card {
		flex-direction: column;
		text-align: center;
		gap: 1.5rem;
	}
	
	.coach-features {
		grid-template-columns: 1fr;
	}
	
	.score-comparison.enhanced {
		flex-direction: column;
		gap: 2rem;
		padding: 1.5rem;
	}
	
	.score-circle {
		width: 120px;
		height: 120px;
	}
	
	.score-circle .score-value {
		font-size: 2rem;
	}
	
	.pillar-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
	
	.pillar-details {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.milestones-timeline {
		grid-template-columns: 1fr;
	}
	
	.milestones-timeline::before {
		display: none;
	}
	
	.stories-grid,
	.programs-grid {
		grid-template-columns: 1fr;
	}
	
	.cta-highlight {
		padding: 2rem 1.5rem;
	}
	
	.cta-highlight h4 {
		font-size: 1.5rem;
	}
	
	.cta-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
	
	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}
}

@media (max-width: 480px) {
	.overview-stat {
		flex-direction: column;
		text-align: center;
		gap: 0.75rem;
	}
	
	.stat-icon {
		width: 40px;
		height: 40px;
	}
	
	.stat-number {
		font-size: 1.75rem;
	}
	
	.coach-avatar {
		width: 80px;
		height: 80px;
		padding: 1rem;
	}
	
	.coach-avatar svg {
		width: 40px;
		height: 40px;
	}
	
	.score-circle {
		width: 100px;
		height: 100px;
	}
	
	.score-circle .score-value {
		font-size: 1.75rem;
	}
	
	.cta-stats {
		grid-template-columns: 1fr;
	}
	
	.cta-highlight {
		padding: 1.5rem 1rem;
	}
	
	.cta-highlight h4 {
		font-size: 1.25rem;
	}
	
	.cta-highlight p {
		font-size: 1rem;
	}
}

.pillar-progress-bar {
	overflow: hidden;
	margin-bottom: 8px;
}

.pillar-progress-bar .progress-fill {
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	height: 100%;
	border-radius: 10px;
	transition: width 0.8s ease;
}

.improvement-needed {
	font-size: 0.8rem;
	color: var(--text-light);
	opacity: 0.8;
}

.journey-milestones h5 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 20px 0;
	text-align: center;
}

.milestones-timeline {
	display: grid;
	gap: 15px;
}

.milestone {
	display: flex;
	gap: 15px;
	align-items: flex-start;
	background: rgba(255, 255, 255, 0.03);
	border: none;
	border-radius: 12px;
	padding: 20px;
}

.milestone-icon {
	background: var(--accent-primary);
	border-radius: 50%;
	padding: 10px;
	color: white;
	flex-shrink: 0;
}

.milestone-content h6 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 5px 0;
}

.milestone-content p {
	color: var(--text-light);
	margin: 0;
	font-size: 0.9rem;
}

.new-life-cta {
	margin-top: 40px;
}

.cta-highlight {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(34, 197, 94, 0.05));
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: 16px;
	padding: 30px;
	text-align: center;
}

.cta-highlight h4 {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 10px 0;
}

.cta-wordplay {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--accent-primary);
	margin: 0 0 15px 0;
	font-style: italic;
}

.cta-highlight p {
	color: var(--text-light);
	margin: 0 0 25px 0;
}

.cta-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-secondary {
	background: transparent !important;
	color: var(--accent-primary) !important;
	border: 1px solid var(--accent-primary) !important;
}

.btn-secondary:hover {
	background: rgba(16, 185, 129, 0.1) !important;
	transform: translateY(-1px) !important;
}

/* Tab Switching Functionality */
.switch-tab {
	cursor: pointer;
	transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
	.coach-card {
		flex-direction: column;
		text-align: center;
	}
	
	.score-comparison {
		flex-direction: column;
		gap: 20px;
	}
	
	.transformation-arrow {
		transform: rotate(90deg);
	}
	
	.symptoms-stats {
		flex-direction: column;
		align-items: center;
	}
	
	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}
	
	.cta-buttons .btn {
		width: 100%;
		max-width: 280px;
	}
} 

/* Enhanced Mobile Optimization for Health Goals */
@media (max-width: 768px) {
	.health-goals-section {
		padding: 1.5rem 1rem;
	}
	
	.health-goals-section .section-title {
		font-size: 1.1rem;
		margin-bottom: 1rem;
	}
	
	.health-goals-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}
	
	.goal-pill {
		padding: 0.75rem 0.5rem;
		min-height: 80px;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.goal-pill-icon {
		margin-bottom: 0.5rem;
		margin-right: 0;
	}
	
	.goal-pill-text {
		font-size: 0.75rem;
		line-height: 1.2;
		font-weight: 500;
	}
	
	.goal-pill-check {
		position: absolute;
		top: 0.25rem;
		right: 0.25rem;
		width: 16px;
		height: 16px;
	}
	
	.goals-summary {
		flex-direction: column;
		gap: 0.75rem;
		align-items: center;
		text-align: center;
	}
	
	.goals-boost-indicator {
		font-size: 0.75rem;
		padding: 0.5rem 0.75rem;
	}
	
	.goals-boost-indicator svg {
		width: 14px;
		height: 14px;
	}
}

@media (max-width: 480px) {
	.health-goals-section {
		padding: 0;
	}
	
	.health-goals-grid {
		grid-template-columns: 1fr;
		gap: 0.5rem;
		display: flex !important;
		flex-wrap: nowrap;
		align-content: center;
	}
	
	.goal-pill {
		padding: 1rem 0.1rem;
		min-height: 70px;
		flex-direction: row;
		align-items: center;
		text-align: left;
		border-radius: 5px !important;
	}.goal-pill::before {border-radius: 5px !important;
	}
	
	.goal-pill-icon {
		margin-bottom: 0;
		margin-right: 0;
		flex-shrink: 0;
	}
	
	.goal-pill-text {
		font-size: 0.8rem;
		flex: 1;
	}
	
	.goal-pill-check {
		position: absolute;
		top: 0.5rem;
		right: 0.5rem;
		width: 18px;
		height: 18px;
	}
	
	.goals-summary {
		padding: 1rem;
		background: var(--card-bg);
		border-radius: var(--rounded-lg);
		border: 1px solid var(--border-color);
	}
	
	.goals-counter {
		font-size: 0.9rem;
		font-weight: 600;
	}
	
	.goals-boost-indicator {
		font-size: 0.8rem;
		padding: 0.75rem;
		border-radius: var(--rounded-md);
	}
} 

/* Assessment Score Display - Compact and Well-Positioned */
.assessment-score-display {
	text-align: center;
	background: rgba(255, 255, 255, 0.05);
	padding: 6px 10px;
	border-radius: 6px;
	border: 1px solid var(--border-color);
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.assessment-score-display .score-value {
	font-size: 16px;
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1;
	margin-bottom: 1px;
}

.assessment-score-display .score-label {
	font-size: 9px;
	font-weight: 600;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.3px;
	line-height: 1;
}

/* Dark mode support for score display */
[data-theme="dark"] .assessment-score-display {
	background: rgba(16, 185, 129, 0.12);
	border-color: rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .assessment-score-display .score-value {
	color: #10b981;
}

[data-theme="dark"] .assessment-score-display .score-label {
	color: var(--text-secondary);
}

/* Responsive adjustments for score display */
@media (max-width: 768px) {
	.assessment-score-display {
		padding: 4px 8px;
		min-width: 45px;
		max-width: 55px;
	}
	
	.assessment-score-display .score-value {
		font-size: 14px;
	}
	
	.assessment-score-display .score-label {
		font-size: 8px;
	}
}

@media (max-width: 480px) {
	.assessment-score-display {
		padding: 3px 6px;
		min-width: 40px;
		max-width: 50px;
		display: flex;
		flex-direction: column;
	}
	
	.assessment-score-display .score-value {
		font-size: 13px;
	}
	
	.assessment-score-display .score-label {
		font-size: 7px;
	}
} 

/* CTA Section for Logged Out Users */
.cta-section {
	margin: 2rem 0 3rem 0;
}

.cta-card {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 2rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.cta-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.cta-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	border-radius: 12px;
	color: white;
	flex-shrink: 0;
}

.cta-content {
	flex: 1;
}

.cta-content h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 0.5rem 0;
}

.cta-content p {
	color: var(--text-light);
	margin: 0 0 1.5rem 0;
	line-height: 1.6;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Assessment Descriptions for Logged Out Users */
.assessment-description {
	margin: 1rem 0;
	padding: 0 0.5rem;
	text-align: center;
}

.assessment-description p {
	color: var(--text-light);
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
	opacity: 0.8;
}

/* Light Mode Specific CTA Styling */
[data-theme="light"] .cta-card {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .cta-card:hover {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .cta-content h3 {
	color: #1e293b;
}

[data-theme="light"] .cta-content p {
	color: #64748b;
}

[data-theme="light"] .assessment-description p {
	color: #64748b;
}

/* Responsive Design for CTA Section */
@media (max-width: 768px) {
	.cta-card {
		flex-direction: column;
		text-align: center;
		padding: 1.5rem;
	}
	
	.cta-buttons {
		justify-content: center;
	}
	
	.cta-icon {
		width: 50px;
		height: 50px;
	}
} 

/* ========================================
   ENHANCED TAB STYLING - COMPREHENSIVE DESIGN
   ======================================== */

/* Tab Section Titles */
.tab-section-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
	position: relative;
}

.tab-subtitle {
	font-size: 1rem;
	color: var(--text-light);
	margin-bottom: 2rem;
	line-height: 1.5;
}

/* ========================================
   MY SYMPTOMS TAB STYLING
   ======================================== */

.symptoms-container {
	padding: 0;
}

.symptoms-overview {
	background: var(--card-bg);
	border-radius: var(--rounded-lg);
	padding: 2rem;
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-md);
}

.symptoms-header {
	margin-bottom: 2rem;
	text-align: center;
}

.symptoms-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.symptom-stat-card {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
	padding: 1.5rem;
	border-radius: var(--rounded-lg);
	text-align: center;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.symptom-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.symptom-stat-card .stat-number {
	font-size: 2rem;
	font-weight: 800;
	display: block;
	margin-bottom: 0.5rem;
}

.symptom-stat-card .stat-label {
	font-size: 0.875rem;
	font-weight: 500;
	opacity: 0.9;
}

.symptoms-categories {
	display: grid;
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.symptom-category {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.symptom-category:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-header {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
	padding: 1rem 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.category-name {
	font-size: 1.125rem;
	font-weight: 600;
}

.category-count {
	font-size: 0.875rem;
	opacity: 0.9;
	background: rgba(255, 255, 255, 0.2);
	padding: 0.25rem 0.75rem;
	border-radius: var(--rounded-full);
}

.symptoms-list {
	padding: 1.5rem;
}

.symptom-item.enhanced {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	margin-bottom: 0.75rem;
	background: var(--base-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-md);
	transition: all 0.3s ease;
}

.symptom-item.enhanced:hover {
	background: var(--card-bg);
	border-color: var(--accent-primary);
	transform: translateX(4px);
}

.symptom-main {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 1;
}

.symptom-icon {
	color: var(--accent-primary);
	flex-shrink: 0;
}

.symptom-details {
	flex: 1;
}

.symptom-text {
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.25rem;
	display: block;
}

.symptom-meta {
	display: flex;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--text-light);
}

.symptom-frequency {
	background: rgba(16, 185, 129, 0.1);
	color: var(--accent-primary);
	padding: 0.125rem 0.5rem;
	border-radius: var(--rounded-full);
	font-size: 0.75rem;
}

.symptom-assessment {
	color: var(--text-light);
	font-style: italic;
}

.symptom-severity {
	flex-shrink: 0;
}

.severity-indicator {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border-radius: var(--rounded-full);
	font-size: 0.875rem;
	font-weight: 600;
}

.severity-indicator.critical {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.2);
}

.severity-indicator.moderate {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
	border: 1px solid rgba(245, 158, 11, 0.2);
}

.severity-indicator.mild {
	background: rgba(16, 185, 129, 0.1);
	color: var(--accent-primary);
	border: 1px solid rgba(16, 185, 129, 0.2);
}

.severity-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

/* Symptom Analysis & Recommendations */
.symptom-analysis {
	margin-top: 2.5rem;
}

.analysis-header {
	text-align: center;
	margin-bottom: 2rem;
}

.analysis-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.analysis-subtitle {
	color: var(--text-light);
	font-size: 1rem;
}

.recommendations-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

.recommendation-card {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	padding: 1.5rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.recommendation-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.recommendation-card.priority {
	border-color: var(--accent-primary);
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
}

.recommendation-card.priority::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.rec-icon {
	color: var(--accent-primary);
	margin-bottom: 1rem;
}

.rec-content h5 {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.75rem;
}

.rec-content p {
	color: var(--text-light);
	margin-bottom: 1rem;
	line-height: 1.6;
}

/* Symptom Tracking CTA */
.symptom-tracking-cta {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
	padding: 2rem;
	border-radius: var(--rounded-lg);
	text-align: center;
	margin-top: 2rem;
}

.cta-content h4 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.cta-content p {
	font-size: 1rem;
	opacity: 0.9;
	margin-bottom: 1.5rem;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ========================================
   MY BIOMARKERS TAB STYLING
   ======================================== */

.biomarkers-container {
	padding: 0;
}

.biomarkers-overview {
	background: var(--card-bg);
	border-radius: var(--rounded-lg);
	padding: 2rem;
	border: 1px solid var(--border-color);
	box-shadow: var(--shadow-md);
}

/* Unified Stats Row - Consistent across all tabs */
.biomarkers-stats-row,
.symptoms-summary-stats,
.assessment-cards-container .progress-summary {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.02);
	border: none;
	border-radius: 0.75rem;
	height: 120px;
	align-items: center;
}

.biomarkers-stats-row .stat-item,
.symptoms-summary-stats .stat-card,
.assessment-cards-container .progress-summary .stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	text-align: center;
	min-width: 120px;
	height: 80px;
}

.biomarkers-stats-row .stat-number,
.symptoms-summary-stats .stat-number,
.assessment-cards-container .progress-summary .stat-number {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	line-height: 1;
}

.biomarkers-stats-row .stat-label,
.symptoms-summary-stats .stat-label,
.assessment-cards-container .progress-summary .stat-label {
	font-size: 0.8rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.2;
}

/* Widened Action Buttons */
.biomarkers-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-bottom: 2rem;
}

.biomarkers-actions .btn {
	flex: 1;
	max-width: 300px;
	padding: 1rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.biomarkers-actions .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	color: red;
	border: 1px solid red !important;
}

/* Flagged Biomarkers Section */
.flagged-biomarkers-section {
	margin-bottom: 3rem;
}

.flagged-biomarkers-panel {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.flagged-panel-header {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1)) !important;
	border: 1px solid rgba(239, 68, 68, 0.3) !important;
	cursor: pointer;
	transition: all 0.3s ease;
}

.flagged-panel-header:hover {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(245, 158, 11, 0.15)) !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.flagged-panel-header .biomarker-panel-icon span {
	font-size: 1.5rem;
}

/* Flagged Badge */
.flagged-badge {
	display: inline-block;
	background: linear-gradient(135deg, #ef4444, #f59e0b);
	color: white;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.2rem 0.5rem;
	border-radius: 0.5rem;
	margin-left: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* No Flagged Biomarkers State */
.no-flagged-biomarkers {
	text-align: center;
	padding: 3rem 2rem;
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	box-shadow: var(--shadow-md);
}

.no-flagged-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	opacity: 0.7;
}

.no-flagged-biomarkers h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.no-flagged-biomarkers p {
	color: var(--text-light);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
	opacity: 0.8;
}

/* Biomarker Panels Section */
.biomarker-panels-section {
	margin-bottom: 2rem;
}

.biomarkers-header {
	margin-bottom: 0;
	text-align: center;
}

.biomarkers-intro {
	margin-bottom: 2.5rem;
}

.lab-panel-info {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: var(--rounded-lg);
	padding: 2rem;
}

.panel-highlight h4 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1rem;
	text-align: center;
}

.panel-highlight p {
	color: var(--text-light);
	text-align: center;
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.panel-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 1rem;
	justify-content: center;
}

.panel-stat {
	text-align: center;
	padding: 1rem;
	background: var(--base-bg);
	border-radius: var(--rounded-md);
	border: 1px solid var(--border-color);
}

.panel-stat .stat-number {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--accent-primary);
	display: block;
	margin-bottom: 0.25rem;
}

.panel-stat .stat-label {
	font-size: 0.875rem;
	color: var(--text-light);
}

/* Biomarker Summary Dashboard */
.biomarker-summary {
	margin-bottom: 2.5rem;
}

.summary-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem;
}

.summary-stat {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	padding: 1.5rem;
	text-align: center;
	transition: transform 0.3s ease;
}

.summary-stat:hover {
	transform: translateY(-2px);
}

.summary-stat.warning {
	border-left: 4px solid #f59e0b;
	background: rgba(245, 158, 11, 0.05);
}

.summary-stat.critical {
	border-left: 4px solid #ef4444;
	background: rgba(239, 68, 68, 0.05);
}

.summary-stat .stat-number {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: var(--spacing-1);
	display: block;
}

.summary-stat.warning .stat-number {
	color: #f59e0b;
}

.summary-stat.critical .stat-number {
	color: #ef4444;
}

.summary-stat .stat-label {
	font-size: 0.875rem;
	color: var(--text-light);
	font-weight: 500;
}

/* Biomarkers Grid */
.biomarkers-grid {
	display: grid;
	gap: 2rem;
}

.biomarker-category {
	background: var(--card-bg);
	border: none;
	border-radius: var(--rounded-lg);
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.biomarker-category:hover {
	box-shadow: var(--shadow-md);
}

.category-header {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
	padding: 1rem 1.5rem;
}

.category-name {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.category-description {
	font-size: 0.875rem;
	opacity: 0.9;
}

.biomarkers-list {
	padding: 1.5rem;
}

.biomarker-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	margin-bottom: 0.75rem;
	background: var(--base-bg);
	border: none;
	border-radius: var(--rounded-md);
	transition: all 0.3s ease;
}

.biomarker-item:hover {
	background: var(--card-bg);
	transform: translateX(4px);
}

.biomarker-info {
	flex: 1;
}

.biomarker-name {
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.25rem;
}

.biomarker-value {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.biomarker-number {
	font-weight: 700;
	color: var(--text-dark);
}

.biomarker-unit {
	font-size: 0.875rem;
	color: var(--text-light);
}

.biomarker-range {
	font-size: 0.875rem;
	color: var(--text-light);
}

.biomarker-status {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.status-indicator {
	padding: 0.5rem 1rem;
	border-radius: var(--rounded-full);
	font-size: 0.875rem;
	font-weight: 600;
}

.status-indicator.normal {
	background: rgba(16, 185, 129, 0.1);
	color: var(--accent-primary);
	border: none;
}

.status-indicator.low {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
	border: none;
}

.status-indicator.high {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
	border: none;
}

.status-indicator.critical {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
	border: none;
}

.trend-arrow {
	font-size: 1.25rem;
	font-weight: 700;
}

.trend-arrow.increasing {
	color: #ef4444;
}

.trend-arrow.decreasing {
	color: var(--accent-primary);
}

.trend-arrow.stable {
	color: var(--text-light);
}

/* Lab CTA */
.lab-cta {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
	padding: 2rem;
	border-radius: var(--rounded-lg);
	text-align: center;
	margin-top: 2rem;
}

.cta-content h4 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.cta-content p {
	font-size: 1rem;
	opacity: 0.9;
	margin-bottom: 1.5rem;
}

.cta-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.feature {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	opacity: 0.9;
}

.feature svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* ========================================
   MY NEW LIFE TAB STYLING
   ======================================== */

.new-life-container {
	padding: 0;
}

.new-life-overview {
	background: var(--card-bg);
	border-radius: var(--rounded-lg);
	padding: 2rem;
	border: none;
	box-shadow: var(--shadow-md);
}

.new-life-header {
	margin-bottom: 2rem;
	text-align: center;
}

/* Life Coach Section */
.life-coach-section {
	margin-bottom: 2.5rem;
}

.coach-card {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: var(--rounded-lg);
	padding: 2rem;
	display: flex;
	align-items: center;
	gap: 2rem;
	transition: transform 0.3s ease;
}

.coach-card:hover {
	transform: translateY(-2px);
}

.coach-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.coach-avatar svg {
	width: 40px;
	height: 40px;
	color: white;
}

.coach-info {
	flex: 1;
}

.coach-info h4 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.coach-title {
	font-size: 1rem;
	color: var(--accent-primary);
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.coach-description {
	color: var(--text-light);
	margin: 0 0 20px 0;
	line-height: 1.6;
}

.coach-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.coach-feature {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--text-light);
}

.coach-feature svg {
	width: 16px;
	height: 16px;
	color: var(--accent-primary);
	flex-shrink: 0;
}

.coach-pricing {
	background: var(--base-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-md);
	padding: 1rem;
	margin-bottom: 1.5rem;
}

.pricing-amount {
	font-size: 2rem;
	font-weight: 700;
	color: var(--accent-primary);
	margin-bottom: 0.25rem;
}

.pricing-period {
	font-size: 0.875rem;
	color: var(--text-light);
}

.coach-cta {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Transformation Journey */
.transformation-journey {
	margin-bottom: 2.5rem;
}

.journey-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
	text-align: center;
}

.journey-subtitle {
	color: var(--text-light);
	text-align: center;
	margin-bottom: 2rem;
}

/* Score Comparison */
.score-comparison.enhanced {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 2rem;
	margin-bottom: 2.5rem;
	padding: 2rem;
	background: var(--base-bg);
	border-radius: var(--rounded-lg);
	border: 1px solid var(--border-color);
}

.current-score-section,
.target-score-section {
	text-align: center;
}

.current-score-section h5,
.target-score-section h5 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-light);
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.score-circle {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	position: relative;
	transition: transform 0.3s ease;
}

.score-circle:hover {
	transform: scale(1.05);
}

.score-circle.current {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: white;
}

.score-circle.target {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
}

.score-circle .score-value {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.score-circle .score-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.25rem;
}

.score-circle .score-status {
	font-size: 0.75rem;
	opacity: 0.9;
}

.transformation-arrow.enhanced {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: var(--accent-primary);
}

.transformation-arrow.enhanced svg {
	width: 32px;
	height: 32px;
}

.arrow-label {
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.arrow-subtitle {
	font-size: 0.75rem;
	color: var(--text-light);
}

/* Pillar Optimization */
.pillar-optimization.enhanced {
	margin-bottom: 2.5rem;
}

.pillar-optimization.enhanced h5 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1.5rem;
	text-align: center;
}

.pillars-progress {
	display: grid;
	gap: 1.5rem;
}

.pillar-progress-item {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	padding: 1.5rem;
	transition: all 0.3s ease;
}

.pillar-progress-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pillar-progress-item.high-priority {
	border-color: #ef4444;
	background: rgba(239, 68, 68, 0.05);
}

.pillar-progress-item.medium-priority {
	border-color: #f59e0b;
	background: rgba(245, 158, 11, 0.05);
}

.pillar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.pillar-info {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.pillar-name {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-dark);
}

.pillar-priority {
	font-size: 0.875rem;
	color: var(--text-light);
}

.pillar-scores {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
}

.pillar-current {
	color: var(--text-dark);
}

.pillar-arrow {
	color: var(--accent-primary);
}

.pillar-target {
	color: var(--accent-primary);
}

.pillar-progress-bar {
	width: 100%;
	height: 8px;
	background: var(--border-color);
	border-radius: var(--rounded-full);
	overflow: hidden;
	margin-bottom: 1rem;
}

.pillar-progress-bar .progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	border-radius: inherit;
	transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.pillar-details {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.improvement-needed {
	font-size: 0.875rem;
	color: var(--text-light);
}

.pillar-actions {
	flex-shrink: 0;
}

/* Journey Milestones */
.journey-milestones.enhanced {
	margin-bottom: 2.5rem;
}

.journey-milestones.enhanced h5 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 1.5rem;
	text-align: center;
}

.milestones-timeline {
	display: grid;
	gap: 1.5rem;
}

.milestone {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	transition: all 0.3s ease;
	position: relative;
}

.milestone:hover {
	transform: translateX(4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.milestone.completed {
	border-color: var(--accent-primary);
	background: rgba(16, 185, 129, 0.05);
}

.milestone.current {
	border-color: #f59e0b;
	background: rgba(245, 158, 11, 0.05);
}

.milestone-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: var(--base-bg);
	border: 2px solid var(--border-color);
	color: var(--text-light);
}

.milestone.completed .milestone-icon {
	background: var(--accent-primary);
	border-color: var(--accent-primary);
	color: white;
}

.milestone.current .milestone-icon {
	background: #f59e0b;
	border-color: #f59e0b;
	color: white;
}

.milestone-content {
	flex: 1;
}

.milestone-content h6 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.milestone-content p {
	color: var(--text-light);
	margin-bottom: 0.75rem;
	line-height: 1.5;
}

.milestone-status {
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.25rem 0.75rem;
	border-radius: var(--rounded-full);
	display: inline-block;
}

.milestone.completed .milestone-status {
	background: rgba(16, 185, 129, 0.1);
	color: var(--accent-primary);
}

.milestone.current .milestone-status {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

.milestone:not(.completed):not(.current) .milestone-status {
	background: rgba(107, 114, 128, 0.1);
	color: #6b7280;
}

/* Transformation Programs */
.transformation-programs {
	margin-top: 2.5rem;
}

.programs-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
	text-align: center;
}

.programs-subtitle {
	color: var(--text-light);
	text-align: center;
	margin-bottom: 2rem;
}

.programs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

.program-card {
	background: var(--card-bg);
	border: none;
	border-radius: var(--rounded-lg);
	padding: 2rem;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.program-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	background: rgba(255, 255, 255, 0.02);
}

.program-card.featured {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.05));
}

.program-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: var(--accent-primary);
	color: white;
	padding: 0.25rem 0.75rem;
	border-radius: var(--rounded-full);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.program-header {
	margin-bottom: 1.5rem;
}

.program-header h5 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.program-price {
	font-size: 2rem;
	font-weight: 800;
	color: var(--accent-primary);
}

.program-features {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.program-features .feature {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	justify-content: center;
	font-size: 0.875rem;
	color: var(--text-light);
}

.program-features .feature svg {
	width: 16px;
	height: 16px;
	color: var(--accent-primary);
	flex-shrink: 0;
}

/* New Life CTA */
.new-life-cta {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
	padding: 2rem;
	border-radius: var(--rounded-lg);
	text-align: center;
	margin-top: 2rem;
}

.cta-highlight {
	margin-bottom: 1.5rem;
}

.cta-highlight h4 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.cta-wordplay {
	font-size: 1.125rem;
	font-weight: 600;
	opacity: 0.9;
	margin-bottom: 0.75rem;
}

.cta-highlight p {
	font-size: 1rem;
	opacity: 0.9;
	margin-bottom: 1.5rem;
}

/* Button Styles */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--rounded-md);
	font-weight: 400;
	text-decoration: none;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 0.75rem;
}

.btn-primary {
	background: var(--accent-primary);
	color: white;
}

.btn-primary:hover {
	background: var(--accent-secondary);
	transform: translateY(-1px);
}

.btn-secondary {
	background: transparent;
	color: var(--text-dark);
	border: 1px solid var(--border-color);
}

.btn-secondary:hover {
	background: var(--base-bg);
	border-color: var(--accent-primary);
}

.btn-outline {
	background: transparent;
	color: var(--text-dark);
	border: 1px solid var(--border-color);
}

.btn-outline:hover {
	background: var(--base-bg);
	border-color: var(--accent-primary);
}

.btn-pill {
	border-radius: var(--rounded-full);
}

.btn-sm {
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.symptoms-stats,
	.summary-stats,
	.panel-stats {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.score-comparison.enhanced {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.transformation-arrow.enhanced {
		transform: rotate(90deg);
	}
	
	.coach-card {
		flex-direction: column;
		text-align: center;
	}
	
	.pillar-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
	
	.pillar-details {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	
	.milestone {
		flex-direction: column;
		text-align: center;
	}
	
	.programs-grid {
		grid-template-columns: 1fr;
	}
	
	.cta-buttons {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.symptoms-stats,
	.summary-stats,
	.panel-stats {
		grid-template-columns: 1fr;
	}
	
	.symptom-item.enhanced {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	
	.biomarker-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	
	.score-circle {
		width: 100px;
		height: 100px;
	}
	
	.score-circle .score-value {
		font-size: 1.5rem;
	}
} 

/* ========================================
   PREMIUM ANIMATIONS & INTERACTIVE FEATURES
   ======================================== */

/* Advanced Animation Keyframes */
@keyframes slideInFromLeft {
	0% {
		opacity: 0;
		transform: translateX(-50px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInFromRight {
	0% {
		opacity: 0;
		transform: translateX(50px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInFromBottom {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInScale {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes pulseGlow {
	0%, 100% {
		box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
	}
	50% {
		box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
	}
}

@keyframes shimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

@keyframes bounceIn {
	0% {
		opacity: 0;
		transform: scale(0.3);
	}
	50% {
		opacity: 1;
		transform: scale(1.05);
	}
	70% {
		transform: scale(0.9);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes rotateIn {
	0% {
		opacity: 0;
		transform: rotate(-180deg) scale(0.3);
	}
	100% {
		opacity: 1;
		transform: rotate(0deg) scale(1);
	}
}

@keyframes slideDown {
	0% {
		opacity: 0;
		max-height: 0;
		transform: translateY(-20px);
	}
	100% {
		opacity: 1;
		max-height: 1000px;
		transform: translateY(0);
	}
}

@keyframes slideUp {
	0% {
		opacity: 1;
		max-height: 1000px;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		max-height: 0;
		transform: translateY(-20px);
	}
}

/* Premium Interactive Elements */
.collapsible-section {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	margin-bottom: 1.5rem;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.collapsible-section:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

.collapsible-header {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
	padding: 1.5rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.collapsible-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s ease;
}

.collapsible-header:hover::before {
	left: 100%;
}

.collapsible-header:hover {
	background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
	transform: translateY(-1px);
}

.collapsible-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.collapsible-icon {
	width: 24px;
	height: 24px;
	transition: transform 0.3s ease;
}

.collapsible-section.expanded .collapsible-icon {
	transform: rotate(180deg);
}

.collapsible-content {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	padding: 0 1.5rem;
}

.collapsible-section.expanded .collapsible-content {
	max-height: 2000px;
	opacity: 1;
	padding: 1.5rem;
}

/* Animated Cards */
.animated-card {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	padding: 1.5rem;
	margin-bottom: 1rem;
	transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	position: relative;
	overflow: hidden;
	animation: slideInFromBottom 0.6s ease-out;
}

.animated-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.animated-card:hover::before {
	transform: scaleX(1);
}

.animated-card:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
	border-color: var(--accent-primary);
}

/* Premium Symptom Cards */
.symptom-item.enhanced {
	animation: slideInFromLeft 0.5s ease-out;
	animation-fill-mode: both;
}

.symptom-item.enhanced:nth-child(1) { animation-delay: 0.1s; }
.symptom-item.enhanced:nth-child(2) { animation-delay: 0.2s; }
.symptom-item.enhanced:nth-child(3) { animation-delay: 0.3s; }
.symptom-item.enhanced:nth-child(4) { animation-delay: 0.4s; }
.symptom-item.enhanced:nth-child(5) { animation-delay: 0.5s; }

.symptom-item.enhanced:hover {
	animation: pulseGlow 2s infinite;
}

/* Premium Biomarker Cards */
.biomarker-item {
	animation: slideInFromRight 0.5s ease-out;
	animation-fill-mode: both;
}

.biomarker-item:nth-child(1) { animation-delay: 0.1s; }
.biomarker-item:nth-child(2) { animation-delay: 0.2s; }
.biomarker-item:nth-child(3) { animation-delay: 0.3s; }
.biomarker-item:nth-child(4) { animation-delay: 0.4s; }
.biomarker-item:nth-child(5) { animation-delay: 0.5s; }

.biomarker-item:hover {
	animation: pulseGlow 2s infinite;
}

/* Premium Status Indicators */
.status-indicator {
	position: relative;
	overflow: hidden;
}

.status-indicator::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.6s ease;
}

.status-indicator:hover::before {
	left: 100%;
}

.status-indicator.critical {
	animation: pulseGlow 2s infinite;
}

/* Premium Progress Bars */
.pillar-progress-bar {
	position: relative;
	overflow: hidden;
}

.pillar-progress-bar::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	animation: shimmer 2s infinite;
}

.pillar-progress-bar .progress-fill {
	position: relative;
	z-index: 1;
}

/* Premium Score Circles */
.score-circle {
	position: relative;
	overflow: hidden;
}

.score-circle::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	animation: rotate 3s linear infinite;
}

.score-circle:hover {
	animation: bounceIn 0.6s ease-out;
}

/* Premium Milestone Timeline */
.milestone {
	position: relative;
	animation: slideInFromBottom 0.6s ease-out;
	animation-fill-mode: both;
}

.milestone:nth-child(1) { animation-delay: 0.1s; }
.milestone:nth-child(2) { animation-delay: 0.2s; }
.milestone:nth-child(3) { animation-delay: 0.3s; }
.milestone:nth-child(4) { animation-delay: 0.4s; }

.milestone::before {
	content: '';
	position: absolute;
	left: 20px;
	top: 60px;
	bottom: -30px;
	width: 2px;
	background: var(--border-color);
	z-index: 0;
}

.milestone:last-child::before {
	display: none;
}

.milestone.completed::before {
	background: var(--accent-primary);
}

.milestone-icon {
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}

.milestone:hover .milestone-icon {
	transform: scale(1.2) rotate(10deg);
}

/* Premium Program Cards */
.program-card {
	animation: fadeInScale 0.6s ease-out;
	animation-fill-mode: both;
}

.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.3s; }

.program-card.featured {
	animation: pulseGlow 3s infinite;
}

.program-card:hover {
	animation: bounceIn 0.6s ease-out;
}

/* Premium CTA Sections */
.symptom-tracking-cta,
.lab-cta,
.new-life-cta {
	position: relative;
	overflow: hidden;
	animation: slideInFromBottom 0.8s ease-out;
}

.symptom-tracking-cta::before,
.lab-cta::before,
.new-life-cta::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	animation: shimmer 3s infinite;
}

/* Premium Button Animations */
.btn {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
	width: 300px;
	height: 300px;
}

.btn-primary:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-secondary:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Premium Loading States */
.loading-shimmer {
	background: linear-gradient(90deg, var(--border-color) 25%, var(--card-bg) 50%, var(--border-color) 75%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
}

/* Premium Hover Effects */
.hover-lift {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Premium Focus States */
.focus-ring:focus {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3) !important;
	border-radius: 8px;
}

/* Premium Scroll Animations */
.scroll-reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
}

.scroll-reveal.revealed {
	opacity: 1;
	transform: translateY(0);
}

/* Premium Tab Transitions */
.my-story-tab-content {
	opacity: 0;
	transform: translateX(20px);
	transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	background: none !important;
}

.my-story-tab-content.my-story-tab-active {
	opacity: 1;
	transform: translateX(0);
}

/* Premium Category Headers */
.category-header {
	position: relative;
	overflow: hidden;
}

.category-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: rgba(255, 255, 255, 0.3);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.category-header:hover::after {
	transform: scaleX(1);
}

/* Premium Stat Cards */
.symptom-stat-card,
.summary-stat,
.panel-stat {
	position: relative;
	overflow: hidden;
}

.symptom-stat-card::before,
.summary-stat::before,
.panel-stat::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.6s ease;
}

.symptom-stat-card:hover::before,
.summary-stat:hover::before,
.panel-stat:hover::before {
	left: 100%;
}

/* Premium Recommendation Cards */
.recommendation-card {
	position: relative;
	overflow: hidden;
}

.recommendation-card::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 30px 30px 0;
	border-color: transparent var(--accent-primary) transparent transparent;
	transition: all 0.3s ease;
}

.recommendation-card:hover::after {
	border-width: 0 40px 40px 0;
}

/* Premium Coach Card */
.coach-card {
	position: relative;
	overflow: hidden;
}

.coach-avatar {
	position: relative;
	overflow: hidden;
}

.coach-avatar::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	animation: rotate 4s linear infinite;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.coach-card:hover .coach-avatar::before {
	opacity: 1;
}

/* Premium Transformation Arrow */
.transformation-arrow.enhanced {
	position: relative;
}

.transformation-arrow.enhanced svg {
	animation: bounceIn 1s ease-out;
}

.transformation-arrow.enhanced::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
	transform: translateY(-50%);
}

/* Premium Severity Indicators */
.severity-indicator {
	position: relative;
	overflow: hidden;
}

.severity-indicator.critical {
	animation: pulseGlow 1.5s infinite;
}

.severity-indicator.moderate {
	animation: pulseGlow 2s infinite;
}

.severity-indicator.mild {
	animation: pulseGlow 2.5s infinite;
}

/* Premium Trend Arrows */
.trend-arrow {
	animation: bounceIn 0.6s ease-out;
}

.trend-arrow.increasing {
	animation: pulseGlow 1.5s infinite;
}

.trend-arrow.decreasing {
	animation: pulseGlow 2s infinite;
}

/* Premium Feature Lists */
.feature {
	position: relative;
	transition: all 0.3s ease;
}

.feature:hover {
	transform: translateX(5px);
}

.feature svg {
	transition: transform 0.3s ease;
}

.feature:hover svg {
	transform: scale(1.2) rotate(10deg);
}

/* Premium Pricing Display */
.pricing-amount {
	position: relative;
	overflow: hidden;
}

.pricing-amount::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.2), transparent);
	animation: shimmer 2s infinite;
}

/* Premium Badge Animations */
.program-badge {
	animation: bounceIn 0.8s ease-out;
}

.program-badge::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	animation: shimmer 2s infinite;
}

/* Premium CTA Wordplay */
.cta-wordplay {
	position: relative;
	overflow: hidden;
}

.cta-wordplay::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	animation: shimmer 3s infinite;
}

/* Premium Responsive Animations */
@media (max-width: 768px) {
	.animated-card:hover {
		transform: translateY(-2px) scale(1.01);
	}
	
	.program-card:hover {
		transform: translateY(-2px) scale(1.01);
	}
	
	.btn-primary:hover,
	.btn-secondary:hover {
		transform: translateY(-1px) scale(1.02);
	}
}

/* Premium Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	
	.collapsible-content {
		transition: none;
	}
}

/* Premium High Contrast Support */
@media (prefers-contrast: high) {
	.animated-card:hover,
	.program-card:hover {
		border-width: 3px;
	}
	
	.btn:hover {
		border-width: 2px;
	}
} 

/* REMOVED: Problematic overrides that broke theme system */

/* REMOVED: All problematic overrides that broke theme system */ 

/* ========================================
   STREAMLINED DASHBOARD DESIGN - PIXEL PERFECT
   ======================================== */

/* Base Card Styling - Theme Aware */
.assessment-card,
.coach-card,
.program-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.assessment-card:hover,
.coach-card:hover,
.program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-color);
    border-color: var(--accent-primary);
}

/* Stat Cards - Theme Aware */
.symptom-stat-card,
.summary-stat,
.panel-stat {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px var(--shadow-color);
}

.symptom-stat-card:hover,
.summary-stat:hover,
.panel-stat:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--shadow-color);
    border-color: var(--accent-primary);
}

/* Biomarker and Symptom Items - Clean Separators */
.biomarker-item,
.symptom-item.enhanced {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.biomarker-item:hover,
.symptom-item.enhanced:hover {
    background: var(--glass-bg);
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

/* Category Headers - Enhanced */
.category-header,
.symptom-category,
.biomarker-category {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    height: auto !important;
    min-height: auto !important;
}

.category-header:hover,
.symptom-category:hover,
.biomarker-category:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Collapsible Sections - Clean Design */
.collapsible-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.collapsible-header {
    background: var(--glass-bg);
    border: none;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.collapsible-header:hover {
    background: var(--glass-bg);
    transform: translateY(-1px);
}

.collapsible-content {
    background: var(--card-bg);
    border: none;
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

/* Goal Pills - Enhanced */
.goal-pill {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 12px 20px;
    margin: 4px;
    transition: all 0.3s ease;
    color: var(--text-dark);
    box-shadow: 0 2px 4px var(--shadow-color);
}

.goal-pill:hover {
    background: var(--glass-bg);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.goal-pill.selected {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Tab Navigation - Clean Design */
.my-story-tab-nav {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.my-story-tab-nav a {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 100px;
    padding: 12px 24px;
    margin: 0 !important;
    position: relative;
    transition: all 0.3s ease;
    color: var(--text-dark);
    text-decoration: none;
    border-color: #b2b2b2;
    color: #ffffff;
    /* background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); */
    color: white;
    text-align: center;
}

.my-story-tab-nav a:hover {
    background: var(--glass-bg);
    color: #323232;
}

.my-story-tab-nav a.my-story-tab-active {
    background: #3e3e3e;
    color: #000000 !important;
    box-shadow: 0 2px 8px rgb(173 204 194 / 30%);
}

/* Status Indicators - Clean Design */
.status-indicator,
.severity-indicator {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-indicator.normal {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.status-indicator.low,
.status-indicator.high {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    color: #f59e0b;
}

.status-indicator.critical {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

/* Progress Bars - Enhanced */
.pillar-progress-bar,
.category-score-bar {
    background: var(--border-color);
    border: none;
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px var(--shadow-color);
}

.pillar-progress-bar .progress-fill,
.category-score-bar .category-score-fill {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 6px;
    height: 100%;
    transition: width 0.8s ease;
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.3);
}

/* Score Circles - Enhanced */
.score-circle {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.score-circle:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 16px var(--shadow-color);
}

.score-circle.current {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.score-circle.target {
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* CTA Sections - Enhanced */
.symptom-tracking-cta,
.lab-cta,
.new-life-cta {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    text-align: center;
    color: white;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

/* Buttons - Enhanced */
.btn {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 0;
    color: var(--text-dark);
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: none !important;
}

.btn:hover {
    background: var(--glass-bg);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    color: var(--accent-primary);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.btn-primary {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Overview Sections - Clean */
.symptoms-overview,
.biomarkers-overview,
.new-life-overview {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

/* Panel Highlights - Enhanced */
.panel-highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

/* Section Titles - Enhanced */
.section-title,
.tab-section-title {
    background: transparent;
    border: none;
    padding: 0 0 16px 0;
    margin-bottom: 24px;
    position: relative;
    color: var(--text-dark);
}

.section-title::after,
.tab-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

/* Vital Stats - Enhanced */
.vital-stats-display {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0 0;
    padding: 0;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.vital-stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.vital-stat-item:hover {
    background: var(--glass-bg);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--shadow-color);
}

/* Assessment Cards - Enhanced */
.assessment-card-header {
    background: transparent;
    border: none;
    padding: 0 0 16px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.assessment-card-actions {
    background: transparent;
    border: none;
    padding: 16px 0 0 0;
    margin-top: 16px;
    border-top: 1px solid var(--border-color);
}

/* Recommendations - Enhanced */
.recommendations-grid {
    background: transparent;
    border: none;
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.recommendation-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.recommendation-card:hover {
    background: var(--glass-bg);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.recommendation-card.priority {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
}

/* Milestones - Enhanced */
.milestones-timeline {
    background: transparent;
    border: none;
    position: relative;
    padding-left: 32px;
}

.milestones-timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    border-radius: 1px;
}

.milestone {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    margin-bottom: 24px;
    padding: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow-color);
}

.milestone:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.milestone-icon {
    background: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -40px;
    top: 16px;
    transition: all 0.3s ease;
    color: white;
}

.milestone.completed .milestone-icon {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.milestone.current .milestone-icon {
    background: #f59e0b;
    border-color: #f59e0b;
}

/* Programs Grid - Enhanced */
.programs-grid {
    background: transparent;
    border: none;
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.program-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.program-card.featured {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 2px solid var(--accent-primary);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.program-card:hover {
    background: var(--glass-bg);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.program-card.featured:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Coach Section - Enhanced */
.coach-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.coach-card:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

/* Transformation Arrow - Enhanced */
.transformation-arrow.enhanced {
    background: transparent;
    border: none;
    padding: 20px;
    text-align: center;
    position: relative;
}

.transformation-arrow.enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    transform: translateY(-50%);
}

/* Pillar Optimization - Enhanced */
.pillar-optimization.enhanced {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.pillars-progress {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pillar-progress-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px var(--shadow-color);
}

.pillar-progress-item:hover {
    background: var(--glass-bg);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.pillar-progress-item.high-priority {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
}

.pillar-progress-item.medium-priority {
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid #f59e0b;
}

/* Score Comparison - Enhanced */
.score-comparison.enhanced {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 32px 0;
    padding: 24px;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.current-score-section,
.target-score-section {
    background: transparent;
    border: none;
    text-align: center;
    flex: 1;
}

/* Notifications - Enhanced */
.ennu-notification {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    padding: 16px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
}

.ennu-notification-success {
    border-left: 4px solid var(--accent-primary);
    background: rgba(16, 185, 129, 0.1);
}

.ennu-notification-error {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.ennu-notification-warning {
    border-left: 4px solid #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.ennu-notification-info {
    border-left: 4px solid #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* Loading States - Enhanced */
.loading-shimmer {
    background: linear-gradient(90deg, transparent, var(--glass-bg), transparent);
    border: none;
    border-radius: 4px;
    animation: shimmer 1.5s infinite;
}

/* Focus States - Enhanced */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
    border-radius: 8px;
}

/* Light Mode Specific Enhancements */
[data-theme="light"] .assessment-card,
[data-theme="light"] .coach-card,
[data-theme="light"] .program-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .symptom-stat-card,
[data-theme="light"] .summary-stat,
[data-theme="light"] .panel-stat {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .biomarker-item,
[data-theme="light"] .symptom-item.enhanced {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .biomarker-item:hover,
[data-theme="light"] .symptom-item.enhanced:hover {
    background: #f8fafc;
    border-color: var(--accent-primary);
}

[data-theme="light"] .goal-pill {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #1e293b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .goal-pill:hover {
    background: #f8fafc;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .my-story-tab-nav {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .my-story-tab-nav a {
    color: #1e293b;
}

[data-theme="light"] .my-story-tab-nav a:hover {
    background: #f8fafc;
    color: var(--accent-primary);
}

[data-theme="light"] .vital-stats-display {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .vital-stat-item {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1e293b;
}

[data-theme="light"] .vital-stat-item:hover {
    background: #f1f5f9;
    border-color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .symptoms-overview,
[data-theme="light"] .biomarkers-overview,
[data-theme="light"] .new-life-overview {
	background: #ffffff;
	border-color: #e2e8f0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .pillar-optimization.enhanced {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .pillar-progress-item {
    background: #f8fafc;
    border-color: #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .score-comparison.enhanced {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .milestone {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .program-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .recommendation-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .ennu-notification {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design - Enhanced */
@media (max-width: 768px) {
    .assessment-card,
    .coach-card,
    .program-card {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .symptom-stat-card,
    .summary-stat,
    .panel-stat {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .vital-stats-display {
        gap: 8px;
        padding: 16px;
    }
    
    .vital-stat-item {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .my-story-tab-nav a {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .score-comparison.enhanced {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .assessment-card,
    .coach-card,
    .program-card {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .panel-highlight {
        padding: 16px;
    }
    
    .symptom-tracking-cta,
    .lab-cta,
    .new-life-cta {
        padding: 16px;
    }
    
    .vital-stats-display {
        flex-direction: column;
        gap: 8px;
    }
    
    .vital-stat-item {
        width: 100%;
        justify-content: center;
    }
} 

/* Enhanced Symptom Item Styling with Biomarkers */
.symptom-item.enhanced {
	background: var(--card-bg);
	border: none;
	border-radius: var(--rounded-lg);
	padding: var(--spacing-5);
	margin-bottom: var(--spacing-4);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.symptom-item.enhanced:hover {
	background: rgba(255, 255, 255, 0.02);
	transform: translateY(-1px);
}

.symptom-main {
	display: flex;
	align-items: flex-start;
	gap: var(--spacing-4);
	margin-bottom: var(--spacing-3);
}

.symptom-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent-primary);
}

.symptom-details {
	flex: 1;
	min-width: 0;
}

.symptom-text {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: var(--spacing-2);
	display: block;
}

.symptom-meta {
	display: flex;
	align-items: center;
	gap: var(--spacing-3);
	margin-bottom: 0;
	flex-wrap: wrap;
}

.symptom-frequency {
	background: rgba(16, 185, 129, 0.1);
	color: var(--accent-primary);
	padding: 4px 8px;
	border-radius: var(--rounded-full);
	font-size: 0.75rem;
	font-weight: 500;
	border: none;
}

.symptom-assessment {
	color: var(--text-light);
	font-size: 0.75rem;
	font-weight: 500;
}

/* Enhanced Biomarker Display */
.symptom-biomarkers {
	margin-top: var(--spacing-3);
	padding-top: var(--spacing-3);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.biomarkers-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-light);
	margin-bottom: var(--spacing-2);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.biomarkers-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-2);
	padding: 0px;
	flex-direction: column;
}

.biomarker-tag {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
	padding: 4px 8px;
	border-radius: var(--rounded-md);
	font-size: 0.7rem;
	font-weight: 500;
	border: none;
	transition: all 0.2s ease;
}

.biomarker-tag:hover {
	background: rgba(59, 130, 246, 0.2);
	transform: translateY(-1px);
}

.symptom-severity {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.severity-indicator {
	display: flex;
	align-items: center;
	gap: var(--spacing-2);
	padding: 6px 12px;
	border-radius: var(--rounded-full);
	font-size: 0.75rem;
	font-weight: 600;
	border: none;
	transition: all 0.2s ease;
}

.severity-indicator.critical {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}

.severity-indicator.moderate {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

.severity-indicator.mild {
	background: rgba(16, 185, 129, 0.1);
	color: var(--accent-primary);
}

.severity-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.severity-label {
	text-transform: capitalize;
}

/* Light Mode Enhancements */
[data-theme="light"] .symptom-item.enhanced {
	background: var(--card-bg);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .symptom-item.enhanced:hover {
	background: rgba(0, 0, 0, 0.02);
	border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .symptom-biomarkers {
	border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .biomarker-tag {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
}

[data-theme="light"] .biomarker-tag:hover {
	background: rgba(59, 130, 246, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
	.symptom-main {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--spacing-3);
	}
	
	.symptom-meta {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--spacing-2);
	}
	
	.biomarkers-list {
		gap: var(--spacing-1);
	}
	
	.biomarker-tag {
		font-size: 0.65rem;
		padding: 3px 6px;
	}
	
	.symptom-severity {
		align-self: flex-start;
		margin-top: var(--spacing-3);
	}
}

@media (max-width: 480px) {
	.symptom-item.enhanced {
		padding: var(--spacing-4);
	}
	
	.symptom-text {
		font-size: 0.9rem;
	}
	
	.biomarkers-list {
		flex-direction: column;
		gap: var(--spacing-1);
	}
	
	.biomarker-tag {
		width: 100%;
		text-align: center;
	}
} 

/* Enhanced Biomarker Display Styling */
.biomarker-item.enhanced {
	background: var(--card-bg);
	border: none;
	border-radius: var(--rounded-lg);
	padding: var(--spacing-5);
	margin-bottom: var(--spacing-4);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.biomarker-item.enhanced:hover {
	background: rgba(255, 255, 255, 0.02);
	transform: translateY(-1px);
}

.biomarker-item.enhanced.critical-priority {
	border-left: 4px solid #ef4444;
	background: rgba(239, 68, 68, 0.05);
}

.biomarker-item.enhanced.high-priority {
	border-left: 4px solid #f59e0b;
	background: rgba(245, 158, 11, 0.05);
}

.biomarker-item.enhanced.medium-priority {
	border-left: 4px solid #3b82f6;
	background: rgba(59, 130, 246, 0.05);
}

.biomarker-info {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: var(--spacing-3);
}

.biomarker-header {
	display: flex;
	align-items: center;
	gap: var(--spacing-3);
	flex: 1;
}

.biomarker-name {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: var(--spacing-1);
}

.priority-badge {
	display: flex;
	align-items: center;
	gap: var(--spacing-1);
	padding: 4px 8px;
	border-radius: var(--rounded-full);
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: none;
}

.priority-badge.critical {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}

.priority-badge.high {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

.biomarker-value {
	display: flex;
	align-items: baseline;
	gap: var(--spacing-1);
	flex-shrink: 0;
}

.value-number {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-dark);
}

.value-unit {
	font-size: 0.875rem;
	color: var(--text-light);
	font-weight: 500;
}

.biomarker-status {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-2);
	align-items: flex-end;
}

.status-indicator {
	display: flex;
	align-items: center;
	gap: var(--spacing-2);
	padding: 6px 12px;
	border-radius: var(--rounded-full);
	font-size: 0.75rem;
	font-weight: 600;
	border: none;
	transition: all 0.2s ease;
}

.status-indicator.critical {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}

.status-indicator.high {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

.status-indicator.low {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
}

.status-indicator.normal {
	background: rgba(16, 185, 129, 0.1);
	color: var(--accent-primary);
}

.status-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.status-label {
	text-transform: capitalize;
}

.biomarker-range {
	display: flex;
	align-items: center;
	gap: var(--spacing-1);
	font-size: 0.75rem;
}

.range-label {
	color: var(--text-light);
	font-weight: 500;
}

.range-value {
	color: var(--text-dark);
	font-weight: 600;
}

.biomarker-trend {
	display: flex;
	align-items: center;
	gap: var(--spacing-1);
	font-size: 0.75rem;
}

.trend-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
}

.trend-icon.increasing {
	color: #ef4444;
}

.trend-icon.decreasing {
	color: #10b981;
}

.trend-icon.stable {
	color: var(--text-light);
}

.trend-label {
	color: var(--text-dark);
	font-weight: 500;
	text-transform: capitalize;
}

/* Light Mode Enhancements */
[data-theme="light"] .biomarker-item.enhanced {
	background: var(--card-bg);
	border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .biomarker-item.enhanced:hover {
	background: rgba(0, 0, 0, 0.02);
	border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .biomarker-item.enhanced.critical-priority {
	background: rgba(239, 68, 68, 0.05);
	border-color: rgba(239, 68, 68, 0.2);
}

[data-theme="light"] .biomarker-item.enhanced.high-priority {
	background: rgba(245, 158, 11, 0.05);
	border-color: rgba(245, 158, 11, 0.2);
}

[data-theme="light"] .biomarker-item.enhanced.medium-priority {
	background: rgba(59, 130, 246, 0.05);
	border-color: rgba(59, 130, 246, 0.2);
}

/* Biomarker Summary Dashboard */
.biomarker-summary {
	margin-bottom: var(--spacing-6);
}

.summary-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--spacing-4);
}

.summary-stat {
	background: var(--card-bg);
	border: none;
	border-radius: var(--rounded-lg);
	padding: var(--spacing-5);
	text-align: center;
	transition: all 0.3s ease;
}

.summary-stat:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.summary-stat.warning {
	border-left: 4px solid #f59e0b;
	background: rgba(245, 158, 11, 0.05);
}

.summary-stat.critical {
	border-left: 4px solid #ef4444;
	background: rgba(239, 68, 68, 0.05);
}

.summary-stat .stat-number {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: var(--spacing-1);
	display: block;
}

.summary-stat.warning .stat-number {
	color: #f59e0b;
}

.summary-stat.critical .stat-number {
	color: #ef4444;
}

.summary-stat .stat-label {
	font-size: 0.875rem;
	color: var(--text-light);
	font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
	.biomarker-info {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--spacing-3);
	}
	
	.biomarker-header {
		width: 100%;
		justify-content: space-between;
	}
	
	.biomarker-value {
		align-self: flex-start;
	}
	
	.biomarker-status {
		align-items: flex-start;
		width: 100%;
	}
	
	.summary-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--spacing-3);
	}
	
	.summary-stat {
		padding: var(--spacing-4);
	}
	
	.summary-stat .stat-number {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.biomarker-item.enhanced {
		padding: var(--spacing-4);
	}
	
	.biomarker-name {
		font-size: 0.9rem;
	}
	
	.value-number {
		font-size: 1.1rem;
	}
	
	.priority-badge {
		font-size: 0.65rem;
		padding: 3px 6px;
	}
	
	.summary-stats {
		grid-template-columns: 1fr;
	}
}

/* ========================================
   PREMIUM ANIMATIONS & INTERACTIVE FEATURES
   ======================================== */

/* Advanced Animation Keyframes */
@keyframes slideInFromLeft {
	0% {
		opacity: 0;
		transform: translateX(-50px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInFromRight {
	0% {
		opacity: 0;
		transform: translateX(50px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInFromBottom {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInScale {
	0% {
		opacity: 0;
		transform: scale(0.8);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes pulseGlow {
	0%, 100% {
		box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
	}
	50% {
		box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
	}
}

@keyframes shimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

@keyframes bounceIn {
	0% {
		opacity: 0;
		transform: scale(0.3);
	}
	50% {
		opacity: 1;
		transform: scale(1.05);
	}
	70% {
		transform: scale(0.9);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes rotateIn {
	0% {
		opacity: 0;
		transform: rotate(-180deg) scale(0.3);
	}
	100% {
		opacity: 1;
		transform: rotate(0deg) scale(1);
	}
}

@keyframes slideDown {
	0% {
		opacity: 0;
		max-height: 0;
		transform: translateY(-20px);
	}
	100% {
		opacity: 1;
		max-height: 1000px;
		transform: translateY(0);
	}
}

@keyframes slideUp {
	0% {
		opacity: 1;
		max-height: 1000px;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		max-height: 0;
		transform: translateY(-20px);
	}
}

/* Premium Interactive Elements */
.collapsible-section {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	margin-bottom: 1.5rem;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.collapsible-section:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

.collapsible-header {
	background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
	color: white;
	padding: 1.5rem;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.collapsible-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s ease;
}

.collapsible-header:hover::before {
	left: 100%;
}

.collapsible-header:hover {
	background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
	transform: translateY(-1px);
}

.collapsible-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.collapsible-icon {
	width: 24px;
	height: 24px;
	transition: transform 0.3s ease;
}

.collapsible-section.expanded .collapsible-icon {
	transform: rotate(180deg);
}

.collapsible-content {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	padding: 0 1.5rem;
}

.collapsible-section.expanded .collapsible-content {
	max-height: 2000px;
	opacity: 1;
	padding: 1.5rem;
}

/* Animated Cards */
.animated-card {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	padding: 1.5rem;
	margin-bottom: 1rem;
	transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
	position: relative;
	overflow: hidden;
	animation: slideInFromBottom 0.6s ease-out;
}

.animated-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.animated-card:hover::before {
	transform: scaleX(1);
}

.animated-card:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
	border-color: var(--accent-primary);
}

/* Premium Symptom Cards */
.symptom-item.enhanced {
	animation: slideInFromLeft 0.5s ease-out;
	animation-fill-mode: both;
}

.symptom-item.enhanced:nth-child(1) { animation-delay: 0.1s; }
.symptom-item.enhanced:nth-child(2) { animation-delay: 0.2s; }
.symptom-item.enhanced:nth-child(3) { animation-delay: 0.3s; }
.symptom-item.enhanced:nth-child(4) { animation-delay: 0.4s; }
.symptom-item.enhanced:nth-child(5) { animation-delay: 0.5s; }

.symptom-item.enhanced:hover {
	animation: pulseGlow 2s infinite;
}

/* Premium Biomarker Cards */
.biomarker-item {
	animation: slideInFromRight 0.5s ease-out;
	animation-fill-mode: both;
}

.biomarker-item:nth-child(1) { animation-delay: 0.1s; }
.biomarker-item:nth-child(2) { animation-delay: 0.2s; }
.biomarker-item:nth-child(3) { animation-delay: 0.3s; }
.biomarker-item:nth-child(4) { animation-delay: 0.4s; }
.biomarker-item:nth-child(5) { animation-delay: 0.5s; }

.biomarker-item:hover {
	animation: pulseGlow 2s infinite;
}

/* Premium Status Indicators */
.status-indicator {
	position: relative;
	overflow: hidden;
}

.status-indicator::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.6s ease;
}

.status-indicator:hover::before {
	left: 100%;
}

.status-indicator.critical {
	animation: pulseGlow 2s infinite;
}

/* Premium Progress Bars */
.pillar-progress-bar {
	position: relative;
	overflow: hidden;
}

.pillar-progress-bar::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	animation: shimmer 2s infinite;
}

.pillar-progress-bar .progress-fill {
	position: relative;
	z-index: 1;
}

/* Premium Score Circles */
.score-circle {
	position: relative;
	overflow: hidden;
}

.score-circle::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	animation: rotate 3s linear infinite;
}

.score-circle:hover {
	animation: bounceIn 0.6s ease-out;
}

/* Premium Milestone Timeline */
.milestone {
	position: relative;
	animation: slideInFromBottom 0.6s ease-out;
	animation-fill-mode: both;
}

.milestone:nth-child(1) { animation-delay: 0.1s; }
.milestone:nth-child(2) { animation-delay: 0.2s; }
.milestone:nth-child(3) { animation-delay: 0.3s; }
.milestone:nth-child(4) { animation-delay: 0.4s; }

.milestone::before {
	content: '';
	position: absolute;
	left: 20px;
	top: 60px;
	bottom: -30px;
	width: 2px;
	background: var(--border-color);
	z-index: 0;
}

.milestone:last-child::before {
	display: none;
}

.milestone.completed::before {
	background: var(--accent-primary);
}

.milestone-icon {
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}

.milestone:hover .milestone-icon {
	transform: scale(1.2) rotate(10deg);
}

/* Premium Program Cards */
.program-card {
	animation: fadeInScale 0.6s ease-out;
	animation-fill-mode: both;
}

.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.3s; }

.program-card.featured {
	animation: pulseGlow 3s infinite;
}

.program-card:hover {
	animation: bounceIn 0.6s ease-out;
}

/* Premium CTA Sections */
.symptom-tracking-cta,
.lab-cta,
.new-life-cta {
	position: relative;
	overflow: hidden;
	animation: slideInFromBottom 0.8s ease-out;
}

.symptom-tracking-cta::before,
.lab-cta::before,
.new-life-cta::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	animation: shimmer 3s infinite;
}

/* Premium Button Animations */
.btn {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
	text-wrap: auto;
	text-wrap-mode: wrap !important;
}

.btn::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
	width: 300px;
	height: 300px;
}

.btn-primary:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-secondary:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Premium Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, transparent, var(--glass-bg), transparent);
    border: none;
    border-radius: 4px;
    animation: shimmer 1.5s infinite;
}

/* Focus States - Enhanced */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
    border-radius: 8px;
}

/* Light Mode Specific Enhancements */
[data-theme="light"] .assessment-card,
[data-theme="light"] .coach-card,
[data-theme="light"] .program-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .symptom-stat-card,
[data-theme="light"] .summary-stat,
[data-theme="light"] .panel-stat {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .biomarker-item,
[data-theme="light"] .symptom-item.enhanced {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .biomarker-item:hover,
[data-theme="light"] .symptom-item.enhanced:hover {
    background: #f8fafc;
    border-color: var(--accent-primary);
}

[data-theme="light"] .goal-pill {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #1e293b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .goal-pill:hover {
    background: #ffffff;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: #000;
}

[data-theme="light"] .my-story-tab-nav {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-shadow: none !important;
    border: 1px solid transparent !important;
    background: none !important;
}

[data-theme="light"] .my-story-tab-nav a {
    color: #1a1a1a;
}

[data-theme="light"] .my-story-tab-nav a:hover {
    background: #f8fafc;
    color: var(--accent-primary);
}

[data-theme="light"] .vital-stats-display {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: none !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

[data-theme="light"] .vital-stat-item {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #1e293b;
}

[data-theme="light"] .vital-stat-item:hover {
    background: #f1f5f9;
    border-color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .symptoms-overview,
[data-theme="light"] .biomarkers-overview,
[data-theme="light"] .new-life-overview {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding-top: 0px !important;
}

.ennu-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.ennu-notification--show {
    transform: translateX(0);
}

.ennu-notification--success {
    background-color: #10b981;
}

.ennu-notification--error {
    background-color: #ef4444;
}

.ennu-notification--info {
    background-color: #3b82f6;
}

@media (max-width: 768px) {
    .ennu-dashboard-container {
        padding: 10px;
        margin: 0;
    }
    
    .pillar-scores-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .assessment-form {
        padding: 15px;
    }
    
    .biomarker-chart {
        height: 200px;
    }
    
    .ennu-tab-navigation {
        flex-direction: column;
        gap: 8px;
    }
    
    .ennu-tab-button {
        width: 100%;
        text-align: center;
    }
}

.ennu-button {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ennu-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ennu-input {
    min-height: 44px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.ennu-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .ennu-notification,
    .ennu-button,
    .ennu-input {
        transition: none;
    }
}

/* ========================================
   INLINE STYLE REPLACEMENTS
   ======================================== */

/* Error Messages */
.error-message {
	color: red;
	background: #fff3f3;
	padding: 20px;
	border: 2px solid #f00;
}

/* Progress Bar Fill */
.progress-fill {
	height: 100%;
	background: var(--accent-primary);
	border-radius: inherit;
	transition: width 0.6s ease;
}

/* Symptoms Summary Stats */
.symptoms-summary-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.stat-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	padding: 1rem;
	text-align: center;
	margin: 0.25rem;
}

.stat-number {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.stat-number.total-symptoms { color: #10b981; }
.stat-number.active-symptoms { color: #3b82f6; }
.stat-number.biomarker-correlations { color: #f59e0b; }
.stat-number.trending-symptoms { color: #8b5cf6; }

.stat-label {
	color: var(--text-light);
	font-weight: 500;
}

/* Biomarkers Header */
.biomarkers-header {
	text-align: center;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
}

.biomarkers-header-content {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: 20px;
	padding: 1.5rem;
	margin-bottom: 0.1rem;
}

.biomarkers-title {
	color: var(--text-dark);
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
	background: linear-gradient(135deg, #10b981, #059669);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.biomarkers-subtitle {
	color: var(--text-light);
	font-size: 1.1rem;
	line-height: 1.6;
	margin: 0;
	max-width: 600px;
	margin: 0 auto;
}

.biomarkers-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.biomarkers-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.biomarkers-action-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Biomarkers List */
.biomarkers-list {
	margin: 0;
}

.biomarkers-list-title {
	color: var(--text-dark);
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0;
	text-align: center;
}

.biomarker-categories {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 3rem;
}

/* Responsive grid for biomarker categories */
@media (max-width: 1199px) and (min-width: 769px) {
	.biomarker-categories {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}
}

.biomarker-category {
	border-radius: 16px;
	padding: 1.5rem;
	position: relative;
	overflow: visible;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
	border: 1px solid rgba(16, 185, 129, 0.2);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	min-height: 200px;
	display: flex;
	flex-direction: column;
}

.biomarker-category:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	border-color: rgba(16, 185, 129, 0.3);
}

.biomarker-category-header {
	display: flex;
	align-items: center;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.biomarker-category-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 0.75rem;
	flex-shrink: 0;
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.2);
}

.biomarker-category-icon span {
	font-size: 1.2rem;
}

.biomarker-category-info h4 {
	color: var(--text-dark);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 0.25rem 0;
	text-transform: capitalize;
	line-height: 1.3;
}

.biomarker-category-info p {
	color: var(--text-light);
	font-size: 0.85rem;
	margin: 0;
	line-height: 1.4;
}

.biomarker-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex: 1;
	overflow-y: auto;
	max-height: none;
}

.biomarker-item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 0.5rem 0.75rem;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 6px;
	border: 1px solid rgba(16, 185, 129, 0.1);
	margin-bottom: 0.25rem;
	transition: all 0.2s ease;
	min-height: 2.5rem;
	gap: 0.5rem;
}

.biomarker-item:hover {
	background: rgba(255, 255, 255, 0.8);
	border-color: rgba(16, 185, 129, 0.2);
}

.biomarker-name {
	color: var(--text-dark);
	font-size: 0.9rem;
	font-weight: 500;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	flex: 1;
	min-width: 0;
}

.biomarker-unit {
	color: var(--text-light);
	font-size: 0.8rem;
	white-space: nowrap;
	flex-shrink: 0;
	text-align: right;
}

/* Symptom Category Section */
.symptom-category-section {
	margin-bottom: 2rem;
}

.symptom-category-title {
	color: var(--text-dark);
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid rgba(16, 185, 129, 0.2);
}

.symptom-category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 1.5rem;
}

/* Symptom Card */
.symptom-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	padding: 1.5rem;
	position: relative;
}

.symptom-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.symptom-card-title {
	color: var(--text-dark);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
}

.symptom-severity-badge {
	color: white;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
	text-transform: uppercase;
}

.symptom-severity-badge.severe { background: #ef4444; }
.symptom-severity-badge.moderate { background: #f59e0b; }
.symptom-severity-badge.mild { background: #10b981; }

.symptom-description {
	color: var(--text-light);
	font-size: 0.9rem;
	margin: 0 0 1rem 0;
	line-height: 1.5;
}

.symptom-biomarkers-section {
	margin-bottom: 1rem;
}

.symptom-biomarkers-label {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.symptom-biomarkers-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.biomarker-tag {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
	font-size: 0.7rem;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	border: 1px solid rgba(59, 130, 246, 0.2);
}

.symptom-details-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}

.symptom-detail-item {
	/* Container for frequency and trend details */
}

.symptom-detail-label {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-bottom: 0.25rem;
}

.symptom-detail-value {
	font-size: 0.9rem;
	color: var(--text-dark);
	font-weight: 500;
}

.symptom-assessments-section {
	margin-bottom: 1rem;
}

.symptom-assessments-label {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
}

.symptom-assessments-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.assessment-tag {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
	font-size: 0.7rem;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	border: 1px solid rgba(16, 185, 129, 0.2);
}

.symptom-actions {
	display: flex;
	gap: 0.5rem;
}

.symptom-action-btn {
	font-size: 0.8rem;
	padding: 0.5rem 1rem;
}

/* Add Symptom Section */
.add-symptom-section {
	margin-top: 3rem;
	padding: 2rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
}

.add-symptom-title {
	color: var(--text-dark);
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.add-symptom-description {
	color: var(--text-light);
	font-size: 1rem;
	margin-bottom: 1.5rem;
}

.add-symptom-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
}

.add-symptom-form label {
	display: block;
	font-size: 0.9rem;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.add-symptom-form input,
.add-symptom-form select {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-dark);
}

.add-symptom-form .form-submit {
	grid-column: 1 / -1;
}

.add-symptom-form .form-submit button {
	width: 100%;
	padding: 1rem;
	font-weight: 600;
}

/* No Symptoms State */
.no-symptoms-state {
	text-align: center;
	padding: 3rem 2rem;
}

.no-symptoms-icon {
	font-size: 4rem;
	color: #10b981;
	margin-bottom: 1rem;
}

.no-symptoms-title {
	color: var(--text-dark);
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
}

.no-symptoms-description {
	color: var(--text-light);
	font-size: 1.1rem;
	line-height: 1.6;
	margin: 0 0 2rem 0;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.no-symptoms-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Biomarkers Container */
.biomarkers-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}

/* User Biomarker Data */
.user-biomarker-data {
	margin-bottom: 3rem;
}

.user-biomarker-header {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
	border: 1px solid rgba(59, 130, 246, 0.2);
	border-radius: 20px;
	padding: 2rem;
	margin-bottom: 2rem;
}

.user-biomarker-header-content {
	display: flex;
	align-items: center;
	margin-bottom: 1.5rem;
}

.user-biomarker-header-icon {
	width: 20px;
	height: 20px;
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	border-radius: 50%;
	margin-right: 1rem;
	flex-shrink: 0;
}

.user-biomarker-header-title {
	color: var(--text-dark);
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
}

.user-biomarker-description {
	color: var(--text-light);
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.user-biomarker-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 1.5rem;
}

/* Biomarker Result Card */
.biomarker-result-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	padding: 1.5rem;
	position: relative;
}

.biomarker-result-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.biomarker-result-title {
	color: var(--text-dark);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
}

.biomarker-result-status {
	color: white;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
	text-transform: uppercase;
}

.biomarker-result-status.optimal { background: #10b981; }
.biomarker-result-status.suboptimal { background: #f59e0b; }
.biomarker-result-status.critical { background: #ef4444; }

.biomarker-flags {
	margin-bottom: 1rem;
}

.biomarker-flags-label {
	font-size: 0.8rem;
	color: #ef4444;
	margin-bottom: 0.25rem;
}

.biomarker-flag-reason {
	font-size: 0.8rem;
	color: var(--text-light);
}

.biomarker-current-value {
	margin-bottom: 1rem;
}

.biomarker-current-label {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-bottom: 0.25rem;
}

.biomarker-current-display {
	font-size: 1.1rem;
	color: var(--text-dark);
	font-weight: 600;
}

.biomarker-range {
	margin-bottom: 1rem;
}

.biomarker-range-label {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-bottom: 0.25rem;
}

.biomarker-range-display {
	font-size: 0.9rem;
	color: var(--text-dark);
	font-weight: 500;
}

.biomarker-target {
	margin-bottom: 1rem;
}

.biomarker-target-label {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-bottom: 0.25rem;
}

.biomarker-target-display {
	font-size: 0.9rem;
	color: var(--text-dark);
	font-weight: 500;
}

.biomarker-test-date {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-bottom: 1rem;
}

.biomarker-result-actions {
	display: flex;
	gap: 0.5rem;
}

.biomarker-result-btn {
	font-size: 0.8rem;
	padding: 0.5rem 1rem;
}

/* Flagged Biomarkers Section */
.flagged-biomarkers-section {
	margin-bottom: 3rem;
}

.flagged-biomarkers-header {
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
	border: 1px solid rgba(239, 68, 68, 0.2);
	border-radius: 20px;
	padding: 2rem;
	margin-bottom: 2rem;
}

.flagged-biomarkers-header-content {
	display: flex;
	align-items: center;
	margin-bottom: 1.5rem;
}

.flagged-biomarkers-header-icon {
	width: 20px;
	height: 20px;
	background: linear-gradient(135deg, #ef4444, #dc2626);
	border-radius: 50%;
	margin-right: 1rem;
	flex-shrink: 0;
}

.flagged-biomarkers-title {
	color: var(--text-dark);
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
}

.flagged-biomarkers-description {
	color: var(--text-light);
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.flagged-biomarkers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

/* Flagged Biomarker Card */
.flagged-biomarker-card {
	background: rgba(239, 68, 68, 0.05);
	border: 1px solid rgba(239, 68, 68, 0.2);
	border-radius: 15px;
	padding: 1.5rem;
	position: relative;
	overflow: hidden;
}

.flagged-biomarker-header {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.flagged-biomarker-icon {
	color: #ef4444;
	font-size: 1.5rem;
	margin-right: 0.75rem;
}

.flagged-biomarker-title {
	color: var(--text-dark);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
}

.flagged-biomarker-reason {
	color: var(--text-light);
	font-size: 0.9rem;
	margin: 0 0 1rem 0;
	line-height: 1.5;
}

.flagged-biomarker-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.flagged-biomarker-date {
	font-size: 0.8rem;
	color: var(--text-secondary);
}

.flagged-biomarker-severity {
	color: white;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
	text-transform: uppercase;
}

.flagged-biomarker-severity.high { background: #ef4444; }
.flagged-biomarker-severity.moderate { background: #f59e0b; }

/* No Flagged Biomarkers State */
.no-flagged-biomarkers {
	text-align: center;
	padding: 2rem;
}

.no-flagged-biomarkers-icon {
	font-size: 3rem;
	color: #10b981;
	margin-bottom: 1rem;
}

.no-flagged-biomarkers-title {
	color: var(--text-dark);
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 0.5rem 0;
}

.no-flagged-biomarkers-description {
	color: var(--text-light);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
}

/* Assessment Trends Section */
.assessment-trends-section {
	margin: 2rem 0;
}

.assessment-trends-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
}

.assessment-trend-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 1.5rem;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 1rem;
}

.assessment-trend-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.assessment-trend-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: #1f2937;
}

.assessment-date {
	font-size: 0.875rem;
	color: #6b7280;
	background: #f3f4f6;
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
}

.assessment-score-display {
	text-align: center;
	margin: 0 !important;
}

.score-circle {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 3px solid;
	margin: 1rem 0;
}

.score-circle.excellent {
	background: linear-gradient(135deg, #10b981, #059669);
	border-color: #10b981;
	color: white;
}

.score-circle.good {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	border-color: #f59e0b;
	color: white;
}

.score-circle.needs-improvement {
	background: linear-gradient(135deg, #ef4444, #dc2626);
	border-color: #ef4444;
	color: white;
}

.score-value {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.score-label {
	font-size: 0.75rem;
	font-weight: 500;
	opacity: 0.9;
}

.category-breakdown {
	margin: 1rem 0;
	padding-top: 1rem;
	border-top: 1px solid #e5e7eb;
}

.category-breakdown-title {
	margin: 0 0 0.75rem 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: #1f2937;
}

.category-scores {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0.5rem;
}

.category-score-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem;
	border-radius: 6px;
	font-size: 0.8rem;
}

.category-score-item.excellent {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
}

.category-score-item.good {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}

.category-score-item.needs-improvement {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}

.category-name {
	font-weight: 500;
}

.category-value {
	font-weight: 700;
}

.assessment-actions {
	margin-top: 1rem;
	text-align: center;
}

.assessment-actions .btn-outline {
	background: transparent;
	color: #3b82f6;
	padding: 0.5rem 1rem;
	border: 1px solid #3b82f6;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

/* Trend Insights Section */
.trend-insights-section {
	margin: 2rem 0;
}

.trend-insights-title {
	margin: 0 0 1rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #1f2937;
}

.insights-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.insight-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: #ffffff;
	border-radius: 12px;
	padding: 1.5rem;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.insight-icon {
	font-size: 2rem;
	flex-shrink: 0;
}

.insight-content h4 {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
	font-weight: 600;
	color: #1f2937;
}

.insight-content p {
	margin: 0;
	font-size: 0.9rem;
	color: #6b7280;
	line-height: 1.4;
}

/* No Trends State */
.trends-content {
	/* Container for no trends message */
}

.no-trends-message {
	text-align: center;
	padding: 3rem 2rem;
}

.no-trends-icon {
	font-size: 4rem;
	color: #10b981;
	margin-bottom: 1rem;
}

.no-trends-title {
	color: var(--text-dark);
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
}

.no-trends-description {
	color: var(--text-light);
	font-size: 1.1rem;
	line-height: 1.6;
	margin: 0 0 2rem 0;
}

.no-trends-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* Responsive Design for New Classes */
@media (max-width: 768px) {
	.symptoms-summary-stats,
	.biomarkers-stats-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 1rem;
	}
	
	.symptom-category-grid,
	.user-biomarker-grid,
	.flagged-biomarkers-grid {
		grid-template-columns: 1fr;
	}
	
	.biomarker-categories {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.biomarkers-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
		min-width: 0;
		width: 100%;
	}
	
	.biomarker-category {
		width: 100%;
		padding: 0.75rem;
	}
	
	.biomarker-measurement {
		width: 100%;
		padding: 0.75rem;
	}
	
	.biomarker-range-container {
		padding: 0 4px;
	}
	
	.biomarker-range-labels {
		padding: 0 4px;
	}
	
	.symptom-details-grid {
		grid-template-columns: 1fr;
	}
	
	.add-symptom-form {
		grid-template-columns: 1fr;
	}
	
	/* Unified Stats Responsive Design */
	.symptoms-summary-stats,
	.biomarkers-stats-row,
	.assessment-cards-container .progress-summary {
		flex-direction: column;
		gap: 1rem;
		padding: 1rem;
		height: auto;
	}
	
	.symptoms-summary-stats .stat-card,
	.biomarkers-stats-row .stat-item,
	.assessment-cards-container .progress-summary .stat-item {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		padding: 0.5rem 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		min-width: auto;
		width: 100%;
		height: auto;
	}
	
	.symptoms-summary-stats .stat-card:last-child,
	.biomarkers-stats-row .stat-item:last-child,
	.assessment-cards-container .progress-summary .stat-item:last-child {
		border-bottom: none;
	}
	
	.biomarkers-actions {
		flex-direction: column;
		gap: 1rem;
	}
	
	.biomarkers-actions .btn {
		max-width: none;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.stat-card,
	.biomarker-result-card,
	.flagged-biomarker-card {
		padding: 1rem;
	}
	
	.biomarkers-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
		min-width: 0;
	}
	
	.biomarkers-title {
		font-size: 2rem;
	}
	
	.symptom-card-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
	
	.symptom-actions {
		flex-direction: column;
	}
	
	.no-symptoms-actions,
	.no-trends-actions {
		flex-direction: column;
		align-items: center;
	}
}

/* Biomarker Measurement Component Styles */
/* ====================================== */

/* Main Measurement Container */
.biomarker-measurement {
	margin-top: 0;
	padding: 0 1rem 1rem;
	background: rgb(255 255 255 / 5%);
	border-radius: 8px;
	border: 1px solid rgba(16, 185, 129, 0.1);
	transition: all 0.3s ease;
	overflow: visible;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
	max-width: none;
}

.biomarker-measurement:hover {
	background: rgba(16, 185, 129, 0.08);
	border-color: rgba(16, 185, 129, 0.2);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

/* Measurement Header */
.biomarker-measurement-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 1rem 0;
}

.biomarker-measurement-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0;
}

.biomarker-measurement-icons {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* Flag Icon */
.biomarker-flag-icon {
	color: #ef4444;
	font-size: 1rem;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.biomarker-flag-icon:hover {
	transform: scale(1.1);
}

/* Info Icon */
.biomarker-info-icon {
	width: 16px;
	height: 16px;
	background: rgba(16, 185, 129, 0.2);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-left: 0.5rem;
	transition: all 0.2s ease;
}

.biomarker-info-icon:hover {
	background: rgba(16, 185, 129, 0.3);
	transform: scale(1.1);
}

.biomarker-info-icon::before {
	content: "i";
	font-size: 0.7rem;
	font-weight: bold;
	color: #10b981;
}

/* Range Bar Container */
.biomarker-range-container {
	position: relative;
	margin: 0.5rem 0;
	overflow: visible;
	padding: 0 8px;
	width: 100%;
	box-sizing: border-box;
}

/* Color-coded Range Bar */
.biomarker-range-bar {
	height: 8px;
	background: linear-gradient(90deg, #EF4444 0%, #F59E0B 25%, #3B82F6 50%, #1E40AF 100%);
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 4px;
}

/* Range Bar Labels */
.biomarker-range-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 0.25rem;
	overflow: visible;
	position: relative;
	width: 100%;
	padding: 0 8px;
	min-width: 0;
}

.biomarker-range-label {
	font-size: 0.7rem;
	color: var(--text-light);
	font-weight: 500;
	white-space: nowrap;
	overflow: visible;
	text-overflow: clip;
	min-width: 0;
	flex-shrink: 0;
	max-width: none;
	word-break: keep-all;
	padding: 0 2px;
}

/* Current Value Marker */
.biomarker-current-marker {
	width: 16px;
	height: 16px;
	background: #3b82f6;
	border: 2px solid white;
	border-radius: 50%;
	position: absolute;
	top: -4px;
	transform: translateX(-50%);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	z-index: 2;
	transition: all 0.3s ease;
}

.biomarker-current-marker:hover {
	transform: translateX(-50%) scale(1.2);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Target Value Marker */
.biomarker-target-marker {
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 12px solid #10b981;
	position: absolute;
	top: -2px;
	transform: translateX(-50%);
	z-index: 3;
	transition: all 0.3s ease;
}

.biomarker-target-marker:hover {
	transform: translateX(-50%) scale(1.1);
}

/* Value Display - OLD (Hidden) */
.biomarker-values-display {
	display: none; /* Replaced with compact design */
}

.biomarker-current-value,
.biomarker-target-value {
	display: none; /* Replaced with compact design */
}

.biomarker-value-label {
	display: none; /* Replaced with compact design */
}

.biomarker-value-display {
	display: none; /* Replaced with compact design */
}

.biomarker-current-value .biomarker-value-display {
	display: none; /* Replaced with compact design */
}

.biomarker-target-value .biomarker-value-display {
	display: none; /* Replaced with compact design */
}

/* Status Display - OLD (Hidden) */
.biomarker-status-display {
	display: none; /* Replaced with compact design */
}

.biomarker-status-text {
	display: none; /* Replaced with compact design */
}

.biomarker-status-text.below-optimal {
	display: none; /* Replaced with compact design */
}

.biomarker-status-text.optimal {
	display: none; /* Replaced with compact design */
}

.biomarker-status-text.above-optimal {
	display: none; /* Replaced with compact design */
}

/* Health Vector Badge - OLD (Hidden) */
.biomarker-health-vector {
	display: none; /* Replaced with compact design */
}

.biomarker-health-vector-text {
	display: none; /* Replaced with compact design */
}

/* Achievement Status - OLD (Hidden) */
.biomarker-achievement {
	display: none; /* Replaced with compact design */
}

.biomarker-achievement-icon {
	display: none; /* Replaced with compact design */
}

.biomarker-achievement-icon.achieved {
	display: none; /* Replaced with compact design */
}

.biomarker-achievement-icon.in-progress {
	background: #f59e0b;
}

.biomarker-achievement-icon.educational {
	background: #3b82f6;
}

.biomarker-achievement-icon::before {
	font-size: 0.6rem;
	color: white;
	font-weight: bold;
}

.biomarker-achievement-icon.achieved::before {
	content: "✓";
}

.biomarker-achievement-icon.in-progress::before {
	content: "→";
}

.biomarker-achievement-icon.educational::before {
	content: "📚";
}

.biomarker-achievement-text {
	font-size: 0.8rem;
	color: var(--text-dark);
	font-weight: 500;
}

/* Admin Override Indicator */
.biomarker-override-indicator {
	margin-top: 0.5rem;
	padding: 0.25rem 0.5rem;
	background: rgba(245, 158, 11, 0.1);
	border-radius: 4px;
	border-left: 2px solid #f59e0b;
}

.biomarker-override-text {
	font-size: 0.7rem;
	color: #f59e0b;
	font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
	.biomarker-measurement {
		padding: 0.75rem;
		margin-top: 0;
	}

	.biomarker-measurement-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.biomarker-measurement-icons {
		align-self: flex-end;
	}

	.biomarker-values-display {
		flex-direction: column;
		gap: 0.5rem;
	}

	.biomarker-current-value,
	.biomarker-target-value {
		align-items: flex-start;
	}
}

@media (max-width: 480px) {
	.biomarker-measurement {
		padding: 0.5rem;
		overflow: visible;
	}

	.biomarker-range-bar {
		height: 6px;
	}

	.biomarker-current-marker {
		width: 14px;
		height: 14px;
		top: -4px;
	}

	.biomarker-target-marker {
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
		border-bottom: 10px solid #10b981;
		top: -2px;
	}

	.biomarker-range-labels {
		font-size: 0.6rem;
		overflow: visible;
	}

	.biomarker-range-label {
		font-size: 0.6rem;
		white-space: nowrap;
		overflow: visible;
	}

	.biomarker-values-display {
		font-size: 0.75rem;
	}
}

/* ========================================
   NO DATA STATE STYLES
   ======================================== */

/* No data value display */
.biomarker-value-display.no-data {
	color: var(--text-light);
	font-style: italic;
	opacity: 0.7;
}

.biomarker-value-display.educational {
	color: var(--accent-primary);
	font-weight: 500;
}

.educational-label {
	font-size: 0.7rem;
	color: var(--text-light);
	font-weight: normal;
	font-style: italic;
}

/* No data status styling */
.biomarker-status-text.no-data {
	color: var(--text-light);
	font-style: italic;
	background: rgba(156, 163, 175, 0.1);
	border: 1px solid rgba(156, 163, 175, 0.2);
}

/* Biomarker measurement with no data */
.biomarker-measurement:not(.has-data) {
	opacity: 0.8;
	border-color: rgba(16, 185, 129, 0.05);
}

.biomarker-measurement:not(.has-data):hover {
	opacity: 1;
	border-color: rgba(16, 185, 129, 0.15);
}

/* Range bar when no current value */
.biomarker-range-bar:not(.has-current-value) {
	background: linear-gradient(90deg, #9CA3AF 0%, #6B7280 50%, #4B5563 100%);
	opacity: 0.6;
}

/* ========================================
   BIOMARKER LIST EXPAND/COLLAPSE STYLES
   ======================================== */

/* Biomarker List Item Expand/Collapse Styles */
.biomarker-list-item {
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	padding: 0.75rem;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(16, 185, 129, 0.1);
	margin-bottom: 0.5rem;
}

.biomarker-list-item:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(16, 185, 129, 0.2);
	transform: translateY(-1px);
}

.biomarker-list-item.expanded {
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.3);
}

.biomarker-list-name {
	color: var(--text-dark);
	font-size: 0.9rem;
	font-weight: 500;
	margin-right: 0.5rem;
}

.biomarker-list-unit {
	color: var(--text-light);
	font-size: 0.8rem;
}

.biomarker-list-expand {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.3s ease;
	font-size: 12px;
	color: #888;
}

.biomarker-list-item.expanded .biomarker-list-expand {
	transform: translateY(-50%) rotate(90deg);
}

.biomarker-measurement-container {
	margin: 10px 0;
	padding: 15px;
	background: rgba(255, 255, 255, 0.02);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	animation: slideDown 0.3s ease;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
	overflow: visible;
}

.biomarker-measurement-content {
	width: 100%;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive Design for Biomarker List */
@media (max-width: 768px) {
	.biomarker-list-item {
		padding: 0.5rem;
	}
	
	.biomarker-list-name {
		font-size: 0.85rem;
	}
	
	.biomarker-list-unit {
		font-size: 0.75rem;
	}
	
	.biomarker-measurement-container {
		padding: 10px;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
		overflow: hidden;
	}
}

@media (max-width: 480px) {
	.biomarker-list-item {
		padding: 0.4rem;
	}
	
	.biomarker-list-expand {
		right: 8px;
		font-size: 10px;
	}
}

/* Animation for marker positioning */
@keyframes markerSlideIn {
	from {
		opacity: 0;
		transform: translateX(-50%) scale(0.8);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) scale(1);
	}
}

.biomarker-current-marker,
.biomarker-target-marker {
	animation: markerSlideIn 0.5s ease-out;
}

/* Hover effects for interactive elements */
.biomarker-measurement:hover .biomarker-range-bar {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.biomarker-measurement:hover .biomarker-current-marker {
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.biomarker-measurement:hover .biomarker-target-marker {
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Accessibility improvements */
.biomarker-measurement:focus-within {
	outline: 2px solid #10b981;
	outline-offset: 2px;
}

.biomarker-info-icon:focus,
.biomarker-flag-icon:focus {
	outline: 2px solid #10b981;
	outline-offset: 2px;
	border-radius: 50%;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
	.biomarker-measurement {
		border: 2px solid #10b981;
	}

	.biomarker-current-marker {
		border: 3px solid white;
	}

	.biomarker-range-bar {
		border: 1px solid #000;
	}
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.biomarker-measurement,
	.biomarker-current-marker,
	.biomarker-target-marker,
	.biomarker-info-icon,
	.biomarker-flag-icon {
		transition: none;
		animation: none;
	}
}

/* ========================================
   MASTER TOGGLE BUTTON STYLES
   ======================================== */

.biomarker-master-toggle {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	border: 1px solid rgba(16, 185, 129, 0.1);
	backdrop-filter: blur(10px);
}

.master-toggle-btn {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1.5rem;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
	border: 2px solid rgba(16, 185, 129, 0.2);
	border-radius: 8px;
	color: var(--text-dark);
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	cursor: pointer;
	backdrop-filter: blur(10px);
}

.master-toggle-btn:hover {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.1));
	border-color: rgba(16, 185, 129, 0.3);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.master-toggle-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

.toggle-icon {
	font-size: 1rem;
	transition: transform 0.3s ease;
}

.toggle-text {
	white-space: nowrap;
}

/* Responsive design for master toggle */
@media (max-width: 768px) {
	.biomarker-master-toggle {
		margin-bottom: 1.5rem;
		padding: 0.75rem;
	}
	
	.master-toggle-btn {
		padding: 0.6rem 1.2rem;
		font-size: 0.85rem;
		gap: 0.5rem;
	}
	
	.toggle-icon {
		font-size: 0.9rem;
	}
}

@media (max-width: 480px) {
	.biomarker-master-toggle {
		margin-bottom: 1rem;
		padding: 0.5rem;
	}
	
	.master-toggle-btn {
		padding: 0.5rem 1rem;
		font-size: 0.8rem;
		gap: 0.4rem;
	}
	
	.toggle-text {
		font-size: 0.75rem;
	}
}

/* ===== ENHANCED BIOMARKER RULER WITH ANIMATIONS ===== */
/* Modern, Clean, Intuitive Design with Smart Features */

/* Toggle animations for ruler container */
.biomarker-range-ruler-container {
	margin: 2rem 0;
	position: relative;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border-radius: 16px;
	padding: 2rem;
	box-shadow: 
		0 4px 6px -1px rgba(0, 0, 0, 0.1),
		0 2px 4px -1px rgba(0, 0, 0, 0.06),
		0 0 0 1px rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(226, 232, 240, 0.8);
	backdrop-filter: blur(10px);
	opacity: 0;
	transform: translateY(20px);
	animation: rulerSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animation keyframes for ruler entrance */
@keyframes rulerSlideIn {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Animation keyframes for ruler exit */
@keyframes rulerSlideOut {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	100% {
		opacity: 0;
		transform: translateY(-20px);
	}
}

/* Apply exit animation when container is being removed */
.biomarker-range-ruler-container.removing {
	animation: rulerSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Main ruler track - sleek and modern */
.biomarker-range-ruler {
	position: relative;
	height: 32px;
	background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
	border-radius: 16px;
	margin-bottom: 1.5rem;
	box-shadow: 
		inset 0 2px 4px rgba(0, 0, 0, 0.06),
		0 1px 3px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Range segments with growth animations */
.biomarker-range-segment {
	position: absolute;
	height: 100%;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	background-blend-mode: overlay;
	opacity: 0;
	transform: scaleX(0);
	transform-origin: left center;
	animation: rangeGrowIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Growth animation for range segments */
@keyframes rangeGrowIn {
	0% {
		opacity: 0;
		transform: scaleX(0);
	}
	50% {
		opacity: 0.7;
		transform: scaleX(0.5);
	}
	100% {
		opacity: 1;
		transform: scaleX(1);
	}
}

/* Exit animation for range segments */
@keyframes rangeGrowOut {
	0% {
		opacity: 1;
		transform: scaleX(1);
	}
	50% {
		opacity: 0.7;
		transform: scaleX(0.5);
	}
	100% {
		opacity: 0;
		transform: scaleX(0);
	}
}

/* Apply exit animation when segment is being removed */
.biomarker-range-segment.removing {
	animation: rangeGrowOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.biomarker-range-segment.critical-range {
	background: linear-gradient(135deg, 
		rgba(239, 68, 68, 0.9) 0%, 
		rgba(248, 113, 113, 0.8) 50%, 
		rgba(252, 165, 165, 0.7) 100%);
	box-shadow: inset 0 1px 3px rgba(239, 68, 68, 0.3);
	animation-delay: 0s; /* First to animate */
}

.biomarker-range-segment.normal-range {
	background: linear-gradient(135deg, 
		rgba(249, 115, 22, 0.9) 0%, 
		rgba(251, 146, 60, 0.8) 50%, 
		rgba(253, 186, 116, 0.7) 100%);
	box-shadow: inset 0 1px 3px rgba(249, 115, 22, 0.3);
	animation-delay: 0.2s; /* Second to animate */
}

.biomarker-range-segment.optimal-range {
	background: linear-gradient(135deg, 
		rgba(34, 197, 94, 0.9) 0%, 
		rgba(74, 222, 128, 0.8) 50%, 
		rgba(134, 239, 172, 0.7) 100%);
	box-shadow: inset 0 1px 3px rgba(34, 197, 94, 0.3);
	position: relative;
	overflow: hidden;
	animation-delay: 0.4s; /* Staggered delay for optimal range */
}

/* Continuous radiant glow for optimal range */
.biomarker-range-segment.optimal-range::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, 
		transparent 0%, 
		rgba(255, 255, 255, 0.3) 50%, 
		transparent 100%);
	animation: radiantGlow 3s ease-in-out infinite;
	z-index: 1;
}

/* Radiant glow animation */
@keyframes radiantGlow {
	0% {
		left: -100%;
	}
	50% {
		left: 100%;
	}
	100% {
		left: 100%;
	}
}

/* Enhanced glow effect for optimal range */
.biomarker-range-segment.optimal-range::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at center, 
		rgba(34, 197, 94, 0.2) 0%, 
		transparent 70%);
	animation: pulseGlow 2s ease-in-out infinite;
	z-index: 0;
}

/* Pulse glow animation */
@keyframes pulseGlow {
	0%, 100% {
		opacity: 0.3;
		transform: scale(1);
	}
	50% {
		opacity: 0.6;
		transform: scale(1.05);
	}
}

/* Premium Enhanced Marker Dots with Advanced Styling */
.biomarker-current-dot,
.biomarker-target-dot {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 4px solid #ffffff;
	box-shadow: 
		0 8px 25px rgba(0, 0, 0, 0.2),
		0 4px 12px rgba(0, 0, 0, 0.15),
		0 0 0 2px rgba(255, 255, 255, 0.9),
		inset 0 2px 4px rgba(255, 255, 255, 0.8);
	z-index: 10;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	animation: dotPulse 3s ease-in-out infinite;
}

/* Enhanced pulse animation for dots */
@keyframes dotPulse {
	0%, 100% {
		transform: translate(-50%, -50%) scale(1);
		box-shadow: 
			0 8px 25px rgba(0, 0, 0, 0.2),
			0 4px 12px rgba(0, 0, 0, 0.15),
			0 0 0 2px rgba(255, 255, 255, 0.9),
			inset 0 2px 4px rgba(255, 255, 255, 0.8);
	}
	50% {
		transform: translate(-50%, -50%) scale(1.15);
		box-shadow: 
			0 12px 35px rgba(0, 0, 0, 0.25),
			0 6px 18px rgba(0, 0, 0, 0.2),
			0 0 0 2px rgba(255, 255, 255, 0.9),
			inset 0 2px 4px rgba(255, 255, 255, 0.8);
	}
}

.biomarker-current-dot {
	background: linear-gradient(135deg, #4b5563 0%, #6b7280 50%, #9ca3af 100%);
	position: relative;
}

.biomarker-current-dot::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(107, 114, 128, 0.8);
	box-shadow: 0 0 8px rgba(107, 114, 128, 0.4);
}

.biomarker-target-dot {
	background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
	position: relative;
	border: 4px solid #3b82f6;
	animation: targetDotGlow 2s ease-in-out infinite;
}

.biomarker-target-dot::before {
	content: '';
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
	box-shadow: 0 0 12px rgba(59, 130, 246, 0.8);
	vertical-align: middle;
	line-height: 1;
}

/* Special glow animation for target dots */
@keyframes targetDotGlow {
	0%, 100% {
		border-color: #3b82f6;
		box-shadow: 
			0 8px 25px rgba(0, 0, 0, 0.2),
			0 4px 12px rgba(0, 0, 0, 0.15),
			0 0 0 2px rgba(255, 255, 255, 0.9),
			inset 0 2px 4px rgba(255, 255, 255, 0.8),
			0 0 0 4px rgba(59, 130, 246, 0.3);
	}
	50% {
		border-color: #1d4ed8;
		box-shadow: 
			0 12px 35px rgba(0, 0, 0, 0.25),
			0 6px 18px rgba(0, 0, 0, 0.2),
			0 0 0 2px rgba(255, 255, 255, 0.9),
			inset 0 2px 4px rgba(255, 255, 255, 0.8),
			0 0 0 8px rgba(59, 130, 246, 0.5);
	}
}

.biomarker-current-dot:hover,
.biomarker-target-dot:hover {
	transform: translate(-50%, -50%) scale(1.15);
	box-shadow: 
		0 8px 25px rgba(0, 0, 0, 0.2),
		0 4px 8px rgba(0, 0, 0, 0.15),
		0 0 0 1px rgba(255, 255, 255, 0.9);
}

/* Clean, modern value labels */
.biomarker-dot-label {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
	color: #ffffff;
	padding: 0.5rem 0.75rem;
	border-radius: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
	z-index: 20;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.biomarker-current-dot:hover .biomarker-dot-label,
.biomarker-target-dot:hover .biomarker-dot-label {
	opacity: 1;
}

/* Smart Range Labels with Anti-Clustering System */
.biomarker-range-labels {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: 1.5rem;
	position: relative;
	overflow: visible;
	flex-wrap: wrap;
	min-height: 80px;
}

/* Smart label positioning to prevent clustering */
.biomarker-range-label {
	position: relative;
	transform: translateY(0);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	max-width: 120px;
}

/* Default staggered positioning */
.biomarker-range-label:nth-child(odd) {
	transform: translateY(0);
}

.biomarker-range-label:nth-child(even) {
	transform: translateY(-8px);
}

.biomarker-range-label:nth-child(3n) {
	transform: translateY(8px);
}

/* Smart clustering detection and prevention */
.biomarker-range-label.clustered {
	position: absolute !important;
	top: -50px !important;
	transform: translateY(0) !important;
	z-index: 20 !important;
	background: rgba(249, 250, 251, 0.95) !important;
	backdrop-filter: blur(8px) !important;
	box-shadow: 
		0 4px 12px rgba(0, 0, 0, 0.15),
		0 2px 4px rgba(0, 0, 0, 0.1) !important;
	border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

/* Enhanced hover effects for smart labels */
.biomarker-range-label:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 
		0 8px 25px rgba(0, 0, 0, 0.15),
		0 4px 8px rgba(0, 0, 0, 0.1);
	z-index: 15;
}

.biomarker-range-label.clustered:hover {
	transform: translateY(-2px) scale(1.05) !important;
	z-index: 25 !important;
}

.biomarker-range-label {
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	color: #374151;
	padding: 0.75rem 1rem;
	border-radius: 12px;
	font-size: 0.85rem;
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
	box-shadow: 
		0 2px 4px rgba(0, 0, 0, 0.05),
		0 0 0 1px rgba(148, 163, 184, 0.1);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
	max-width: 90px;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	hyphens: auto;
	position: relative;
}

.biomarker-range-label::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	border-radius: 12px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.biomarker-range-label.critical {
	background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
	color: #dc2626;
	border: 1px solid rgba(239, 68, 68, 0.15);
}

.biomarker-range-label.normal {
	background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
	color: #ea580c;
	border: 1px solid rgba(249, 115, 22, 0.15);
}

.biomarker-range-label.optimal {
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	color: #16a34a;
	border: 1px solid rgba(34, 197, 94, 0.15);
}

.biomarker-range-label:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 
		0 8px 25px rgba(0, 0, 0, 0.12),
		0 4px 8px rgba(0, 0, 0, 0.08),
		0 0 0 1px rgba(148, 163, 184, 0.2);
}

.biomarker-range-label:hover::before {
	opacity: 1;
}

/* Focus states for accessibility */
.biomarker-range-label:focus-visible {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
	transform: translateY(-1px);
}

.biomarker-range-label.critical:focus-visible {
	outline-color: #dc2626;
}

.biomarker-range-label.normal:focus-visible {
	outline-color: #ea580c;
}

.biomarker-range-label.optimal:focus-visible {
	outline-color: #16a34a;
}

/* Enhanced ruler notches - positioned behind the bar */
.biomarker-ruler-notches {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1; /* Put notches behind the range segments */
}

.biomarker-notch {
	position: absolute;
	top: 0;
	width: 2px;
	height: 100%;
	background: rgba(0, 0, 0, 0.15);
	border-radius: 1px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.biomarker-notch.critical-min,
.biomarker-notch.critical-max {
	display: none; /* Remove first and last notches */
}

.biomarker-notch.normal-min,
.biomarker-notch.normal-max {
	background: linear-gradient(180deg, 
		rgba(234, 88, 12, 0.8) 0%, 
		rgba(234, 88, 12, 0.6) 50%, 
		rgba(234, 88, 12, 0.4) 100%);
	width: 3px;
	box-shadow: 
		0 0 6px rgba(234, 88, 12, 0.3),
		0 0 2px rgba(234, 88, 12, 0.2);
}

.biomarker-notch.optimal-min,
.biomarker-notch.optimal-max {
	background: linear-gradient(180deg, 
		rgba(22, 163, 74, 0.8) 0%, 
		rgba(22, 163, 74, 0.6) 50%, 
		rgba(22, 163, 74, 0.4) 100%);
	width: 3px;
	box-shadow: 
		0 0 6px rgba(22, 163, 74, 0.3),
		0 0 2px rgba(22, 163, 74, 0.2);
}

.biomarker-current-dot,
.biomarker-target-dot {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 24px;
	height: 24px;
	z-index: 10;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.biomarker-current-dot {
	border-radius: 50%;
	border: 4px solid #ffffff;
	background: linear-gradient(135deg, #3b82f6, #1d4ed8);
	box-shadow: 
		0 4px 12px rgba(59, 130, 246, 0.4), 
		inset 0 1px 3px rgba(255, 255, 255, 0.3),
		0 0 0 2px rgba(59, 130, 246, 0.2);
	cursor: pointer;
}

.biomarker-target-dot {
	border-radius: 50%;
	border: 4px solid #ffffff;
	background: linear-gradient(135deg, #8b5cf6, #7c3aed);
	box-shadow: 
		0 4px 12px rgba(139, 92, 246, 0.4), 
		inset 0 1px 3px rgba(255, 255, 255, 0.3),
		0 0 0 2px rgba(139, 92, 246, 0.2);
	cursor: pointer;
}

.biomarker-current-dot:hover,
.biomarker-target-dot:hover {
	transform: translate(-50%, -50%) scale(1.3);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 1px 3px rgba(255, 255, 255, 0.4);
	border-width: 5px;
}

.biomarker-current-dot:hover {
	box-shadow: 0 8px 20px rgba(59, 130, 246, 0.6), inset 0 1px 3px rgba(255, 255, 255, 0.4);
}

.biomarker-target-dot:hover {
	box-shadow: 0 8px 20px rgba(139, 92, 246, 0.6), inset 0 1px 3px rgba(255, 255, 255, 0.4);
}

.biomarker-dot-label {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.9);
	color: #ffffff;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.biomarker-current-dot:hover .biomarker-dot-label,
.biomarker-target-dot:hover .biomarker-dot-label {
	opacity: 1;
}

.biomarker-range-labels {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1rem;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.biomarker-range-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-light);
	text-align: center;
	flex: 0 0 auto;
	min-width: 60px;
	padding: 0.4rem 0.6rem;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	position: relative;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.biomarker-range-label:hover {
	background: rgba(0, 0, 0, 0.1);
	transform: translateY(-1px);
}

.biomarker-range-label.critical {
	color: #dc2626;
	background: rgba(220, 38, 38, 0.1);
	border-color: rgba(220, 38, 38, 0.2);
}

.biomarker-range-label.critical:hover {
	background: rgba(220, 38, 38, 0.15);
}

.biomarker-range-label.normal {
	color: #ea580c;
	background: rgba(234, 88, 12, 0.1);
	border-color: rgba(234, 88, 12, 0.2);
}

.biomarker-range-label.normal:hover {
	background: rgba(234, 88, 12, 0.15);
}

.biomarker-range-label.optimal {
	color: #16a34a;
	background: rgba(22, 163, 74, 0.1);
	border-color: rgba(22, 163, 74, 0.2);
}

.biomarker-range-label.optimal:hover {
	background: rgba(22, 163, 74, 0.15);
}

/* Advanced Smart Label Positioning System */
.biomarker-range-labels {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1rem;
	gap: 0.75rem;
	flex-wrap: wrap;
	min-height: 2.5rem;
}

.biomarker-range-label {
	position: relative;
	z-index: 5;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-light);
	text-align: center;
	flex: 0 0 auto;
	min-width: 60px;
	max-width: 80px;
	padding: 0.4rem 0.6rem;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transform-origin: center bottom;
	word-break: break-word;
	hyphens: auto;
}

/* Smart label clustering prevention */
.biomarker-range-label:nth-child(odd) {
	transform: translateY(0);
}

.biomarker-range-label:nth-child(even) {
	transform: translateY(-2px);
}

.biomarker-range-label:nth-child(3n) {
	transform: translateY(2px);
}

/* Enhanced hover effects */
.biomarker-range-label:hover,
.biomarker-range-label:focus {
	background: rgba(0, 0, 0, 0.1);
	transform: translateY(-1px) scale(1.02);
	z-index: 10;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	outline: 2px solid rgba(59, 130, 246, 0.5);
	outline-offset: 2px;
}

/* Enhanced focus states for accessibility */
.biomarker-range-label:focus-visible {
	outline: 2px solid #3b82f6;
	outline-offset: 2px;
	background: rgba(59, 130, 246, 0.1);
}

/* Improved label states for different ranges */
.biomarker-range-label.critical:focus-visible {
	outline-color: #dc2626;
	background: rgba(220, 38, 38, 0.1);
}

.biomarker-range-label.normal:focus-visible {
	outline-color: #ea580c;
	background: rgba(234, 88, 12, 0.1);
}

.biomarker-range-label.optimal:focus-visible {
	outline-color: #16a34a;
	background: rgba(22, 163, 74, 0.1);
}

/* Mobile Responsive Design for Modern Ruler */
@media (max-width: 768px) {
	.biomarker-range-ruler-container {
		padding: 1.5rem;
		margin: 1.5rem 0;
		border-radius: 12px;
	}
	
	.biomarker-range-ruler {
		height: 28px;
		border-radius: 14px;
		margin-bottom: 1.25rem;
	}
	
	.biomarker-current-dot,
	.biomarker-target-dot {
		width: 20px;
		height: 20px;
		border-width: 2px;
	}
	
	.biomarker-dot-label {
		font-size: 0.75rem;
		padding: 0.4rem 0.6rem;
		bottom: 28px;
	}
	
	.biomarker-range-labels {
		gap: 0.5rem;
		margin-top: 1.25rem;
	}
	
	.biomarker-range-label {
		padding: 0.6rem 0.8rem;
		font-size: 0.75rem;
		max-width: 75px;
		border-radius: 10px;
	}
}

@media (max-width: 480px) {
	.biomarker-range-ruler-container {
		padding: 1rem;
		margin: 1rem 0;
		border-radius: 10px;
	}
	
	.biomarker-range-ruler {
		height: 24px;
		border-radius: 12px;
		margin-bottom: 1rem;
	}
	
	.biomarker-current-dot,
	.biomarker-target-dot {
		width: 18px;
		height: 18px;
		border-width: 2px;
	}
	
	.biomarker-dot-label {
		font-size: 0.7rem;
		bottom: 24px;
		padding: 0.3rem 0.5rem;
	}
	
	.biomarker-range-labels {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
		gap: 0.4rem;
		margin-top: 1rem;
		justify-items: center;
	}
	
	.biomarker-range-label {
		font-size: 0.7rem;
		padding: 0.5rem 0.6rem;
		max-width: 70px;
		border-radius: 8px;
		transform: none !important;
		text-align: center;
	}
}

/* Enhanced Biomarker Panel Organization */
.biomarker-panels-container {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-top: 2rem;
}

.biomarker-panel {
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	transition: all 0.3s ease;
}

.biomarker-panel:hover {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

.biomarker-panel-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	border-bottom: 1px solid var(--border-color);
}

.biomarker-panel-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: var(--rounded-lg);
	background: rgba(255, 255, 255, 0.1);
	font-size: 2rem;
}

.biomarker-panel-info {
	flex: 1;
}

.biomarker-panel-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 0.5rem 0;
}

.biomarker-panel-description {
	font-size: 0.95rem;
	color: var(--text-light);
	margin: 0 0 0rem 0;
	line-height: 1.5;
}

.biomarker-panel-meta {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

	.biomarker-panel-count,
	.biomarker-panel-price,
	.biomarker-panel-included,
	.biomarker-panel-addon {
		font-size: 0.85rem;
		font-weight: 600;
		padding: 0.25rem 0;
		border-radius: var(--rounded-full);
		background: rgba(255, 255, 255, 0.1);
		color: var(--text-dark);
	}

	/* Panel Toggle Functionality */
	.biomarker-panel-header {
		cursor: pointer;
		transition: all 0.3s ease;
		position: relative;
		border-radius: 11px;
	}

	.biomarker-panel-header:hover {
		background: rgba(255, 255, 255, 0.05) !important;
	}

	.biomarker-panel-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.1);
		transition: all 0.3s ease;
	}

	.panel-expand-icon {
		font-size: 14px;
		color: #525252;
		transition: transform 0.3s ease;
	}

	.biomarker-panel-header.expanded .panel-expand-icon {
		transform: rotate(180deg);
	}

	/* Vector Category Toggle */
	.biomarker-vector-header {
		cursor: pointer;
		transition: all 0.3s ease;
		padding: 1rem;
		border-radius: var(--rounded-md);
		background: rgba(255, 255, 255, 0.02);
		margin-bottom: 0.5rem;
	}

	.biomarker-vector-header:hover {
		background: rgba(255, 255, 255, 0.05);
	}

	.biomarker-vector-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.1);
		margin-left: auto;
	}

	.vector-expand-icon {
		font-size: 12px;
		color: var(--text-primary);
		transition: transform 0.3s ease;
	}

	.biomarker-vector-header.expanded .vector-expand-icon {
		transform: rotate(180deg);
	}

	/* Enhanced Biomarker List Items */
	.biomarker-list-item {
		cursor: pointer;
		transition: all 0.3s ease;
		border-radius: var(--rounded-md);
		margin-bottom: 0;
		align-content: center;
		align-items: center;
		justify-content: center;
		flex-direction: row;
	}

	.biomarker-list-item:hover {
		background: rgba(255, 255, 255, 0.05);
	}

	.biomarker-list-item.expanded {
		background: rgba(255, 255, 255, 0.08);
	}

	.biomarker-list-expand {
		transition: transform 0.3s ease;
	}

	.biomarker-list-item.expanded .biomarker-list-expand {
		transform: rotate(180deg);
	}

.biomarker-panel-included {
	background: rgba(16, 185, 129, 0.2);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.biomarker-panel-addon {
	background: rgba(245, 158, 11, 0.2);
	color: #f59e0b;
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.biomarker-panel-content {
	padding: 0.25rem;
}

.biomarker-vector-category {
	margin-bottom: 2rem;
}

.biomarker-vector-category:last-child {
	margin-bottom: 0;
}

.biomarker-vector-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--border-color);
}

.biomarker-vector-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--rounded-md);
	background: rgba(255, 255, 255, 0.05);
	font-size: 1.25rem;
}

/* SVG Icon Support */
.biomarker-vector-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	stroke: currentColor;
}

.biomarker-vector-icon svg path,
.biomarker-vector-icon svg circle,
.biomarker-vector-icon svg rect,
.biomarker-vector-icon svg polygon {
	fill: currentColor;
	stroke: currentColor;
}

/* SVG Icon Support */
.biomarker-vector-icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	stroke: currentColor;
}

.biomarker-vector-icon svg path,
.biomarker-vector-icon svg circle,
.biomarker-vector-icon svg rect,
.biomarker-vector-icon svg polygon {
	fill: currentColor;
	stroke: currentColor;
}

.biomarker-vector-info {
	flex: 1;
}

.biomarker-vector-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 0.25rem 0;
}

.biomarker-vector-count {
	font-size: 0.85rem;
	color: var(--text-light);
	margin: 0;
}

.biomarker-vector-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

/* Enhanced biomarker list items for panel organization */
.biomarker-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-md);
	cursor: pointer;
	transition: all 0.2s ease;
}

.biomarker-list-item:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--accent-primary);
	transform: translateX(4px);
}

.biomarker-list-item.expanded {
	background: rgba(16, 185, 129, 0.05);
	border-color: rgba(16, 185, 129, 0.3);
}

.biomarker-list-name {
	font-weight: 500;
	color: var(--text-dark);
	flex: 1;
}

.biomarker-list-unit {
	font-size: 0.85rem;
	color: var(--text-light);
	margin: 0 1rem;
}

.biomarker-list-expand {
	font-size: 0.75rem;
	color: var(--text-light);
	transition: transform 0.2s ease;
}

.biomarker-list-item.expanded .biomarker-list-expand {
	transform: rotate(180deg);
}

.biomarker-measurement-container {
	margin-top: 0;
	margin-left: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	/* border-left: 0; */
}

/* Responsive design for panel organization */
@media (max-width: 768px) {
	.biomarker-panel-header {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}
	
	.biomarker-panel-meta {
		justify-content: center;
	}
	
	.biomarker-vector-header {
		flex-direction: column;
		text-align: center;
		gap: 0.5rem;
	}
	
	.biomarker-list-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
	
	.biomarker-list-unit {
		margin: 0;
		align-self: flex-end;
	}
}

@media (max-width: 480px) {
	.biomarker-panel-title {
		font-size: 1.25rem;
	}
	
	.biomarker-panel-meta {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.biomarker-panel-count,
	.biomarker-panel-price,
	.biomarker-panel-included,
	.biomarker-panel-addon {
		text-align: center;
		width: 100%;
	}
}

/* Compact Status Bar - New Design */
.biomarker-compact-status {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0.5rem;
	padding: 0;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	border: navajowhite;
	gap: 0.5rem;
}

.biomarker-status-badge {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem 0.5rem;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 600;
	flex: 1;
	justify-content: center;
}

.biomarker-status-badge.optimal {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.biomarker-status-badge.below-optimal {
	background: rgba(239, 68, 68, 0.15);
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

.biomarker-status-badge.above-optimal {
	background: rgba(245, 158, 11, 0.15);
	color: #f59e0b;
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.biomarker-status-badge.no-data {
	background: rgba(107, 114, 128, 0.15);
	color: #6b7280;
	border: 1px solid rgba(107, 114, 128, 0.3);
}

.status-icon {
	font-size: 0.8rem;
}

.status-text {
	font-size: 0.7rem;
}

.biomarker-health-badge {
	padding: 0.25rem 0.5rem;
	background: rgba(16, 185, 129, 0.1);
	border-radius: 12px;
	border: 1px solid rgba(16, 185, 129, 0.2);
	flex: 0 0 auto;
	display: flex;
}

.health-text {
	font-size: 0.65rem;
	color: #10b981;
	font-weight: 500;
}

.biomarker-achievement-badge {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem 0.5rem;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 600;
	flex: 1;
	justify-content: center;
}

.biomarker-achievement-badge.achieved {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.biomarker-achievement-badge.in-progress {
	background: rgba(245, 158, 11, 0.15);
	color: #f59e0b;
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.biomarker-achievement-badge.educational {
	/* background: rgba(59, 130, 246, 0.15); */
	/* color: #3b82f6; */
	/* border: 1px solid rgba(59, 130, 246, 0.3); */
}

.achievement-icon {
	font-size: 0.8rem;
}

.achievement-text {
	font-size: 0.7rem;
}

/* Values Row */
.biomarker-values-row {
	display: flex;
	justify-content: space-between;
	margin-top: 0.25rem;
	padding: 0.25rem 0;
	font-size: 0.75rem;
}

.biomarker-current-display,
.biomarker-target-display {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.value-label {
	color: var(--text-light);
	font-size: 0.65rem;
	font-weight: 500;
}

.value-number {
	color: var(--text-dark);
	font-weight: 600;
}

.biomarker-current-display .value-number {
	color: #3b82f6;
}

.biomarker-target-display .value-number {
	color: #10b981;
}

/* Responsive Design */
@media (max-width: 768px) {
	.biomarker-compact-status {
		flex-direction: column;
		gap: 0.25rem;
		padding: 0.75rem;
	}
	
	.biomarker-status-badge,
	.biomarker-achievement-badge {
		width: 100%;
		justify-content: center;
	}
	
	.biomarker-health-badge {
		width: 100%;
		text-align: center;
	}
	
	.biomarker-values-row {
		flex-direction: column;
		gap: 0.25rem;
		align-items: center;
	}
}

@media (max-width: 480px) {
	.biomarker-compact-status {
		padding: 0.5rem;
	}
	
	.status-text,
	.achievement-text {
		font-size: 0.65rem;
	}
	
	.health-text {
		font-size: 0.6rem;
	}
}

/* Version: 1753326766 */
/* Cache bust: 1753326958 */

/* Flagged Badge */
.flagged-badge {
	display: inline-block;
	background: linear-gradient(135deg, #ef4444, #f59e0b);
	color: white;
	font-size: 0.7rem;
	font-weight: 600;
	padding: 0.2rem 0.5rem;
	border-radius: 0.5rem;
	margin-left: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* No Flagged Biomarkers State */
.no-flagged-biomarkers {
	text-align: center;
	padding: 3rem 2rem;
	background: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--rounded-lg);
	box-shadow: var(--shadow-md);
}

.no-flagged-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	opacity: 0.7;
}

.no-flagged-biomarkers h3 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
}

.no-flagged-biomarkers p {
	color: var(--text-light);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
	opacity: 0.8;
}

/* Biomarker Panels Section */
.biomarker-panels-section {
	margin-bottom: 2rem;
}

/* Dynamic Biomarker Ruler Tooltip */
.biomarker-dynamic-tooltip {
	position: absolute;
	background: rgba(30, 30, 30, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 8px 12px;
	z-index: 900; /* Lower than dot tooltips */
	pointer-events: none;
	font-size: 12px;
	line-height: 1.3;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	transform: translateX(-50%) translateY(-100%);
	white-space: nowrap;
	min-width: 120px;
	text-align: center;
}

.tooltip-range-line {
	color: #ffffff;
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
}

.tooltip-value-line {
	color: #e5e7eb;
	font-weight: 500;
	font-size: 13px;
}

/* Range-specific styling for tooltip */
.biomarker-dynamic-tooltip.critical-range .tooltip-range-line {
	color: #ef4444;
}

.biomarker-dynamic-tooltip.normal-range .tooltip-range-line {
	color: #f59e0b;
}

.biomarker-dynamic-tooltip.optimal-range .tooltip-range-line {
	color: #10b981;
}

/* Enhanced cursor for ruler interaction */
.biomarker-range-ruler-container {
	cursor: crosshair;
	position: relative;
	padding: 15px px 5px;
}

/* Biomarker Range Ruler - Enhanced 3D Effect */
.biomarker-range-ruler {
	position: relative;
	height: 40px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
	border-radius: 60px;
	box-shadow: 
		inset 0 2px 4px rgba(0, 0, 0, 0.5),
		inset 0 -1px 2px rgba(255, 255, 255, 0.1),
		0 2px 8px rgba(0, 0, 0, 0.3);
	overflow: visible;
}

/* Range Segments - Enhanced 3D Effect */
.biomarker-range-segment {
	position: absolute;
	height: 100%;
	border-radius: 60px;
	transition: all 0.3s ease;
}

.biomarker-range-segment.critical-range {
	background: linear-gradient(to bottom, #ef4444, #dc2626);
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.biomarker-range-segment.normal-range {
	background: linear-gradient(to bottom, #fbbf24, #f59e0b);
	box-shadow: 
		inset 0 1px 2px rgba(255, 255, 255, 0.3),
		0 0 4px rgba(245, 158, 11, 0.3);
}

.biomarker-range-segment.optimal-range {
	background: linear-gradient(to bottom, #34d399, #10b981);
	box-shadow: 
		inset 0 1px 3px rgba(255, 255, 255, 0.4),
		0 0 6px rgba(16, 185, 129, 0.4);
	z-index: 2;
}

.biomarker-range-ruler-container:hover .biomarker-dynamic-tooltip {
	display: block;
}

/* Biomarker Dots - Enhanced 3D Effect */
.biomarker-current-dot,
.biomarker-target-dot {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	transition: all 0.3s ease;
}

.biomarker-current-dot {
	width: 20px;
	height: 20px;
	background: linear-gradient(135deg, #60a5fa, #3b82f6);
	border: 3px solid white;
	border-radius: 50%;
	box-shadow: 
		0 2px 8px rgba(59, 130, 246, 0.6),
		inset 0 -2px 4px rgba(0, 0, 0, 0.2),
		0 0 0 1px rgba(59, 130, 246, 0.3);
}

.biomarker-target-dot {
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 11px solid #10b981;
	filter: drop-shadow(0 2px 6px rgba(16, 185, 129, 0.6));
	position: absolute;
	top: 5px;
}

.biomarker-current-dot:hover {
	transform: translate(-50%, -50%) scale(1.15);
	box-shadow: 
		0 4px 12px rgba(59, 130, 246, 0.8),
		inset 0 -2px 4px rgba(0, 0, 0, 0.2),
		0 0 0 2px rgba(59, 130, 246, 0.4);
}

.biomarker-target-dot:hover {
	transform: translateX(-50%) scale(1.1);
	filter: drop-shadow(0 3px 8px rgba(16, 185, 129, 0.8));
}

.biomarker-dot-tooltip {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(-8px);
	background: rgba(30, 30, 30, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 8px 12px;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease;
	pointer-events: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	white-space: nowrap;
	min-width: 140px;
	text-align: center;
}

.biomarker-current-dot:hover .biomarker-dot-tooltip,
.biomarker-target-dot:hover .biomarker-dot-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(-12px);
}

.tooltip-line-1 {
	color: #ffffff;
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 2px;
}

.tooltip-line-2 {
	color: #e5e7eb;
	font-weight: 500;
	font-size: 13px;
}

/* Current value dot tooltip styling */
.biomarker-current-dot .tooltip-line-1 {
	color: #60a5fa;
}

/* Target value dot tooltip styling */
.biomarker-target-dot .tooltip-line-1 {
	color: #34d399;
}

/* Arrow for dot tooltips */
.biomarker-dot-tooltip::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid rgba(30, 30, 30, 0.95);
}

/* Biomarker Ruler Notches - Enhanced Nesting Effect */
.biomarker-ruler-notches {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.biomarker-notch {
	position: absolute;
	top: -8px;
	width: 2px;
	height: 24px;
	background: rgba(255, 255, 255, 0.3);
	transform: translateX(-50%);
	pointer-events: auto;
	transition: all 0.2s ease;
}

/* Different heights for different notch types */
.biomarker-notch.critical-min,
.biomarker-notch.critical-max {
	height: 28px;
	top: -10px;
	background: rgba(239, 68, 68, 0.8);
	width: 3px;
}

.biomarker-notch.normal-min,
.biomarker-notch.normal-max {
	height: 22px;
	top: -7px;
	background: rgba(245, 158, 11, 0.8);
	width: 2px;
}

.biomarker-notch.optimal-min,
.biomarker-notch.optimal-max {
	height: 18px;
	top: -5px;
	background: rgba(16, 185, 129, 0.8);
	width: 2px;
}

/* Hover effect for notches */
.biomarker-notch:hover {
	transform: translateX(-50%) scaleY(1.2);
	filter: brightness(1.3);
	box-shadow: 0 0 8px currentColor;
}

/* Hide dynamic tooltip when dot tooltips are visible */
.biomarker-range-ruler-container[data-dot-hover="true"] .biomarker-dynamic-tooltip {
	display: none !important;
}

/* Ruler Notch Tooltips - Pop Downward */
.biomarker-notch:hover::after {
	content: attr(title);
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(8px);
	background: rgba(30, 30, 30, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	padding: 6px 10px;
	z-index: 1000;
	font-size: 11px;
	color: #e5e7eb;
	white-space: nowrap;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	pointer-events: none;
}

.biomarker-notch:hover::before {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid rgba(30, 30, 30, 0.95);
	z-index: 1001;
}

/* ========== COMPREHENSIVE MOBILE RESPONSIVE ENHANCEMENTS ========== */
/* Ensures 100% mobile optimization for all dashboard elements */

/* Mobile-First Base Styles */
/* Viewport meta tag optimization for mobile */
@viewport {
	width: device-width;
	initial-scale: 1.0;
	maximum-scale: 5.0;
	minimum-scale: 0.25;
	user-scalable: yes;
}

/* Touch-friendly base styles */
* {
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

/* Prevent text size adjustment on orientation change */
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
@media (max-width: 768px) {
	/* Theme Toggle Mobile Optimization */
	.theme-toggle-container {
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 1000;
		padding: 5px;
		background: var(--glass-bg);
		border-radius: 25px;
		backdrop-filter: blur(10px);
	}
	
	.theme-toggle {
		width: 48px;
		height: 26px;
		padding: 2px;
	}
	
	.toggle-thumb {
		width: 22px;
		height: 22px;
	}
	
	/* Dashboard Container Mobile */
	.ennu-user-dashboard {
		padding: 0;
		overflow-x: hidden;
		min-height: 100vh;
	}
	
	.dashboard-main-grid {
		padding: 0;
		margin: 0;
	}
	
	/* Welcome Section Mobile */
	.dashboard-welcome-section {
		padding: 0;
		text-align: center;
		max-width: 430px;
	}
	
	.dashboard-title {
		font-size: 1.75rem !important;
		line-height: 1.2;
		margin-bottom: 10px;
		word-wrap: break-word;
	}
	
	.dashboard-subtitle {
		font-size: 0.875rem;
		line-height: 1.4;
		padding: 0 10px;
	}
	
	/* Vital Stats Mobile */
	.vital-stats-display {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
		margin-top: 15px;
	}
	
	.vital-stat-item {
		padding: 8px;
		font-size: 0.75rem;
		border-radius: 8px;
		min-height: 50px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
	}
	
	/* Scores Section Mobile */
	.dashboard-scores-row {
		padding: 20px 10px;
	}
	
	.scores-title-container {
		margin-bottom: 20px;
	}
	
	.scores-title {
		font-size: 1.25rem !important;
		letter-spacing: 1px;
	}
	
	.scores-content-grid {
		display: flex;
		flex-direction: column;
		gap: 0px;
		align-items: center;
	}
	
	.pillar-scores-left,
	.pillar-scores-right {
		display: flex;
		gap: 15px;
		justify-content: center;
		flex-wrap: wrap;
		width: 100%;
	}
	
	.pillar-orb {
		width: 80px;
		height: 80px;
		flex: 0 0 auto;
	}
	
	.pillar-orb-label {
		font-size: 0.65rem;
		line-height: 1;
	}
	
	.pillar-orb-score {
		font-size: 1rem;
	}
	
	.main-score-orb {
		width: 120px;
		height: 120px;
		margin: 20px 0;
	}
	
	.main-score-value {
		font-size: 2rem !important;
	}
	
	.main-score-label {
		font-size: 0.75rem;
		margin-top: 5px;
	}
	
	/* Health Goals Mobile */
	.health-goals-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
		gap: 10px;
		padding: 15px 5px;
	}
	
	.goal-pill {
		padding: 12px 8px;
		font-size: 0.8rem;
		border-radius: 20px;
		min-height: 60px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 4px;
	}
	
	.goal-pill-icon {
		font-size: 1.25rem;
		margin-bottom: 2px;
	}
	
	.goal-pill-text {
		font-size: 0.7rem;
		line-height: 1.2;
		word-wrap: break-word;
		max-width: 100%;
	}
	
	/* My Story Tabs Mobile */
	.my-story-tab-nav {
		/* overflow-x: AUTO; */
		-webkit-overflow-scrolling: touch;
		/* scroll-behavior: smooth; */
		margin: 0 -5px;
		padding: 0;
	}
	
	.my-story-tab-nav ul {
		display: flex;
		flex-wrap: wrap;
		padding: 0;
		margin: 0;
		gap: 17px;
		flex-direction: row;
	}
	
	.my-story-tab-nav a {
		padding: 8px 12px;
		font-size: 0.8rem;
		white-space: nowrap;
		border-radius: 20px;
	}
	
	/* Assessment Cards Mobile */
	.assessment-cards-grid {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 10px;
	}
	
	.assessment-card {
		padding: 15px;
		border-radius: 12px;
	}
	
	.assessment-card-header {
		flex-wrap: wrap;
		gap: 10px;
	}
	
	.assessment-title {
		font-size: 1rem;
		line-height: 1.2;
	}
	
	.assessment-card-actions {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		justify-content: center;
		margin-top: 15px;
	}
	
	.assessment-card-actions .btn {
		padding: 8px 12px;
		font-size: 0.75rem;
		flex: 1 1 calc(50% - 4px);
		min-width: 100px;
		text-align: center;
	}
	
	/* Biomarkers Mobile */
	.biomarkers-stats-row {
		display: flex;
		grid-template-columns: repeat(3, 1fr);
		gap: 0;
		margin: 20px auto;
		padding: 0;
		flex-direction: column;
		align-items: center;
		max-width: 220px;
		text-align: left;
	}
	
	.biomarkers-actions {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 0 10px;
		margin-bottom: 20px;
	}
	
	.biomarkers-actions .btn {
		width: 100%;
		padding: 12px;
		font-size: 0.875rem;
		border-radius: 8px;
	}
	
	/* Biomarker Panels Mobile */
	.biomarker-panel {
		margin-bottom: 15px;
		border-radius: 12px;
		overflow: hidden;
	}
	
	.biomarker-panel-header {
		padding: 15px;
		cursor: pointer;
		font-size: 0.9rem;
	}
	
	.biomarker-panel-title {
		font-size: 1rem;
		margin-bottom: 4px;
	}
	
	.biomarker-panel-description {
		font-size: 0.75rem;
		line-height: 1.3;
	}
	
	/* Biomarker Measurements Mobile */
	.biomarker-measurement {
		margin-bottom: 15px;
		padding: 12px;
		border-radius: 0 0 10px 10px;
	}
	
	.biomarker-range-ruler-container {
		height: 100px;
		margin: 15px 0 30px;
		position: relative;
		padding: 3rem 25px 6rem;
	}
	
	.biomarker-range-ruler {
		height: 27px;
		border-radius: 60px;
		margin-top: 10px;
	}
	
	/* Symptoms Tab Mobile */
	.symptoms-summary-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		margin-bottom: 20px;
	}
	
	.stat-card {
		padding: 15px 10px;
		border-radius: 10px;
	}
	
	.symptoms-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.symptom-card {
		padding: 12px;
		border-radius: 10px;
	}
	
	/* Profile Tab Mobile */
	.profile-sections-grid {
		grid-template-columns: 1fr !important;
		gap: 15px;
	}
	
	.profile-card {
		padding: 15px !important;
		border-radius: 12px;
		grid-column: 1 !important;
	}
	
	/* Modal Mobile */
	.biomarker-modal-overlay {
		padding: 10px;
		align-items: flex-start;
		padding-top: 60px;
	}
	
	.biomarker-details-modal,
	.biomarker-flags-modal {
		width: 100%;
		max-width: none;
		max-height: calc(100vh - 80px);
		margin: 0;
		border-radius: 12px;
	}
	
	/* Touch-friendly spacing - Enhanced for better mobile interaction */
	.clickable,
	.btn,
	.goal-pill,
	.assessment-card,
	.symptom-card,
	.biomarker-panel-header,
	.biomarker-list-item,
	.my-story-tab-nav a,
	.accordion-header,
	.assessment-card-header,
	.symptom-header,
	.biomarker-measurement-header {
		min-height: 44px;
		cursor: pointer;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
		padding: 12px 16px;
		border-radius: 8px;
		transition: all 0.2s ease;
	}
	
	/* Enhanced touch targets for better accessibility */
	.btn {
		min-height: 48px;
		padding: 14px 20px;
		font-size: 16px;
		font-weight: 600;
		border-radius: 10px;
	}
	
	/* Improved form elements for mobile */
	input[type="text"],
	input[type="email"],
	input[type="number"],
	input[type="tel"],
	select,
	textarea {
		min-height: 48px;
		font-size: 16px;
		padding: 12px 16px;
		border-radius: 8px;
		border: 2px solid #e9ecef;
		background: #ffffff;
	}
	
	/* Better focus states for mobile */
	.btn:focus,
	.goal-pill:focus,
	.assessment-card:focus,
	.symptom-card:focus,
	.biomarker-panel-header:focus,
	.my-story-tab-nav a:focus {
		outline: 3px solid #007bff;
		outline-offset: 2px;
		transform: scale(1.02);
	}
	
	/* Responsive images */
	img {
		max-width: 100%;
		height: auto;
		display: block;
	}
	
	/* Prevent horizontal scroll */
	body {
		overflow-x: hidden;
		position: relative;
	}
	
	/* Smooth scrolling */
	* {
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
	}
	
	/* Enhanced mobile navigation */
	.my-story-tab-nav {
		position: sticky;
		top: 0;
		z-index: 100;
		background: var(--card-bg);
		padding: 10px 0;
		margin: 0 -10px;
		border-bottom: 1px solid var(--border-color);
	}
	
	/* Better mobile accordion behavior */
	details[open] {
		animation: slideDown 0.3s ease-out;
	}
	
	@keyframes slideDown {
		from {
			opacity: 0;
			transform: translateY(-10px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
	
	/* Improved mobile loading states */
	.loading {
		position: relative;
		overflow: hidden;
	}
	
	.loading::after {
		content: '';
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
		animation: loading 1.5s infinite;
	}
	
	@keyframes loading {
		0% { left: -100%; }
		100% { left: 100%; }
	}
	
	/* Better mobile error states */
	.error-message {
		background: #fee;
		border: 1px solid #fcc;
		color: #c33;
		padding: 12px;
		border-radius: 8px;
		margin: 10px 0;
		font-size: 14px;
	}
	
	/* Enhanced mobile success states */
	.success-message {
		background: #efe;
		border: 1px solid #cfc;
		color: #3c3;
		padding: 12px;
		border-radius: 8px;
		margin: 10px 0;
		font-size: 14px;
	}
}

/* Small Phone Optimization (max-width: 480px) */
/* Extra Small Phone Optimization (max-width: 360px) */
@media (max-width: 360px) {
	.dashboard-title {
		font-size: 1.25rem !important;
		line-height: 1.3;
	}
	
	.dashboard-subtitle {
		font-size: 0.75rem;
		padding: 0 5px;
	}
	
	.vital-stats-display {
		grid-template-columns: 1fr;
		gap: 6px;
	}
	
	.vital-stat-item {
		padding: 6px;
		font-size: 0.7rem;
		min-height: 40px;
	}
	
	.pillar-orb {
		width: 60px;
		height: 60px;
	}
	
	.main-score-orb {
		width: 80px;
		height: 80px;
	}
	
	.main-score-value {
		font-size: 1.5rem !important;
	}
	
	.goal-pill {
		padding: 8px 6px;
		font-size: 0.7rem;
		min-height: 45px;
	}
	
	.assessment-card {
		padding: 10px;
	}
	
	.assessment-title {
		font-size: 0.9rem;
	}
	
	.btn {
		padding: 10px 12px;
		font-size: 14px;
		min-height: 40px;
	}
	
	.my-story-tab-nav a {
		padding: 6px 8px;
		font-size: 0.7rem;
	}
	
	.biomarker-panel-header {
		padding: 10px;
	}
	
	.biomarker-panel-title {
		font-size: 0.9rem;
	}
	
	.symptom-card {
		padding: 8px;
	}
	
	.stat-card {
		padding: 10px 8px;
	}
}

/* Small Phone Optimization (max-width: 480px) */
@media (max-width: 480px) {
	.dashboard-title {
		font-size: 1.5rem !important;
	}
	
	.pillar-orb {
		width: 70px;
		height: 70px;
	}
	
	.main-score-orb {
		width: 100px;
		height: 100px;
	}
	
	.main-score-value {
		font-size: 1.75rem !important;
	}
	
	.health-goals-grid {
		grid-template-columns: 1fr;
	}
	
	.goal-pill {
		flex-direction: row;
		justify-content: space-between;
		padding: 12px 0 !important;
		min-height: 50px;
		/* max-width: 100px !important; */
		min-width: 100px !important;
	}
	
	.goal-pill-icon {
		margin-bottom: 0;
		margin-right: 0 !important;
	}
	
	.goal-pill-text {
		flex: 1;
		text-align: left;
		font-size: 0.8rem;
	}
	
	.assessment-card-actions .btn {
		flex: 1 1 100%;
		margin-bottom: 6px;
	}
	
	.timeline-grid {
		grid-template-columns: 1fr;
	}
}

/* Touch Device Enhancements */
@media (hover: none) and (pointer: coarse) {
	/* Remove hover effects on touch devices */
	.biomarker-card:hover,
	.assessment-card:hover,
	.symptom-card:hover,
	.goal-pill:hover {
		transform: none;
		box-shadow: none;
	}
	
	/* Increase tap targets */
	.btn,
	.goal-pill,
	.biomarker-panel-header,
	.my-story-tab-nav a {
		min-height: 48px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	/* Add active states for better feedback */
	.btn:active,
	.goal-pill:active,
	.biomarker-panel-header:active {
		opacity: 0.8;
		transform: scale(0.98);
	}
}

/* Landscape Mobile Optimization */
@media (max-width: 900px) and (orientation: landscape) {
	.ennu-user-dashboard {
		padding-top: 60px;
	}
	
	.theme-toggle-container {
		top: 10px;
		right: 10px;
	}
	
	.dashboard-welcome-section {
		padding: 15px;
	}
	
	.dashboard-title {
		font-size: 1.5rem !important;
	}
	
	.scores-content-grid {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		gap: 15px;
	}
	
	.pillar-orb {
		width: 60px;
		height: 60px;
	}
	
	.main-score-orb {
		width: 90px;
		height: 90px;
		order: -1;
		flex: 0 0 100%;
	}
}

/* Final Mobile Polish */
@media (max-width: 768px) {
	/* Ensure text readability */
	body {
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}
	
	/* Optimize animations for mobile */
	.pillar-orb,
	.main-score-orb,
	.floating-particles {
		animation-duration: 20s;
	}
	
	/* Disable complex animations on low-end devices */
	@media (prefers-reduced-motion: reduce) {
		*,
		*::before,
		*::after {
			animation-duration: 0.01ms !important;
			animation-iteration-count: 1 !important;
			transition-duration: 0.01ms !important;
		}
	}

	/* Force theme toggle functionality */
	.ennu-user-dashboard[data-theme="light"] .toggle-thumb {
		transform: translateX(30px) !important;
	}
	
	.ennu-user-dashboard[data-theme="dark"] .toggle-thumb {
		transform: translateX(0) !important;
	}
	
	.ennu-user-dashboard[data-theme="light"] .sun-icon {
		opacity: 0 !important;
	}
	
	.ennu-user-dashboard[data-theme="light"] .moon-icon {
		opacity: 1 !important;
	}
	
	.ennu-user-dashboard[data-theme="dark"] .sun-icon {
		opacity: 1 !important;
	}
	
	.ennu-user-dashboard[data-theme="dark"] .moon-icon {
		opacity: 0 !important;
	}
}
.biomarker-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 20px;
}

/* Responsive behavior for biomarker grid */
@media (max-width: 1024px) {
	.biomarker-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.biomarker-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}
}

@media (max-width: 480px) {
	.biomarker-grid {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
}

/* Biomarker Modal Styles */
.biomarker-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.biomarker-details-modal,
.biomarker-flags-modal {
	background: var(--card-bg, #1a1a1a);
	border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
	border-radius: 12px;
	max-width: 500px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	transform: scale(0.9);
	transition: transform 0.3s ease;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem;
	border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.modal-header h3 {
	margin: 0;
	color: var(--text-dark, #333333);
	font-size: 1.25rem;
	font-weight: 600;
}

.modal-close {
	background: none;
	border: none;
	color: var(--text-light, #666666);
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.modal-close:hover {
	background: rgba(0, 0, 0, 0.1);
	color: var(--text-dark, #333333);
}

.modal-content {
	padding: 1.5rem;
	color: var(--text-dark, #333333);
}

.modal-content p {
	margin: 0 0 1rem 0;
	line-height: 1.6;
}

.modal-content ul {
	margin: 1rem 0;
	padding-left: 1.5rem;
}

.modal-content li {
	margin-bottom: 0.5rem;
	line-height: 1.5;
}

/* Responsive modal */
@media (max-width: 768px) {
	.biomarker-details-modal,
	.biomarker-flags-modal {
		width: 95%;
		max-height: 90vh;
	}
	
	.modal-header {
		padding: 1rem;
	}
	
	.modal-content {
		padding: 1rem;
	}
	
	.modal-header h3 {
		font-size: 1.1rem;
	}
}

/* Charts Section Styles */
.charts-section {
	margin: 2rem 0;
	padding: 0;
}

.charts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
}

.chart-card {
	background: var(--card-bg);
	border-radius: 12px;
	padding: 1.5rem;
	border: 1px solid var(--border-color);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chart-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chart-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 1rem 0;
	text-align: center;
}

.chart-wrapper {
	position: relative;
	width: 100%;
	height: 200px;
	margin: 1rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.chart-description {
	font-size: 0.9rem;
	color: var(--text-light);
	text-align: center;
	margin: 0;
	line-height: 1.4;
}

/* Responsive charts */
@media (max-width: 768px) {
	.charts-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.chart-card {
		padding: 1rem;
	}
	
	.chart-wrapper {
		height: 180px;
	}
}

/* Assessment Trends Styles */
.assessment-trends-section {
	margin: 2rem 0;
}

.assessment-trends-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
}

.assessment-trend-card {
	background: var(--card-bg);
	border-radius: 12px;
	padding: 1.5rem;
	border: 1px solid var(--border-color);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.assessment-trend-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.assessment-trend-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.assessment-trend-header h4 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
}

.assessment-date {
	font-size: 0.875rem;
	color: var(--text-light);
	background: hsla(0, 0%, 100%, 0.1);
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
}

.assessment-score-display {
	text-align: center;
	margin: 1rem 0;
}

.score-circle {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 3px solid;
	transition: all 0.3s ease;
}

.score-circle.score-excellent {
	background: linear-gradient(135deg, #10b981, #059669);
	border-color: #10b981;
	color: white;
}

.score-circle.score-good {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	border-color: #f59e0b;
	color: white;
}

.score-circle.score-needs-improvement {
	background: linear-gradient(135deg, #ef4444, #dc2626);
	border-color: #ef4444;
	color: white;
}

.score-value {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.score-label {
	font-size: 0.75rem;
	font-weight: 500;
	opacity: 0.9;
}

.category-breakdown {
	margin: 1rem 0;
	padding-top: 1rem;
	border-top: 1px solid var(--border-color);
}

.category-breakdown h5 {
	margin: 0 0 0.75rem 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-dark);
}

.category-scores {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0.5rem;
}

.category-score-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem;
	border-radius: 6px;
	font-size: 0.8rem;
}

.category-score-item.category-excellent {
	background: hsla(16, 185, 129, 0.1);
	color: #10b981;
}

.category-score-item.category-good {
	background: hsla(43, 96, 56, 0.1);
	color: #f59e0b;
}

.category-score-item.category-needs-improvement {
	background: hsla(0, 84, 60, 0.1);
	color: #ef4444;
}

.category-name {
	font-weight: 500;
}

.category-value {
	font-weight: 700;
}

.assessment-actions {
	margin-top: 1rem;
	text-align: center;
}

/* Trend Insights Styles */
.trend-insights-section {
	margin: 2rem 0;
}

.insights-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.insight-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: var(--card-bg);
	border-radius: 12px;
	padding: 1.5rem;
	border: 1px solid var(--border-color);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insight-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.insight-icon {
	font-size: 2rem;
	flex-shrink: 0;
}

.insight-content h4 {
	margin: 0 0 0.5rem 0;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
}

.insight-content p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--text-light);
	line-height: 1.4;
}

/* No Trends Message */
.no-trends-message {
	text-align: center;
	padding: 3rem 2rem;
}

.no-trends-icon {
	font-size: 4rem;
	margin-bottom: 1rem;
}

.no-trends-message h3 {
	margin: 0 0 1rem 0;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-dark);
}

.no-trends-message p {
	margin: 0 0 2rem 0;
	font-size: 1rem;
	color: var(--text-light);
	line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.assessment-trends-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.insights-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.assessment-trend-card {
		padding: 1rem;
	}
	
	.insight-card {
		padding: 1rem;
	}
}

.biomarker-card {
	background: var(--card-bg);
	border-radius: 8px;
	padding: 20px;
	border-left: 4px solid #ddd;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.biomarker-card.biomarker-optimal {
	border-left-color: #28a745;
}

.biomarker-card.biomarker-suboptimal {
	border-left-color: #ffc107;
}

.biomarker-card.biomarker-poor {
	border-left-color: #dc3545;
}

.biomarker-card h4 {
	margin: 0 0 15px 0;
	color: var(--text-dark);
	font-size: 1.1rem;
}

.biomarker-flags {
	margin-bottom: 15px;
}

.flag-indicator {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 6px;
	margin-bottom: 8px;
	font-size: 0.9rem;
	font-weight: 600;
}

.flag-indicator.flag-critical {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.flag-indicator.flag-warning {
	background: #fff3cd;
	color: #856404;
	border: 1px solid #ffeaa7;
}

.flag-indicator.flag-info {
	background: #d1ecf1;
	color: #0c5460;
	border: 1px solid #bee5eb;
}

.flag-icon {
	font-size: 1.1rem;
}

.biomarker-values {
	margin-bottom: 10px;
}

.biomarker-values .current-value,
.biomarker-values .target-value,
.biomarker-values .recommended-range {
	display: block;
	margin-bottom: 5px;
}

.biomarker-values .label {
	font-weight: 600;
	color: var(--text-light);
	margin-right: 8px;
}

.biomarker-values .value {
	font-weight: 700;
	color: var(--text-dark);
}

.test-date {
	font-size: 0.9rem;
	color: var(--text-light);
	margin-bottom: 10px;
}

.status-indicator {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
}

.status-indicator.status-optimal {
	background: #d4edda;
	color: #155724;
}

.status-indicator.status-suboptimal {
	background: #fff3cd;
	color: #856404;
}

.status-indicator.status-poor {
	background: #f8d7da;
	color: #721c24;
}

.no-data-message {
	text-align: center;
	padding: 40px 20px;
	color: var(--text-light);
}

.score-comparison {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	margin: 30px 0;
	flex-wrap: wrap;
}

.current-score-card,
.new-life-score-card {
	text-align: center;
	padding: 20px;
	border-radius: 12px;
	background: var(--card-bg);
	border: 2px solid var(--border-color);
	min-width: 180px;
}

.new-life-score-card {
	border-color: #28a745;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9f7ef 100%);
}

.score-display {
	font-size: 3rem;
	font-weight: 700;
	color: var(--primary-color);
	margin: 10px 0;
}

.score-display.new-life {
	color: #28a745;
}

.score-label {
	font-size: 0.9rem;
	color: var(--text-light);
	font-weight: 600;
}

.arrow-improvement {
	text-align: center;
}

.improvement-arrow {
	font-size: 2rem;
	color: #28a745;
	font-weight: 700;
}

.improvement-text {
	display: block;
	margin-top: 10px;
}

.improvement-value {
	font-size: 1.2rem;
	font-weight: 700;
	color: #28a745;
}

.improvement-percent {
	display: block;
	font-size: 0.9rem;
	color: var(--text-light);
}

.transformation-plan {
	margin-top: 40px;
}

.targets-overview {
	margin: 20px 0;
}

.targets-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
	margin-top: 15px;
}

.target-item {
	background: var(--card-bg);
	padding: 15px;
	border-radius: 8px;
	border: 1px solid var(--border-color);
}

.biomarker-name {
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.target-progress {
	display: flex;
	align-items: center;
	gap: 10px;
}

.target-progress .current {
	color: var(--text-light);
}

.target-progress .arrow {
	color: #28a745;
	font-weight: 700;
}

.target-progress .target {
	color: #28a745;
	font-weight: 600;
}

.next-steps {
	margin-top: 30px;
	padding: 20px;
	background: var(--card-bg);
	border-radius: 8px;
	border: 1px solid var(--border-color);
}

.next-steps ul {
	margin: 15px 0;
	padding-left: 20px;
}

.next-steps li {
	margin-bottom: 8px;
	color: var(--text-dark);
}

.no-new-life-data {
	text-align: center;
	padding: 40px 20px;
}

.no-new-life-data ul {
	text-align: left;
	display: inline-block;
	margin: 20px 0;
}

/* Profile completeness styles */
.profile-completeness {
	margin: 20px 0;
}

.completeness-score {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.completeness-circle {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: white;
	position: relative;
}

.completeness-circle.high {
	background: #28a745;
}

.completeness-circle.medium {
	background: #ffc107;
}

.completeness-circle.low {
	background: #dc3545;
}

.completeness-info h4 {
	margin: 0 0 5px 0;
	color: var(--text-dark);
}

.completeness-info p {
	margin: 0;
	color: var(--text-light);
	font-size: 0.9rem;
}

.missing-items {
	margin-top: 20px;
}

.missing-items h5 {
	margin: 0 0 10px 0;
	color: var(--text-dark);
}

.missing-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	background: #f8f9fa;
	border-radius: 6px;
	margin-bottom: 8px;
	border-left: 3px solid #6c757d;
}

.missing-item-icon {
	color: #6c757d;
	font-size: 1.1rem;
}

.missing-item-text {
	color: var(--text-dark);
	font-size: 0.9rem;
}

.missing-item-action {
	margin-left: auto;
}

.missing-item-action a {
	color: var(--primary-color);
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 600;
}

.missing-item-action a:hover {
	text-decoration: underline;
}

/* Symptoms Tab Styles */
.symptoms-container {
	padding: 0;
}

.symptoms-overview {
	/* max-width: 1200px; */
	margin: 0 auto;
	background: transparent;
	box-shadow: none;
}

.symptoms-header {
	text-align: center;
	margin-bottom: 30px;
}

/* Unified stats styling - see above for .symptoms-summary-stats */

.current-symptoms-section,
.symptom-history-section,
.biomarker-correlations-section {
	margin-bottom: 40px;
}

.section-header {
	margin-bottom: 20px;
}

.section-header h4 {
	margin: 0 0 8px 0;
	color: var(--text-dark);
	font-size: 1.2rem;
}

.section-header p {
	margin: 0;
	color: var(--text-light);
	font-size: 0.9rem;
}

.symptoms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.symptom-card {
	background: white;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	border: 1px solid #e9ecef;
	transition: all 0.3s ease;
}

.symptom-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.symptom-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}

.symptom-icon {
	font-size: 1.5rem;
	color: var(--primary-color);
}

.symptom-info {
	flex: 1;
}

.symptom-name {
	margin: 0 0 5px 0;
	color: var(--text-dark);
	font-size: 1.1rem;
	font-weight: 600;
}

.symptom-meta {
	display: flex;
	gap: 10px;
}

.symptom-severity,
.symptom-frequency {
	background: #f8f9fa;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 0.8rem;
	color: var(--text-light);
}

.symptom-status {
	margin-left: auto;
}

.status-badge {
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
}

.status-badge.active {
	background: #d4edda;
	color: #155724;
}

.status-badge.flagged {
	background: #fff3cd;
	color: #856404;
}

.symptom-sources,
.symptom-timeline {
	margin-top: 10px;
	font-size: 0.85rem;
	color: var(--text-light);
}

.symptom-tag {
	display: inline-block;
	background: linear-gradient(135deg, var(--primary-color), #4a90e2);
	color: #333333;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	margin: 0;
	box-shadow: 0 2px 4px rgba(74, 144, 226, 0.2);
	transition: all 0.3s ease;
}

.symptom-tag:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

.no-history-message {
	text-align: center;
	padding: 40px 20px;
	background: #f8f9fa;
	border-radius: 12px;
	border: 2px dashed #dee2e6;
}

.no-history-message p {
	color: #666666;
	font-size: 1rem;
	margin: 0;
}

/* Enhanced section styling */
.symptom-history-section {
	margin-bottom: 40px;
	background: #fafbfc;
	padding: 25px;
	border-radius: 16px;
	border: 1px solid #e9ecef;
}

.symptom-history-section .section-header {
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e9ecef;
}

.symptom-history-section .section-header h4 {
	margin: 0 0 8px 0;
	color: #333333;
	font-size: 1.3rem;
	font-weight: 700;
}

.symptom-history-section .section-header p {
	margin: 0;
	color: #666666;
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Ensure timeline text is readable */
.timeline-entry {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
	padding: 20px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e9ecef;
	position: relative;
	transition: all 0.3s ease;
}

.timeline-entry:hover {
	transform: translateX(5px);
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
	border-color: var(--primary-color);
}

.timeline-entry::before {
	content: '';
	position: absolute;
	left: 138px;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	background: var(--primary-color);
	border-radius: 50%;
	border: 3px solid white;
	box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-date {
	font-weight: 600;
	color: #333333;
	min-width: 120px;
	font-size: 0.9rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 2px;
}

.timeline-date::before {
	content: '📅';
	margin-right: 8px;
	font-size: 1rem;
}

.relative-time {
	font-size: 0.75rem;
	color: #666666;
	font-weight: 400;
	margin-top: 2px;
	font-style: italic;
}

.assessment-source {
	font-size: 0.8rem;
	color: #4a90e2;
	font-weight: 500;
	margin-top: 4px;
	background: rgba(74, 144, 226, 0.1);
	padding: 2px 6px;
	border-radius: 4px;
	border-left: 2px solid #4a90e2;
}

.symptoms-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.symptom-tag {
	display: inline-block;
	background: linear-gradient(135deg, var(--primary-color), #4a90e2);
	color: #333333;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	margin: 0;
	box-shadow: 0 2px 4px rgba(74, 144, 226, 0.2);
	transition: all 0.3s ease;
}

.symptom-tag:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

.no-history-message {
	text-align: center;
	padding: 40px 20px;
	background: #f8f9fa;
	border-radius: 12px;
	border: 2px dashed #dee2e6;
}

.no-history-message p {
	color: #666666;
	font-size: 1rem;
	margin: 0;
}

/* Enhanced section styling */
.symptom-history-section {
	margin-bottom: 40px;
	background: #fafbfc;
	padding: 25px;
	border-radius: 16px;
	border: 1px solid #e9ecef;
	max-width: 100% !important;
}

.symptom-history-section .section-header {
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e9ecef;
}

.symptom-history-section .section-header h4 {
	margin: 0 0 8px 0;
	color: #333333;
	font-size: 1.3rem;
	font-weight: 700;
}

.symptom-history-section .section-header p {
	margin: 0;
	color: #666666;
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Ensure timeline text is readable */
.timeline-entry {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
	padding: 20px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border: 1px solid #e9ecef;
	position: relative;
	transition: all 0.3s ease;
}

.timeline-date {
	font-weight: 600;
	color: #333333;
	min-width: 120px;
	font-size: 0.9rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 2px;
}

.timeline-date::before {
	content: '📅';
	margin-right: 8px;
	font-size: 1rem;
}

.timeline-content {
	flex: 1;
	padding-left: 10px;
	color: #333333;
}

.no-history-message {
	text-align: center;
	padding: 40px 20px;
	background: #f8f9fa;
	border-radius: 12px;
	border: 2px dashed #dee2e6;
}

.no-history-message p {
	color: #666666;
	font-size: 1rem;
	margin: 0;
}

.biomarker-flags-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}

.biomarker-flag-card {
	background: white;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	border: 1px solid #e9ecef;
	border-left: 4px solid #ffc107;
}

.flag-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}

.flag-icon {
	font-size: 1.5rem;
	color: #ffc107;
}

.flag-info {
	flex: 1;
}

.biomarker-name {
	margin: 0 0 5px 0;
	color: var(--text-dark);
	font-size: 1.1rem;
	font-weight: 600;
}

.flag-reason {
	color: var(--text-light);
	font-size: 0.9rem;
}

.flag-details,
.flag-category {
	margin-top: 10px;
	font-size: 0.85rem;
	color: var(--text-light);
}

.empty-state {
	text-align: center;
	padding: 40px 20px;
	background: #f8f9fa;
	border-radius: 12px;
	border: 2px dashed #dee2e6;
}

.empty-icon {
	font-size: 3rem;
	margin-bottom: 15px;
	color: #6c757d;
}

.empty-state h5 {
	margin: 0 0 10px 0;
	color: var(--text-dark);
}

.empty-state p {
	margin: 0 0 20px 0;
	color: var(--text-light);
}

.symptoms-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid #e9ecef;
}

.btn-secondary {
	background: #6c757d;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-secondary:hover {
	background: #5a6268;
	transform: translateY(-1px);
}

.btn-primary {
	background: var(--primary-color);
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background: var(--primary-dark);
	transform: translateY(-1px);
}

/* Duration styling */
.symptom-duration {
	margin-top: 8px;
	padding: 4px 8px;
	background: rgba(0, 0, 0, 0.05);
	border-radius: 4px;
}

.duration-info {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
}

.duration-label {
	color: #666;
	font-weight: 500;
}

.duration-value {
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 10px;
}

.duration-value.normal {
	background: #e8f5e8;
	color: #2d5a2d;
}

.duration-value.warning {
	background: #fff3cd;
	color: #856404;
}

.duration-value.urgent {
	background: #f8d7da;
	color: #721c24;
}

.duration-value.expired {
	background: #f5f5f5;
	color: #999;
}

.duration-info.expired {
	opacity: 0.7;
}

/* Flagged biomarker badges */
.flagged-badge {
	background: #dc2626;
	color: white;
	padding: 2px 6px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 600;
	margin-left: 8px;
}

.symptom-trigger-badge {
	background: #f59e0b;
	color: white;
	padding: 2px 6px;
	border-radius: 12px;
	font-size: 9px;
	font-weight: 500;
	margin-left: 4px;
	opacity: 0.9;
}

/* Enhanced Flagged Biomarker Styles */
.flag-reason-badge {
	background: #dc2626;
	color: white;
	padding: 2px 6px;
	border-radius: 12px;
	font-size: 9px;
	font-weight: 500;
	margin-left: 4px;
	opacity: 0.9;
}

.biomarker-list-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.85rem;
	color: var(--text-light, #666666);
}

.biomarker-list-flag-type {
	background: #6366f1;
	color: white;
	padding: 2px 6px;
	border-radius: 8px;
	font-size: 8px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.biomarker-list-flag-type[data-type="symptom"] {
	background: #f59e0b;
}

.biomarker-list-flag-type[data-type="lab"] {
	background: #059669;
}

.biomarker-list-flag-type[data-type="manual"] {
	background: #6366f1;
}

.biomarker-list-flag-type[data-type="critical"] {
	background: #dc2626;
}

/* Enhanced biomarker list item layout */
.biomarker-list-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
	cursor: pointer;
	transition: background-color 0.2s ease;
	flex-direction: row;
}

.biomarker-list-item:hover {
	background: var(--hover-bg, rgba(255, 255, 255, 0.05));
}

.biomarker-list-name {
	flex: 1;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	font-weight: 500;
	color: var(--text-dark, #333333);
}

.biomarker-list-expand {
	color: var(--text-light, #666666);
	font-size: 0.8rem;
	transition: transform 0.2s ease;
}

.biomarker-list-item.expanded .biomarker-list-expand {
	transform: rotate(180deg);
}

/* Assessment Icons */
.assessment-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: transparent;
	color: white;
	margin-right: 12px;
	flex-shrink: 0;
}

.assessment-icon svg {
	width: 26px;
	height: 26px;
}

/* Health Goals Pills */
.goal-pill {
	display: flex;
	align-items: center;
	padding: 8px 12px;
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 60px;
	cursor: pointer;
	transition: all 0.2s ease;
	margin: 4px;
	font-size: 14px;
	font-weight: 500;
	color: #64748b;
	position: relative;
	overflow: hidden;
}

.goal-pill:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	transform: translateY(-1px);
}

.goal-pill.selected {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: var(--accent-primary);
    color: white;
}

.goal-pill-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-right: 8px;
	flex-shrink: 0;
}

.goal-pill-icon svg {
	width: 16px;
	height: 16px;
}

.goal-pill-text {
	/* flex: 1; */
	/* white-space: nowrap; */
}

.goal-pill-check {
	display: none;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-left: 8px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.goal-pill-check.visible {
	display: flex;
	opacity: 1;
}

.goal-pill-loading {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.9);
	align-items: center;
	justify-content: center;
	border-radius: 18px;
}

.goal-pill.loading .goal-pill-loading {
	display: flex;
}

.loading-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid #e2e8f0;
	border-top: 2px solid var(--primary-color, #3b82f6);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.health-goals-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 auto;
	max-width: 1000px;
}

.goals-summary {
	margin-top: 16px;
	padding: 12px;
	background: #f8fafc;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

.goals-counter {
	font-size: 14px;
	color: #64748b;
	margin-bottom: 8px;
}

.selected-count {
	font-weight: 600;
	color: var(--primary-color, #3b82f6);
}

.goals-boost-indicator {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #059669;
}

.goals-boost-indicator svg {
	width: 14px;
	height: 14px;
}

.no-goals-message {
	text-align: center;
	padding: 32px 16px;
	color: #64748b;
}

.no-goals-icon {
	margin-bottom: 16px;
	color: #cbd5e1;
}

.no-goals-message h3 {
	margin: 0 0 8px 0;
	color: #475569;
	font-size: 18px;
}

.no-goals-message p {
	margin: 0 0 16px 0;
	font-size: 14px;
	line-height: 1.5;
}

/* ADDITIONAL TAB CLICKING FIXES - More Aggressive */
.my-story-tab-nav {
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    user-select: none !important;
}

.my-story-tab-nav * {
    pointer-events: auto !important;
    user-select: none !important;
}

.my-story-tab-nav a {
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.my-story-tab-nav a:hover,
.my-story-tab-nav a:focus,
.my-story-tab-nav a:active {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.my-story-tab-nav a[href] {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Override any theme styles that might interfere */
.my-story-tab-nav,
.my-story-tab-nav *,
.my-story-tab-nav a,
.my-story-tab-nav a:hover,
.my-story-tab-nav a:focus,
.my-story-tab-nav a:active {
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: none !important;
}

/* Ensure tab content is properly positioned */
.my-story-tab-content {
    position: relative !important;
    z-index: 999 !important;
    pointer-events: auto !important;
}

.my-story-tab-content.my-story-tab-active {
    position: relative !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Debug styles to make tabs more visible */
.my-story-tab-nav a {
    border: 2px solid transparent !important;
    transition: all 0.2s ease !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.my-story-tab-nav a:hover {
    border-color: #007cba !important;
    background-color: rgba(0, 124, 186, 0.1) !important;
}

.my-story-tab-nav a.my-story-tab-active {
    border-color: #fff !important;
    background-color: #424242 !important;
    color: #fff !important;
}