.cl-eligibility-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100000;
	align-items: center;
	justify-content: center;
}

.cl-eligibility-modal.is-open {
	display: flex;
}

.cl-eligibility-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.cl-eligibility-modal__panel {
	position: relative;
	background: #fff;
	max-width: 480px;
	width: calc(100% - 32px);
	max-height: calc(100vh - 64px);
	overflow-y: auto;
	border-radius: 8px;
	padding: 32px 28px 28px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cl-eligibility-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #666;
}

.cl-eligibility-modal__close:hover {
	color: #111;
}

.cl-eligibility-modal__title {
	margin: 0 0 8px;
	font-size: 20px;
}

.cl-eligibility-modal__intro {
	margin: 0 0 20px;
	color: #555;
	font-size: 14px;
}

.cl-eligibility-question {
	border: none;
	margin: 0 0 18px;
	padding: 0;
}

.cl-eligibility-question legend {
	font-weight: 600;
	margin-bottom: 10px;
	font-size: 14px;
	padding: 0;
}

.cl-pill-group {
	display: flex;
	gap: 8px;
}

.cl-pill-option {
	flex: 1;
	display: block;
}

.cl-pill-input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.cl-pill-label {
	display: block;
	text-align: center;
	padding: 10px 0;
	border-radius: 6px;
	border: 1px solid #ccc;
	background: #fff;
	color: #222;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.cl-pill-label:hover {
	border-color: #999;
}

.cl-pill-input:checked + .cl-pill-label {
	background: #8fd2db;
	border-color: #8fd2db;
	color: #061e21;
}

.cl-pill-input:focus-visible + .cl-pill-label {
	outline: 2px solid #8fd2db;
	outline-offset: 2px;
}

.cl-eligibility-error {
	background: #fdecea;
	border: 1px solid #f5c2c0;
	color: #9a1c1c;
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 14px;
	margin: 4px 0 18px;
}

.cl-eligibility-submit {
	width: 100%;
	padding: 12px 16px;
	background: #8fd2db;
	color: #061e21;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.cl-eligibility-submit:hover {
	background: #7dc5cf;
}
