/* Terms & Conditions */
.terms-agree {
	background: #fff8ef;
	border: 1px solid #f5d4a8;
	border-radius: 8px;
	padding: 14px 14px 14px 40px;
	margin-bottom: 16px;
}
.terms-agree .custom-control-label { font-size: 0.9rem; color: #444; cursor: pointer; }
.terms-agree a { color: #0a3d62; font-weight: 700; text-decoration: underline; }
.terms-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(0, 0, 0, .55);
	padding: 16px;
	align-items: center;
	justify-content: center;
}
.terms-modal.open { display: flex; }
.terms-modal-dialog {
	background: #fff;
	border-radius: 10px;
	max-width: 760px;
	width: 100%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.terms-modal-header {
	padding: 18px 24px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.terms-modal-header h4 { margin: 0; font-family: "Source Serif Pro", serif; color: #0a3d62; }
.terms-modal-close { background: none; border: none; font-size: 1.6rem; line-height: 1; color: #888; cursor: pointer; }
.terms-modal-body { padding: 20px 24px; overflow-y: auto; font-size: 0.88rem; color: #444; line-height: 1.65; }
.terms-modal-body h6 { color: #0a3d62; font-weight: 700; margin: 18px 0 6px; }
.terms-modal-body h6:first-of-type { margin-top: 4px; }
.terms-modal-body ul { padding-left: 20px; margin-bottom: 8px; }
.terms-modal-footer {
	padding: 14px 24px;
	border-top: 1px solid #eee;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}
