.nha-thau-review-section {
	--ntr-text: #0f172a;
	--ntr-muted: #64748b;
	--ntr-star: #fbbf24;
	--ntr-border: #e2e8f0;
	--ntr-bg: #f8fafc;
	--ntr-link: #2563eb;
	color: var(--ntr-text);
	font: inherit;
	margin: 32px 0;
}

.nha-thau-review-section *,
.nha-thau-review-section *::before,
.nha-thau-review-section *::after {
	box-sizing: border-box;
}

.nha-thau-review-section .ntr-layout {
	display: grid;
	grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
	gap: 24px;
	align-items: start;
}

.nha-thau-review-section .ntr-summary-card,
.nha-thau-review-section .ntr-reviews-list,
.nha-thau-review-section .ntr-form-card {
	background: #fff;
	border: 1px solid var(--ntr-border);
	border-radius: 14px;
	padding: 22px;
}

.nha-thau-review-section .ntr-heading {
	color: var(--ntr-text);
	font-size: 20px;
	margin: 0 0 16px;
}

.nha-thau-review-section .ntr-average {
	color: var(--ntr-text);
	font-size: 52px;
	font-weight: 700;
	letter-spacing: -2px;
	line-height: 1;
}

.nha-thau-review-section .ntr-average span {
	color: var(--ntr-muted);
	font-size: 20px;
	letter-spacing: 0;
}

.nha-thau-review-section .ntr-stars {
	display: inline-flex;
	gap: 2px;
	margin-top: 8px;
}

.nha-thau-review-section .ntr-star {
	color: var(--ntr-border);
	font-size: 18px;
	line-height: 1;
}

.nha-thau-review-section .ntr-star-active {
	color: var(--ntr-star);
}

.nha-thau-review-section .ntr-total,
.nha-thau-review-section .ntr-project-info,
.nha-thau-review-section .ntr-form-note,
.nha-thau-review-section .ntr-empty {
	color: var(--ntr-muted);
}

.nha-thau-review-section .ntr-total {
	margin: 8px 0 20px;
}

.nha-thau-review-section .ntr-rating-row {
	align-items: center;
	display: grid;
	font-size: 13px;
	gap: 8px;
	grid-template-columns: 34px minmax(0, 1fr) 26px;
	margin-top: 9px;
}

.nha-thau-review-section .ntr-progress {
	background: var(--ntr-bg);
	border-radius: 999px;
	display: block;
	height: 8px;
	overflow: hidden;
}

.nha-thau-review-section .ntr-progress span {
	background: var(--ntr-star);
	display: block;
	height: 100%;
}

.nha-thau-review-section .ntr-review-card {
	border-top: 1px solid var(--ntr-border);
	display: grid;
	gap: 12px;
	grid-template-columns: 42px minmax(0, 1fr);
	padding: 18px 0;
}

.nha-thau-review-section .ntr-review-card:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.nha-thau-review-section .ntr-review-avatar {
	align-items: center;
	background: var(--ntr-bg);
	border-radius: 50%;
	color: var(--ntr-link);
	display: flex;
	font-weight: 700;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.nha-thau-review-section .ntr-review-head {
	align-items: start;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.nha-thau-review-section .ntr-review-head h4,
.nha-thau-review-section .ntr-project-info,
.nha-thau-review-section .ntr-review-content {
	margin: 0;
}

.nha-thau-review-section .ntr-review-head h4 {
	font-size: 16px;
}

.nha-thau-review-section .ntr-review-head time,
.nha-thau-review-section .ntr-project-info {
	color: var(--ntr-muted);
	font-size: 13px;
}

.nha-thau-review-section .ntr-review-content {
	margin-top: 10px;
}

.nha-thau-review-section .ntr-review-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.nha-thau-review-section .ntr-review-gallery a,
.nha-thau-review-section .ntr-review-gallery img {
	border-radius: 8px;
	display: block;
	height: 74px;
	object-fit: cover;
	width: 74px;
}

.nha-thau-review-section .ntr-review-gallery a {
	border: 1px solid var(--ntr-border);
	overflow: hidden;
	transition: border-color 0.2s ease;
}

.nha-thau-review-section .ntr-review-gallery a:hover {
	border-color: var(--ntr-link);
}

.nha-thau-review-section .ntr-pagination {
	display: flex;
	gap: 6px;
	margin-top: 14px;
}

.nha-thau-review-section .ntr-pagination .page-numbers {
	border: 1px solid var(--ntr-border);
	border-radius: 6px;
	color: var(--ntr-link);
	padding: 4px 10px;
}

.nha-thau-review-section .ntr-pagination .current {
	background: var(--ntr-link);
	border-color: var(--ntr-link);
	color: #fff;
}

.nha-thau-review-section .ntr-form-card {
	background: var(--ntr-bg);
	margin-top: 24px;
}

.nha-thau-review-section .ntr-form-note {
	margin: -8px 0 16px;
}

.nha-thau-review-section .ntr-form-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nha-thau-review-section .ntr-form-full {
	grid-column: 1 / -1;
}

.nha-thau-review-section label span {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.nha-thau-review-section input,
.nha-thau-review-section select,
.nha-thau-review-section textarea {
	background: #fff;
	border: 1px solid var(--ntr-border);
	border-radius: 8px;
	box-shadow: none;
	color: var(--ntr-text);
	font: inherit;
	margin: 0;
	padding: 10px 12px;
	width: 100%;
}

.nha-thau-review-section textarea {
	resize: vertical;
}

.nha-thau-review-section .ntr-submit {
	background: var(--ntr-link);
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	margin-top: 16px;
	padding: 11px 18px;
}

.nha-thau-review-section .ntr-honeypot {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.nha-thau-review-section .ntr-notice {
	border-radius: 8px;
	margin: 0 0 16px;
	padding: 10px 12px;
}

.nha-thau-review-section .ntr-notice-success {
	background: #ecfdf5;
	color: #047857;
}

.nha-thau-review-section .ntr-notice-error {
	background: #fef2f2;
	color: #b91c1c;
}

.ntr-lightbox {
	align-items: center;
	background: rgba(15, 23, 42, 0.92);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 999999;
}

.ntr-lightbox[hidden] {
	display: none;
}

.ntr-lightbox img {
	max-height: 88vh;
	max-width: min(92vw, 1200px);
	object-fit: contain;
}

.ntr-lightbox button {
	background: rgba(255, 255, 255, 0.16);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	font-size: 28px;
	height: 44px;
	line-height: 1;
	position: absolute;
	width: 44px;
}

.ntr-lightbox-close {
	right: 18px;
	top: 18px;
}

.ntr-lightbox-prev {
	left: 18px;
}

.ntr-lightbox-next {
	right: 18px;
}

@media (max-width: 767px) {
	.nha-thau-review-section .ntr-layout,
	.nha-thau-review-section .ntr-form-grid {
		grid-template-columns: 1fr;
	}

	.nha-thau-review-section .ntr-form-full {
		grid-column: auto;
	}

	.nha-thau-review-section .ntr-summary-card,
	.nha-thau-review-section .ntr-reviews-list,
	.nha-thau-review-section .ntr-form-card {
		padding: 16px;
	}

	.nha-thau-review-section .ntr-review-card {
		grid-template-columns: 36px minmax(0, 1fr);
	}

	.nha-thau-review-section .ntr-review-avatar {
		height: 36px;
		width: 36px;
	}

	.nha-thau-review-section .ntr-review-head {
		display: block;
	}
}
