/**
 * Artemis Intake Wizard Styles
 * Mobile-first responsive design
 */

/* Wizard Container */
.intake-wizard {
	max-width: 100%;
	margin: 0 auto;
}

/* Progress Bar (Sticky) */
.wizard-progress {
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 100;
	padding: 15px 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
}

.progress-track {
	width: 100%;
	height: 8px;
	background: #e0e0e0;
	border-radius: 4px;
	margin-bottom: 15px;
	overflow: hidden;
}

.progress-bar {
	height: 100%;
	background: #4CAF50;
	border-radius: 4px;
	transition: width 0.3s ease;
	width: 0%;
}

.step-indicators {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.step-indicators .step {
	padding: 5px 10px;
	opacity: 0.5;
	white-space: nowrap;
	transition: all 0.3s ease;
	cursor: pointer;
	border-radius: 4px;
}

.step-indicators .step:hover {
	opacity: 0.8;
	background: rgba(76, 175, 80, 0.1);
}

.step-indicators .step.active {
	opacity: 1;
	font-weight: bold;
	color: #4CAF50;
	background: rgba(76, 175, 80, 0.15);
}

.step-indicators .step.completed {
	opacity: 0.8;
	color: #666;
}

/* Wizard Steps */
.wizard-step {
	padding: 20px;
	max-width: 960px;
	margin: 0 auto;
	animation: fadeIn 0.3s ease-in;
}

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

.wizard-step h2 {
	margin-bottom: 15px;
	font-size: 24px;
	color: #333;
}

.wizard-step p {
	margin-bottom: 20px;
	color: #666;
	line-height: 1.6;
}

/* Forms */
.step-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	min-width: 18px;
	min-height: 18px;
}

.checkbox-label span {
	flex: 1;
	font-size: 16px;
	line-height: 1.5;
}

/* Navigation Buttons */
.nav-buttons {
	display: flex;
	gap: 10px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.btn {
	min-height: 44px;
	min-width: 120px;
	font-size: 16px; /* Prevents iOS zoom */
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-weight: 500;
}

.btn-next,
.btn-submit {
	background: #4CAF50;
	color: white;
	flex: 1;
}

.btn-next:hover,
.btn-submit:hover {
	background: #45a049;
}

.btn-prev {
	background: #f0f0f0;
	color: #333;
}

.btn-prev:hover {
	background: #e0e0e0;
}

.btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Auto-save Indicator */
.autosave-status {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: rgba(0, 0, 0, 0.8);
	color: white;
	padding: 10px 15px;
	border-radius: 4px;
	font-size: 14px;
	z-index: 1000;
}

.autosave-status .saving,
.autosave-status .saved {
	display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
	.wizard-step {
		padding: 15px;
	}

	.wizard-step h2 {
		font-size: 20px;
	}

	.step-indicators {
		font-size: 11px;
	}

	.step-indicators .step {
		padding: 4px 8px;
	}

	.nav-buttons {
		flex-direction: column;
	}

	.btn {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.wizard-progress {
		padding: 10px 15px;
	}

	.step-indicators {
		font-size: 10px;
		gap: 4px;
	}

	.step-indicators .step {
		padding: 3px 6px;
	}
}

/* Accessibility */
.btn:focus {
	outline: 2px solid #4CAF50;
	outline-offset: 2px;
}

input[type="checkbox"]:focus {
	outline: 2px solid #4CAF50;
	outline-offset: 2px;
}

/* Welcome Step Styles - Hero Section */
.welcome-header {
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: -20px -20px 40px -20px;
	padding: 60px 20px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.welcome-header::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(6, 78, 59, 0.7), rgba(6, 95, 70, 0.6), rgba(20, 83, 45, 0.8));
	z-index: 1;
}

.welcome-header > * {
	position: relative;
	z-index: 2;
}

.welcome-title {
	font-size: 3rem;
	color: white;
	margin-bottom: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

.welcome-message {
	max-width: 700px;
	margin: 0 auto;
	font-size: 1.25rem;
	line-height: 1.8;
	color: #d1fae5;
	text-align: center;
}

.welcome-message p {
	margin-bottom: 15px;
	color: #d1fae5 !important;
}

/* Journey Steps */
.journey-steps {
	margin: 40px 0;
	padding: 30px 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.journey-steps h2 {
	text-align: center;
	font-size: 22px;
	color: #2c5f2d;
	margin-bottom: 30px;
	font-weight: 500;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 25px;
	max-width: 900px;
	margin: 0 auto;
}

.journey-step {
	text-align: center;
	padding: 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journey-step:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step-number {
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, #4CAF50, #2c5f2d);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: bold;
	margin: 0 auto 15px;
}

.journey-step h3 {
	font-size: 18px;
	color: #333;
	margin-bottom: 10px;
	font-weight: 600;
}

.journey-step p {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin: 0;
}

/* Consent Form */
.consent-form {
	margin-top: 40px;
	padding: 30px;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
}

.consent-title {
	font-size: 20px;
	color: #2c5f2d;
	margin-bottom: 20px;
	text-align: center;
	font-weight: 600;
}

.consent-checkboxes {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 30px;
}

.consent-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	padding: 12px;
	border-radius: 4px;
	transition: background 0.2s ease;
}

.consent-item:hover {
	background: #f8f9fa;
}

.consent-item input[type="checkbox"] {
	margin-top: 3px;
	min-width: 20px;
	min-height: 20px;
	cursor: pointer;
}

.consent-item span {
	flex: 1;
	font-size: 15px;
	line-height: 1.6;
	color: #333;
}

.consent-item a {
	color: #4CAF50;
	text-decoration: underline;
	font-weight: 500;
}

.consent-item a:hover {
	color: #2c5f2d;
}

.btn-begin {
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	display: block;
	font-size: 18px;
	padding: 15px 30px;
	background: linear-gradient(135deg, #4CAF50, #2c5f2d);
	transition: all 0.3s ease;
}

.btn-begin:hover {
	background: linear-gradient(135deg, #45a049, #234d24);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-begin:disabled {
	background: #ccc;
	cursor: not-allowed;
	transform: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.welcome-title {
		font-size: 26px;
	}

	.welcome-message {
		font-size: 16px;
	}

	.steps-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.journey-steps h2 {
		font-size: 20px;
	}

	.consent-form {
		padding: 20px;
	}

	.consent-item {
		padding: 10px;
	}

	.consent-item span {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.welcome-title {
		font-size: 22px;
	}

	.welcome-message {
		font-size: 15px;
	}

	.journey-steps {
		padding: 20px 15px;
	}

	.step-number {
		width: 45px;
		height: 45px;
		font-size: 20px;
	}

	.journey-step h3 {
		font-size: 16px;
	}
}

/* Step Header & Artemis Speaks */
.step-header {
	margin-bottom: 30px;
}

.step-header h2 {
	font-size: 28px;
	color: #2c5f2d;
	margin-bottom: 20px;
	text-align: center;
}

.artemis-speaks {
	background: linear-gradient(135deg, #f8f9fa, #e8f5e9);
	padding: 25px;
	border-radius: 8px;
	border-left: 4px solid #4CAF50;
	margin-bottom: 30px;
}

.artemis-speaks .quote {
	font-style: italic;
	font-size: 16px;
	color: #555;
	margin-bottom: 15px;
	line-height: 1.6;
}

.artemis-speaks .question {
	font-size: 18px;
	color: #2c5f2d;
	font-weight: 500;
	margin: 0;
}

/* Examples Section */
.examples-section {
	margin: 25px 0;
}

.examples-intro {
	font-size: 15px;
	color: #666;
	margin-bottom: 15px;
	text-align: center;
}

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

.example-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 15px;
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	transition: all 0.2s ease;
}

.example-item:hover {
	border-color: #4CAF50;
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
}

.example-icon {
	font-size: 24px;
	flex-shrink: 0;
}

.example-text {
	font-size: 14px;
	color: #555;
	font-style: italic;
	margin: 0;
	line-height: 1.5;
}

/* Form Sections */
.form-section {
	margin-bottom: 30px;
}

.form-label {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
}

.form-label .required {
	color: #d32f2f;
	margin-left: 4px;
}

.form-section textarea,
.form-section input[type="text"],
.form-section input[type="email"],
.form-section input[type="tel"],
.form-section input[type="date"],
.form-section input[type="time"],
.form-section select {
	width: 100%;
	padding: 12px;
	font-size: 16px;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	transition: border-color 0.3s ease;
	font-family: inherit;
	box-sizing: border-box;
}

.form-section textarea:focus,
.form-section input:focus,
.form-section select:focus {
	outline: none;
	border-color: #4CAF50;
}

.form-section textarea {
	resize: vertical;
	min-height: 100px;
}

.form-section input[type="text"] {
	margin-bottom: 10px;
}

.field-hint {
	font-size: 14px;
	color: #666;
	margin-top: 8px;
	font-style: italic;
}

/* Radio Group */
.radio-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.radio-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.radio-item:hover {
	background: #f8f9fa;
	border-color: #4CAF50;
}

.radio-item input[type="radio"] {
	min-width: 18px;
	min-height: 18px;
	cursor: pointer;
}

.radio-item input[type="radio"]:checked + span {
	color: #2c5f2d;
	font-weight: 500;
}

.radio-item span {
	font-size: 15px;
	color: #333;
}

/* Ready Message */
.ready-message {
	margin: 30px 0;
}

.message-box {
	padding: 20px;
	border-radius: 8px;
	border-left: 4px solid;
}

.message-box.success {
	background: #e8f5e9;
	border-color: #4CAF50;
}

.message-box .message-title {
	font-size: 18px;
	font-weight: 600;
	color: #2c5f2d;
	margin-bottom: 10px;
}

.message-box p:last-child {
	margin: 0;
	color: #555;
	line-height: 1.6;
}

/* Responsive Form Adjustments */
@media (max-width: 768px) {
	.step-header h2 {
		font-size: 24px;
	}

	.artemis-speaks {
		padding: 20px;
	}

	.artemis-speaks .quote {
		font-size: 15px;
	}

	.artemis-speaks .question {
		font-size: 16px;
	}

	.examples-grid {
		grid-template-columns: 1fr;
	}

	.example-item {
		padding: 12px;
	}

	.example-icon {
		font-size: 20px;
	}

	.example-text {
		font-size: 13px;
	}

	.form-section {
		margin-bottom: 25px;
	}
}

@media (max-width: 480px) {
	.step-header h2 {
		font-size: 22px;
	}

	.artemis-speaks {
		padding: 15px;
	}

	.artemis-speaks .quote {
		font-size: 14px;
	}

	.artemis-speaks .question {
		font-size: 15px;
	}

	.form-label {
		font-size: 15px;
	}

	.radio-item {
		padding: 10px;
	}

	.radio-item span {
		font-size: 14px;
	}
}

/* Symptom Search */
.symptom-search-container {
	margin-bottom: 30px;
}

.search-input-wrapper {
	position: relative;
}

.symptom-search-input {
	width: 100%;
	padding: 14px 16px;
	font-size: 16px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	transition: border-color 0.3s ease;
}

.symptom-search-input:focus {
	outline: none;
	border-color: #4CAF50;
	box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: white;
	border: 2px solid #4CAF50;
	border-top: none;
	border-radius: 0 0 8px 8px;
	max-height: 300px;
	overflow-y: auto;
	z-index: 100;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-result-item {
	padding: 12px 16px;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
	transition: background 0.2s ease;
}

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

.search-result-item:hover {
	background: #f8f9fa;
}

.search-result-item.redflag {
	background: #fff3e0;
	border-left: 4px solid #ff9800;
}

.search-result-label {
	font-weight: 500;
	color: #333;
	display: block;
	margin-bottom: 4px;
}

.search-result-meta {
	font-size: 13px;
	color: #666;
}

.search-result-redflag {
	color: #d32f2f;
	font-weight: 600;
	font-size: 12px;
	margin-left: 8px;
}

/* Selected Symptoms */
.selected-symptoms-container {
	margin-bottom: 30px;
}

.section-title {
	font-size: 18px;
	font-weight: 600;
	color: #2c5f2d;
	margin-bottom: 15px;
}

.symptom-count {
	color: #666;
	font-weight: 400;
	font-size: 16px;
}

.selected-symptoms-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 15px;
}

.symptom-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: white;
	border: 2px solid #4CAF50;
	border-radius: 24px;
	font-size: 15px;
	color: #333;
	cursor: pointer;
	transition: all 0.2s ease;
}

.symptom-chip:hover {
	background: #f1f8f4;
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.symptom-chip.expanded {
	border-radius: 8px;
	flex-direction: column;
	align-items: flex-start;
	padding: 16px;
	width: 100%;
	cursor: default;
}

.symptom-chip-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.symptom-chip-label {
	font-weight: 500;
}

.symptom-chip-summary {
	font-size: 12px;
	color: #666;
	margin-top: 4px;
	padding-left: 2px;
}

.symptom-chip-remove,
.symptom-chip-collapse {
	background: none;
	border: none;
	color: #999;
	font-size: 18px;
	cursor: pointer;
	padding: 0;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
}

.symptom-chip-remove:hover,
.symptom-chip-collapse:hover {
	color: #d32f2f;
}

.symptom-chip-details {
	width: 100%;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e0e0e0;
}

.symptom-detail-row {
	margin-bottom: 12px;
}

.symptom-detail-row:last-child {
	margin-bottom: 0;
}

.symptom-detail-label {
	font-size: 13px;
	color: #666;
	margin-bottom: 6px;
	display: block;
}

.intensity-slider {
	width: 100%;
}

.intensity-value {
	display: inline-block;
	margin-left: 8px;
	font-weight: 600;
	color: #4CAF50;
}

.no-symptoms-message {
	color: #999;
	font-style: italic;
	text-align: center;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

/* Suggestions */
.symptom-suggestions {
	margin-bottom: 30px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
}

.suggestions-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.suggestion-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: white;
	border: 2px dashed #4CAF50;
	border-radius: 20px;
	font-size: 14px;
	color: #2c5f2d;
	cursor: pointer;
	transition: all 0.2s ease;
}

.suggestion-chip:hover {
	background: #4CAF50;
	color: white;
	border-style: solid;
}

.suggestion-chip::before {
	content: '+';
	font-weight: bold;
	font-size: 16px;
}

/* Pattern Matching */
.pattern-matching {
	margin-bottom: 30px;
}

.patterns-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pattern-card {
	padding: 16px;
	background: white;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.pattern-card:hover {
	border-color: #4CAF50;
	box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
}

.pattern-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.pattern-name {
	font-weight: 600;
	color: #2c5f2d;
	font-size: 16px;
}

.pattern-match {
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.pattern-match.high {
	color: #4CAF50;
}

.pattern-symptoms {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

/* Red Flag Warning */
.redflag-warning {
	margin-bottom: 30px;
}

.message-box.error {
	background: #ffebee;
	border-color: #d32f2f;
}

.message-box.error .message-title {
	color: #d32f2f;
}

.redflag-actions {
	display: flex;
	gap: 12px;
	margin-top: 16px;
}

.btn-danger {
	background: #d32f2f;
	color: white;
}

.btn-danger:hover {
	background: #b71c1c;
}

.btn-secondary {
	background: #757575;
	color: white;
}

.btn-secondary:hover {
	background: #616161;
}

/* Responsive Symptom Styles */
@media (max-width: 768px) {
	.symptom-chip {
		font-size: 14px;
		padding: 8px 12px;
	}

	.selected-symptoms-list {
		gap: 8px;
	}

	.pattern-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.redflag-actions {
		flex-direction: column;
	}

	.redflag-actions .btn {
		width: 100%;
	}
}

/* Form Row Layout */
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

/* Range Slider Styling */
.range-slider {
	width: 100%;
	height: 6px;
	border-radius: 3px;
	background: #e0e0e0;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.range-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #4CAF50;
	cursor: pointer;
	transition: background 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
	background: #45a049;
}

.range-slider::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #4CAF50;
	cursor: pointer;
	border: none;
	transition: background 0.2s ease;
}

.range-slider::-moz-range-thumb:hover {
	background: #45a049;
}

.range-output {
	display: inline-block;
	margin-left: 10px;
	font-weight: 600;
	color: #4CAF50;
	min-width: 40px;
}

/* Radio Group Inline */
.radio-group-inline {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.radio-group-inline .radio-label {
	margin-bottom: 0;
}

/* Checkbox Group */
.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	padding: 10px;
	border-radius: 6px;
	transition: background 0.2s ease;
}

.checkbox-label:hover {
	background: #f5f5f5;
}

.checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.checkbox-label span {
	flex: 1;
}

/* Form Hints */
.form-hint {
	display: block;
	font-size: 13px;
	color: #666;
	font-weight: 400;
	margin-top: 4px;
}

/* Scale Slider Container */
.scale-slider-container {
	margin-top: 10px;
}

.scale-labels {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 13px;
	color: #666;
}

.scale-labels span:last-child {
	text-align: right;
}

.scale-slider-container .range-output {
	display: block;
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
}

@media (max-width: 768px) {
	.form-row {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.radio-group-inline {
		gap: 10px;
	}
}

@media (max-width: 480px) {
	.symptom-search-input {
		font-size: 15px;
		padding: 12px;
	}

	.search-result-item {
		padding: 10px 12px;
	}

	.section-title {
		font-size: 16px;
	}
}

/* Review Summary Styles */
.review-summary {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
	max-height: 500px;
	overflow-y: auto;
}

.summary-loading {
	text-align: center;
	padding: 40px;
	color: #666;
}

.loading-spinner {
	margin: 20px auto;
	width: 40px;
	height: 40px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #2c5f2d;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

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

.summary-error {
	text-align: center;
	padding: 40px;
	color: #d32f2f;
	background: #ffebee;
	border-radius: 8px;
	border: 2px solid #d32f2f;
}

.intake-narrative {
	line-height: 1.8;
}

.summary-section {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.summary-section:last-child {
	border-bottom: none;
}

.summary-section h3 {
	color: #2c5f2d;
	font-size: 18px;
	margin-bottom: 12px;
	font-weight: 600;
}

.summary-section p {
	margin: 8px 0;
	color: #333;
}

.summary-section strong {
	color: #555;
	font-weight: 600;
}

.alert-warning {
	background: #fff3cd;
	border-left: 4px solid #ffc107;
	padding: 12px;
	margin: 10px 0;
	border-radius: 4px;
}

.consent-final {
	background: #f0f8ff;
	padding: 15px;
	border-radius: 8px;
	border: 2px solid #4CAF50;
	font-weight: 500;
}

.consent-final input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin-right: 10px;
}

/* Safety Screening Styles */
.emergency-flag {
	border-left: 3px solid #d32f2f;
	padding-left: 12px;
	background: #ffebee;
}

.emergency-flag:hover {
	background: #ffcdd2;
}

.form-section {
	margin-bottom: 30px;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

.form-section h3 {
	margin-top: 0;
	margin-bottom: 15px;
	color: #333;
	font-size: 18px;
}

.section-note {
	color: #666;
	font-size: 14px;
	margin-bottom: 15px;
	font-style: italic;
}

.conditional-field {
	margin-top: 15px;
	padding: 15px;
	background: #fff;
	border-left: 3px solid #4CAF50;
	border-radius: 4px;
}

.step-intro {
	font-size: 16px;
	color: #555;
	margin-bottom: 25px;
	line-height: 1.6;
}

/* Print Styles */
@media print {
	.wizard-progress,
	.nav-buttons,
	.autosave-status {
		display: none;
	}
}
