/* CSS dành cho form đăng ký ở frontend */

.ha-assessment-form {
	padding: 20px 20px;
	background: #ffffff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	text-align: left;
}

.ha-container {
	max-width: 1200px;
	margin: auto;
	display: grid;
	grid-template-columns: 1fr 450px;
	gap: 40px;
	align-items: center;
}

.ha-badge {
	display: inline-block;
	background: #ff4d8d;
	color: #fff;
	padding: 8px 18px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 15px;
}

.ha-left {
	padding-left: 20px;
}

.ha-left h2 {
	font-size: 36px;
	line-height: 1.3;
	color: #174a9c;
	margin-top: 0;
	margin-bottom: 10px;
}

.ha-left h3 {
	font-size: 24px;
	color: #ff4d8d;
	margin-top: 0;
	margin-bottom: 20px;
}

.ha-desc {
	font-size: 17px;
	color: #000;
	line-height: 1.8;
	margin-bottom: 25px;
}

.ha-assessment-form ul.ha-checklist {
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	margin: 0 0 30px !important;
	text-indent: 0 !important;
}

.ha-assessment-form ul.ha-checklist li {
	margin: 0 0 12px 0 !important;
	padding: 0 !important;
	font-size: 17px !important;
	color: #000 !important;
	list-style: none !important;
	list-style-type: none !important;
	background: none !important;
	text-indent: 0 !important;
}

.ha-assessment-form ul.ha-checklist li::before,
.ha-assessment-form ul.ha-checklist li::after {
	content: none !important;
	display: none !important;
}

.ha-benefits {
	display: flex;
	gap: 20px;
}

.ha-benefits div {
	flex: 1;
	text-align: center;
	background: #fff;
	border-radius: 15px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.ha-benefits strong {
	display: block;
	font-size: 28px;
	color: #ff4d8d;
}

.ha-benefits span {
	display: block;
	font-size: 14px;
	color: #666;
}

.ha-right form {
	background: #fff;
	padding: 35px;
	border-radius: 20px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
	box-sizing: border-box;
}

.ha-right h4 {
	text-align: center;
	color: #174a9c;
	font-size: 28px;
	margin-top: 0;
	margin-bottom: 25px;
}

.ha-right input,
.ha-right textarea {
	width: 100%;
	padding: 14px 15px;
	margin-bottom: 15px;
	border: 1px solid #ddd;
	border-radius: 10px;
	font-size: 15px;
	box-sizing: border-box;
	transition: border-color 0.3s;
}

.ha-right select {
	width: 100%;
	height: 50px !important;
	padding: 10px 15px !important;
	margin-bottom: 15px;
	border: 1px solid #ddd;
	border-radius: 10px;
	font-size: 15px;
	box-sizing: border-box;
	transition: border-color 0.3s;
	line-height: normal !important;
}

.ha-right input:focus,
.ha-right select:focus,
.ha-right textarea:focus {
	border-color: #ff4d8d;
	outline: none;
}

.ha-right textarea {
	height: 120px;
	resize: none;
}

.ha-right button {
	width: 100%;
	background: #ff4d8d;
	color: #fff;
	border: none;
	padding: 8px;
	font-size: 18px;
	font-weight: 700;
	border-radius: 10px;
	cursor: pointer;
	transition: .3s;
}

.ha-right button:hover {
	background: #e13a77;
}

.ha-right button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.ha-note {
	text-align: center;
	margin-top: 15px;
	margin-bottom: 0;
	color: #666;
	font-size: 14px;
}

/* Alert styles */
.ha-message {
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 10px;
	font-size: 15px;
	text-align: center;
	line-height: 1.4;
}

.ha-message.ha-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.ha-message.ha-error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

@media(max-width:991px) {
	.ha-container {
		grid-template-columns: 1fr;
	}

	.ha-left {
		padding-left: 0;
	}

	.ha-left h2 {
		font-size: 32px;
	}

	.ha-left h3 {
		font-size: 20px;
	}

	.ha-benefits {
		flex-direction: column;
	}
}

@media(max-width:575px) {
	.ha-assessment-form {
		padding: 40px 10px;
	}

	.ha-left h2 {
		font-size: 26px;
	}

	.ha-left h3 {
		font-size: 18px;
	}

	.ha-desc {
		font-size: 15px;
		line-height: 1.6;
	}

	.ha-assessment-form .ha-checklist li {
		font-size: 15px !important;
	}

	.ha-right form {
		padding: 20px;
	}

	.ha-right h4 {
		font-size: 22px;
		margin-bottom: 20px;
	}
}

/* Style cho phiên bản Compact (max-width: 850px) */
.ha-assessment-form.ha-compact {
	max-width: 850px;
	margin: 25px auto;
	padding: 10px;
	background: #ffffff;
	border: 1px solid #eef2f5;
	border-radius: 16px;
	box-shadow: 0 10px 35px rgba(23, 74, 156, 0.05);
	box-sizing: border-box;
}

.ha-assessment-form.ha-compact .ha-container {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 30px;
	align-items: start;
	max-width: 100%;
}

.ha-assessment-form.ha-compact .ha-left {
	padding-left: 0;
	text-align: left;
}

.ha-assessment-form.ha-compact .ha-left h2 {
	font-size: 20px;
	line-height: 1.3;
	color: #174a9c;
	margin-top: 0;
	margin-bottom: 12px;
	font-weight: 800;
}

.ha-assessment-form.ha-compact .ha-desc {
	font-size: 14px;
	color: #333;
	line-height: 1.6;
	margin-bottom: 20px;
	font-weight: 500;
}

.ha-assessment-form.ha-compact ul.ha-checklist {
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	margin: 0 !important;
	text-indent: 0 !important;
}

.ha-assessment-form.ha-compact ul.ha-checklist li {
	margin: 0 0 10px 0 !important;
	padding: 0 !important;
	font-size: 14px !important;
	color: #000 !important;
	list-style: none !important;
	list-style-type: none !important;
	background: none !important;
	text-indent: 0 !important;
}

.ha-assessment-form.ha-compact ul.ha-checklist li::before,
.ha-assessment-form.ha-compact ul.ha-checklist li::after {
	content: none !important;
	display: none !important;
}

.ha-assessment-form.ha-compact .ha-right form {
	box-shadow: none;
	padding: 24px;
	border: 1px solid #f0f4f8;
	background: #fbfcfd;
	border-radius: 12px;
	box-sizing: border-box;
}

.ha-assessment-form.ha-compact .ha-right h4 {
	font-size: 19px;
	margin-top: 0;
	margin-bottom: 15px;
	text-align: center;
	color: #174a9c;
	font-weight: 700;
}

.ha-assessment-form.ha-compact .ha-right input,
.ha-assessment-form.ha-compact .ha-right textarea {
	padding: 10px 12px;
	font-size: 14px;
	margin-bottom: 12px;
	border-radius: 8px;
}

.ha-assessment-form.ha-compact .ha-right select {
	height: 42px !important;
	padding: 8px 12px !important;
	font-size: 14px;
	margin-bottom: 12px;
	border-radius: 8px;
}

.ha-assessment-form.ha-compact .ha-right textarea {
	height: 90px;
}

.ha-assessment-form.ha-compact .ha-right button {
	padding: 11px;
	font-size: 15px;
	border-radius: 8px;
	font-weight: 700;
}

.ha-assessment-form.ha-compact .ha-note {
	font-size: 13px;
	margin-top: 10px;
}

.ha-assessment-form.ha-compact .ha-early-title {
	font-size: 15px;
	color: #174a9c;
	font-weight: 700;
	margin: 20px 0 10px 0;
	padding: 0;
	text-align: left;
}

.ha-assessment-form.ha-compact ul.ha-early-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 15px;
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	margin: 10px 0 0 0 !important;
	text-indent: 0 !important;
}

.ha-assessment-form.ha-compact ul.ha-early-list li {
	font-size: 13px !important;
	color: #000 !important;
	font-weight: 600 !important;
	list-style: none !important;
	list-style-type: none !important;
	background: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-indent: 0 !important;
	line-height: 1.5 !important;
}

.ha-assessment-form.ha-compact ul.ha-early-list li::before,
.ha-assessment-form.ha-compact ul.ha-early-list li::after {
	content: none !important;
	display: none !important;
}

@media (max-width: 767px) {
	.ha-assessment-form.ha-compact {
		padding: 25px 20px;
		margin: 15px auto;
	}
	
	.ha-assessment-form.ha-compact .ha-container {
		grid-template-columns: 1fr;
		gap: 25px;
	}
	
	.ha-assessment-form.ha-compact .ha-right form {
		padding: 20px;
	}
	
	.ha-assessment-form.ha-compact ul.ha-early-list {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}

/* Style cho Form Widget (max-width: 300px) */
.ha-assessment-widget-container {
	max-width: 300px;
	margin: 0 auto;
	box-sizing: border-box;
}

.ha-assessment-widget-container form.ha-widget-form {
	background: #fff;
	padding: 20px 15px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	box-sizing: border-box;
	border: 1px solid #f0f4f8;
}

.ha-assessment-widget-container h4 {
	text-align: center;
	color: #174a9c;
	font-size: 20px;
	margin-top: 0;
	margin-bottom: 15px;
	font-weight: 700;
}

.ha-assessment-widget-container input,
.ha-assessment-widget-container textarea {
	width: 100%;
	padding: 10px 12px;
	margin-bottom: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.3s;
}

.ha-assessment-widget-container select {
	width: 100%;
	height: 42px !important;
	padding: 8px 12px !important;
	margin-bottom: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.3s;
	line-height: normal !important;
}

.ha-assessment-widget-container input:focus,
.ha-assessment-widget-container select:focus,
.ha-assessment-widget-container textarea:focus {
	border-color: #ff4d8d;
	outline: none;
}

.ha-assessment-widget-container textarea {
	height: 80px;
	resize: none;
}

.ha-assessment-widget-container button {
	width: 100%;
	background: #ff4d8d;
	color: #fff;
	border: none;
	padding: 11px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: .3s;
}

.ha-assessment-widget-container button:hover {
	background: #e13a77;
}

.ha-assessment-widget-container button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.ha-assessment-widget-container .ha-note {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 0;
	color: #666;
	font-size: 12px;
}

