body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.quiz-container {
	background: white;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	padding: 40px;
	position: relative;
	overflow: hidden;
}

.quiz-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: #e24589;
}

.quiz-header {
	text-align: center;
	margin-bottom: 30px;
}

.quiz-title {
	color: #e24589;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 10px;
}

.progress-bar {
	width: 100%;
	height: 8px;
	background: #f0f0f0;
	border-radius: 10px;
	margin: 20px 0;
	overflow: hidden;
}

.back-arrow {
	position: absolute;
	top: 40px;
	left: 20px;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 16px;
	color: #e24589;
	padding: 8px;
	transition: all 0.3s ease;
	display: none;
	z-index: 10;
}

.back-arrow:hover {
	transform: translateX(-3px);
	color: #ff6ba8;
}

.back-arrow.visible {
	display: block;
}

.close-button {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	font-size: 28px;
	color: #999;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.close-button:hover {
	background: #f0f0f0;
	color: #e24589;
	transform: rotate(90deg);
}

.progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #e24589, #ff6ba8);
	border-radius: 10px;
	transition: width 0.3s ease;
}

.question-counter {
	color: #666;
	font-size: 14px;
	margin-bottom: 5px;
}

.question-container {
	animation: fadeInUp 0.5s ease;
}

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

.question-text {
	font-size: 22px;
	color: #333;
	margin-bottom: 30px;
	line-height: 1.5;
	font-weight: 500;
}

.options-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.option-button {
	background: white;
	border: 2px solid #e0e0e0;
	border-radius: 12px;
	padding: 18px 24px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: left;
	position: relative;
	overflow: hidden;
}

.option-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(226, 69, 137, 0.1), transparent);
	transition: left 0.5s ease;
}

.option-button:hover {
	border-color: #e24589;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(226, 69, 137, 0.2);
}

.option-button:hover::before {
	left: 100%;
}

.option-button:active {
	transform: translateY(0);
}

.option-button.selected {
	background: linear-gradient(135deg, #e24589, #ff6ba8);
	border-color: #e24589;
	color: white;
	animation: pulse 0.3s ease;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.02); }
}

/* Modal Styles */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(5px);
	z-index: 1000;
	animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.modal-content {
	background: white;
	border-radius: 20px;
	padding: 40px;
	max-width: 500px;
	width: 90%;
	position: relative;
	animation: slideUp 0.4s ease;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 8px;
	right: 8px;
	height: 6px;
	background: #e24589;
	border-radius: 20px 20px 0 0;
}

.result-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, #e24589, #ff6ba8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
}

.result-title {
	color: #e24589;
	font-size: 55px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 10px;
}

.result-score {
	text-align: center;
	color: #666;
	font-size: 16px;
	margin-bottom: 20px;
}

.result-description {
	color: #555;
	font-size: 16px;
	line-height: 1.6;
	text-align: center;
	margin-bottom: 30px;
}

.telehealth-button {
	display: block;
	padding: 16px;
	background: linear-gradient(135deg, #e24589, #ff6ba8);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
}

.telehealth-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(226, 69, 137, 0.4);
}

.telehealth-button:active {
	transform: translateY(0);
}

.disclaimer {
	font-size: 11px;
	color: #999;
	text-align: center;
	margin-top: 20px;
	font-style: italic;
}

@media (max-width: 600px) {
	.quiz-container {
		padding: 30px 20px;
	}

	.quiz-title {
		font-size: 24px;
	}

	.question-text {
		font-size: 18px;
	}

	.modal-content {
		padding: 30px 20px;
	}
}