/**
 * AI Symptom Checker Widget Styles
 */

.angie-symptom-checker {
	background-color: #f9f9f9;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	max-width: 600px;
	margin: 0 auto;
}

.angie-symptom-checker__title {
	margin-bottom: 15px;
	color: #333;
	font-weight: 700;
}

.angie-symptom-checker__description {
	margin-bottom: 20px;
	color: #666;
	font-size: 16px;
	line-height: 1.5;
}

.angie-symptom-checker__form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.angie-symptom-checker__input {
	width: 100%;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-family: inherit;
	font-size: 16px;
	resize: vertical;
	transition: border-color 0.3s ease;
}

.angie-symptom-checker__input:focus {
	outline: none;
	border-color: #790A93; /* Primary Color */
}

.angie-symptom-checker__button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 12px 24px;
	background-color: #C9A84C; /* Accent Color */
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.angie-symptom-checker__button:hover {
	background-color: #5C4792; /* Secondary Color */
	transform: translateY(-2px);
}

.angie-symptom-checker__button:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.angie-symptom-checker__spinner {
	display: none;
	width: 20px;
	height: 20px;
	margin-left: 10px;
	border: 2px solid rgba(255,255,255,0.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: angie-spin 1s ease-in-out infinite;
}

.angie-symptom-checker__button.is-loading .angie-symptom-checker__spinner {
	display: block;
}

@keyframes angie-spin {
	to { transform: rotate(360deg); }
}

.angie-symptom-checker__results {
	margin-top: 25px;
	padding: 20px;
	background-color: #ffffff;
	border-radius: 8px;
	border-left: 4px solid #790A93; /* Primary Color */
	box-shadow: 0 2px 10px rgba(0,0,0,0.03);
	animation: angie-fade-in 0.5s ease-out;
}

@keyframes angie-fade-in {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.angie-symptom-checker__results h4 {
	margin-top: 0;
	margin-bottom: 10px;
	color: #790A93; /* Primary Color */
	font-size: 18px;
}

.angie-symptom-checker__results ul {
	margin-bottom: 15px;
	padding-left: 20px;
}

.angie-symptom-checker__results li {
	margin-bottom: 5px;
	color: #444;
}

.angie-symptom-checker__cta {
	margin-top: 20px;
	text-align: center;
}

.angie-symptom-checker__cta-link {
	display: inline-block;
	padding: 10px 20px;
	background-color: #790A93; /* Primary Color */
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
	transition: background-color 0.3s ease;
}

.angie-symptom-checker__cta-link:hover {
	background-color: #5C4792; /* Secondary Color */
	color: #ffffff;
}

.angie-symptom-checker__disclaimer {
	margin-top: 15px;
	font-size: 13px;
	color: #888;
	font-style: italic;
	text-align: center;
}

/* Error state */
.angie-symptom-checker__error {
	color: #dc3545;
	background-color: #f8d7da;
	padding: 10px;
	border-radius: 4px;
	margin-top: 15px;
	text-align: center;
}
