/**
 * Medicare Plan Intelligence - Plan Finder
 */

.mpi-home-widgets {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	align-items: start;
}

.mpi-home-widget {
	min-width: 0;
}

@media (max-width: 767px) {
	.mpi-home-widgets {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.mpi-plan-finder {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 28px;
	background: #f8fafc;
	border: 1px solid #dce3eb;
	border-radius: 8px;
	box-sizing: border-box;
}
.mpi-plan-finder *,
.mpi-plan-finder *::before,
.mpi-plan-finder *::after {
	box-sizing: border-box;
}
.mpi-plan-finder-title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: #17324d;
}
.mpi-plan-finder-description {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
	color: #475569;
}
.mpi-plan-finder-field,
.mpi-plan-finder-county {
	margin-bottom: 18px;
}
.mpi-plan-finder-field label,
.mpi-plan-finder-county label,
.mpi-plan-finder-choices legend {
	display: block;
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
}
.mpi-plan-finder-field input,
.mpi-plan-finder-county select {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	font: inherit;
	font-size: 16px;
	color: #172b4d;
	background: #fff;
	border: 1px solid #b8c5d3;
	border-radius: 5px;
}
.mpi-plan-finder-choices {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}
.mpi-plan-finder-choice {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 9px 0;
	font-size: 15px;
	color: #334155;
	cursor: pointer;
}
.mpi-plan-finder-choice input {
	width: auto;
	margin: 0;
	accent-color: #175cd3;
}
.mpi-plan-finder-county[hidden] {
	display: none;
}
.mpi-plan-finder-button {
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: #175cd3;
	border: 1px solid #175cd3;
	border-radius: 5px;
	cursor: pointer;
}
.mpi-plan-finder-button:hover {
	background: #1249a8;
}
.mpi-plan-finder-button:disabled {
	opacity: .65;
	cursor: wait;
}
.mpi-plan-finder :focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}
.mpi-plan-finder-message {
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #334155;
}
.mpi-plan-finder-message:empty {
	display: none;
}
.mpi-plan-finder-message.mpi-error {
	color: #b91c1c;
}
.mpi-plan-finder-message.mpi-success {
	color: #166534;
}
@media (max-width: 600px) {
	.mpi-plan-finder {
		padding: 20px;
	}
	.mpi-plan-finder-title {
		font-size: 21px;
	}
}
