/* Project Module Styles */
.project-title {
	font-size: 24px;
}

.btn-project-stock {
	border-radius: 6px;
	font-weight: 500;
	background-color: #c9142c;
	border-color: #c9142c;
}

.project-stock-dropdown-body {
	max-height: 300px;
}

.project-filter-bar {
	background: var(--bs-white);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-select-project {
	border-radius: 6px;
}

.project-search-group {
	min-width: 200px;
}

.project-search-input {
	border-radius: 0 6px 6px 0;
}

/* View toggle (pf-toggle) */
.pf-toggle {
	background: #f3f4f6;
	border-radius: 5px;
	padding: 3px;
	gap: 2px;
}

.pf-toggle__btn {
	width: 34px;
	height: 30px;
	border: none;
	border-radius: 5px;
	background: transparent;
	color: #9ca3af;
	font-size: 16px;
	cursor: pointer;
	transition: all .2s ease;
}

.pf-toggle__btn:hover {
	color: #374151;
	background: rgba(255, 255, 255, .6);
}

.pf-toggle__btn--active {
	background: var(--bs-white);
	color: var(--bs-red);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.pf-toggle__btn--active:hover {
	color: var(--bs-red);
	background: var(--bs-white);
}

/* Sort select (pf-sort) */
.pf-sort {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #f4f4f4;
	border-radius: 5px;
	padding: 8px 10px 8px 10px;
	transition: all .2s ease;
}

.pf-sort:hover {
	background: #ebedf0;
}

.pf-sort__icon {
	font-size: 16px;
	color: #6b7280;
	flex-shrink: 0;
}

.pf-sort__select {
	border: none;
	background: transparent;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	cursor: pointer;
	outline: none;
	padding: 0;
	padding-right: 16px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0 center;
}

/* Filter bar responsive */
@media (max-width: 767px) {
	.project-filter-bar .form-select-project {
		width: 150px !important;
		min-width: 0 !important;
		flex: 1 1 0 !important;
	}

	.pf-sort__select {
		padding-right: 10px
	}
}

@media (max-width: 575.98px) {
	.project-filter-bar {
		flex-direction: column;
		align-items: stretch !important;
		gap: 10px !important;
		padding: 12px !important;
	}

	.project-filter-bar .project-search-group {
		width: 100% !important;
		min-width: 0 !important;
	}


	.project-filter-bar>.d-flex:last-child {
		justify-content: space-between;
		width: 100%;
		padding-top: 6px;
		border-top: 1px solid #f0f0f0;
	}

	.pf-sort {
		flex: 1;
		justify-content: center;
	}

	.project-title {
		font-size: 20px;
	}
}

/* ── Skeleton Loading ── */
@keyframes skShimmer {
	0% {
		background-position: -400px 0;
	}

	100% {
		background-position: 400px 0;
	}
}

.sk-shimmer {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
	background-size: 800px 100%;
	animation: skShimmer 1.4s ease infinite;
	border-radius: 6px;
}

/* Grid skeleton card */
.sk-card {
	background: var(--bs-white);
	border-radius: 16px;
	border: 1px solid #e8eaed;
	overflow: hidden;
	height: 100%;
}

.sk-img {
	height: 200px;
	border-radius: 0;
}

.sk-body {
	padding: 16px;
}

.sk-row {
	margin-bottom: 10px;
}

.sk-row--title {
	height: 18px;
	width: 75%;
}

.sk-row--addr {
	height: 14px;
	width: 90%;
}

.sk-row--info {
	height: 28px;
	width: 100%;
}

.sk-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin-bottom: 10px;
}

.sk-stat {
	height: 36px;
	border-radius: 6px;
}

.sk-actions {
	display: flex;
	gap: 8px;
	padding: 12px 16px 16px;
}

.sk-btn {
	flex: 1;
	height: 38px;
	border-radius: 8px;
}

/* List skeleton */
.sk-list {
	display: flex;
	background: var(--bs-white);
	border-radius: 14px;
	border: 1px solid #e8eaed;
	overflow: hidden;
	margin-bottom: 16px;
}

.sk-list__img {
	width: 280px;
	min-height: 180px;
	flex-shrink: 0;
	border-radius: 0;
}

.sk-list__content {
	flex: 1;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
}

@media (max-width: 767.98px) {
	.sk-list {
		flex-direction: column;
	}

	.sk-list__img {
		width: 100%;
		height: 180px;
		min-height: auto;
	}
}

/* ── New Project Card (pc-card) ── */
.pc-card {
	background: var(--bs-white);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e8eaed;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: box-shadow .25s ease, transform .25s ease;
}

.pc-card:hover {
	box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
	transform: translateY(-4px);
}

/* Image */
.pc-card__img {
	position: relative;
	display: block;
	height: 200px;
	overflow: hidden;
	background: #f0f2f5;
	flex-shrink: 0;
}

.pc-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.pc-card:hover .pc-card__img img {
	transform: scale(1.06);
}

/* Badge */
.pc-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: var(--bs-white);
	letter-spacing: .02em;
}

.pc-card__badge--active {
	background: linear-gradient(135deg, #22c55e, #16a34a);
	box-shadow: 0 2px 8px rgba(34, 197, 94, .35);
}

.pc-card__badge--inactive {
	background: #94a3b8;
}

/* Heart */
.pc-card__heart {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #6b7280;
	font-size: 16px;
	transition: all .2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.pc-card__heart:hover {
	color: #ef4444;
	background: var(--bs-white);
	transform: scale(1.1);
}

/* Body */
.pc-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* Header (Title + Logo) */
.pc-card__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.pc-card__title {
	font-size: 17px;
	font-weight: 700;
	color: #111827;
	line-height: 1.3;
	text-decoration: none;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pc-card__title:hover {
	color: #c9142c;
}

.pc-card__logo {
	flex-shrink: 0;
	max-width: 56px;
	max-height: 36px;
}

.pc-card__logo img {
	max-width: 100%;
	max-height: 36px;
	object-fit: contain;
}

/* Address */
.pc-card__address {
	display: flex;
	align-items: flex-start;
	gap: 5px;
	font-size: 12.5px;
	color: #6b7280;
	margin-bottom: 12px;
	line-height: 1.5;
}

.pc-card__address i {
	color: #ef4444;
	font-size: 14px;
	margin-top: 1px;
	flex-shrink: 0;
}

.pc-card__address span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Stats Grid (4 columns) */
.pc-card__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	padding: 10px 0;
	border-top: 1px solid #f3f4f6;
	border-bottom: 1px solid #f3f4f6;
	margin-bottom: 10px;
}

.pc-card__stat {
	display: flex;
	align-items: center;
	gap: 5px;
	text-align: left;
}

.pc-card__stat>i {
	font-size: 16px;
	color: #9ca3af;
	flex-shrink: 0;
}

.pc-card__stat-label {
	display: block;
	font-size: 10px;
	color: #9ca3af;
	line-height: 1.2;
}

.pc-card__stat-value {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #111827;
	line-height: 1.3;
	white-space: nowrap;
}

/* Info Rows */
.pc-card__info-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	padding: 8px 0;
	border-bottom: 1px solid #f3f4f6;
}

.pc-card__info-row--alt {
	grid-template-columns: repeat(4, 1fr);
	border-bottom: none;
	padding-bottom: 0;
}

.pc-card__info-item {
	display: flex;
	align-items: flex-start;
	gap: 4px;
}

.pc-card__info-item>i {
	font-size: 14px;
	color: #9ca3af;
	margin-top: 1px;
	flex-shrink: 0;
}

.pc-card__info-label {
	display: block;
	font-size: 10px;
	color: #9ca3af;
	line-height: 1.2;
}

.pc-card__info-value {
	display: block;
	font-size: 11.5px;
	font-weight: 500;
	color: #374151;
	line-height: 1.3;
}

.pc-card__info-value--primary {
	color: #2563eb;
}

.pc-card__info-value--danger {
	color: var(--bs-red);
}

/* Actions */
.pc-card__actions {
	display: flex;
	gap: 8px;
	padding: 12px 16px 16px;
	margin-top: auto;
}

.pc-card__btn {
	flex: 1;
	text-align: center;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s ease;
	cursor: pointer;
}

.pc-card__btn--outline {
	border: 1.5px solid #c9142c;
	color: #c9142c;
	background: var(--bs-white);
}

.pc-card__btn--outline:hover {
	background: #fef2f2;
	color: #c9142c;
}

.pc-card__btn--solid {
	border: 1.5px solid #c9142c;
	background: #c9142c;
	color: var(--bs-white);
}

.pc-card__btn--solid:hover {
	background: #a8111f;
	border-color: #a8111f;
	color: var(--bs-white);
	box-shadow: 0 4px 12px rgba(201, 20, 44, .3);
}

/* Responsive tweaks */
@media (max-width: 575.98px) {
	.pc-card__stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.pc-card__info-row--alt {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.lst_tab_button button,
	.lst_tab_button select {
		font-size: 12px;
		padding: 7px 10px;
		flex: 1 1 0;
		white-space: nowrap;
	}

	.lst_tab_button {
		gap: 4px !important;
	}
}

/* ── List View (pc-list) ── */
.pc-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pc-list__item {
	display: flex;
	background: var(--bs-white);
	border-radius: 14px;
	border: 1px solid #e8eaed;
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
}

.pc-list__item:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

.pc-list__img {
	position: relative;
	display: block;
	width: 280px;
	min-height: 200px;
	flex-shrink: 0;
	overflow: hidden;
	background: #f0f2f5;
}

.pc-list__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.pc-list__item:hover .pc-list__img img {
	transform: scale(1.05);
}

.pc-list__content {
	flex: 1;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pc-list__top {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 10px;
}

.pc-list__title-wrap {
	flex: 1;
	min-width: 0;
}

.pc-list__title {
	font-size: 18px;
	font-weight: 700;
	color: #111827;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 4px;
}

.pc-list__title:hover {
	color: #c9142c;
}

.pc-list__logo {
	flex-shrink: 0;
	max-width: 64px;
	max-height: 36px;
}

.pc-list__logo img {
	max-width: 100%;
	max-height: 36px;
	object-fit: contain;
}

.pc-card__heart--static {
	position: static;
	flex-shrink: 0;
}

.pc-list__stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	padding: 10px 0;
	border-top: 1px solid #f3f4f6;
	border-bottom: 1px solid #f3f4f6;
	margin-bottom: 12px;
}

.pc-list__stat-item {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
}

.pc-list__stat-item>i {
	font-size: 14px;
	color: #9ca3af;
}

.pc-list__stat-label {
	color: #9ca3af;
	font-size: 11px;
}

.pc-list__stat-val {
	font-weight: 700;
	color: #111827;
	font-size: 12px;
}

.pc-list__stat-sep {
	width: 1px;
	height: 20px;
	background: #e5e7eb;
	flex-shrink: 0;
}

.pc-list__actions {
	display: flex;
	gap: 8px;
	margin-top: auto;
}

.pc-list__actions .pc-card__btn {
	flex: 0 0 auto;
	min-width: 130px;
}

@media (max-width: 767.98px) {
	.pc-list__item {
		flex-direction: column;
	}

	.pc-list__img {
		width: 100%;
		height: 200px;
		min-height: auto;
	}

	.pc-list__actions .pc-card__btn {
		flex: 1;
	}
}

/* ── Project Detail Page ── */
.project-nav-tabs .nav-link {
	white-space: nowrap;
	transition: all 0.2s ease;
	cursor: pointer;
	height: 100%;
	border-radius: 5px;
	overflow: hidden;
	min-width: 110px;
	background: rgb(100 98 83 / 73%);
}

.project-nav-tabs .nav-link.active {
	background-color: var(--bs-red) !important;
}

.hover-border-light:hover {
	border-bottom-color: rgba(255, 255, 255, 0.5) !important;
}

.hover-bg-light:hover {
	background-color: #f8f9fa !important;
}

.hover-bg-primary:hover {
	background-color: #1e3a8a !important;
	opacity: 1 !important;
}

.hover-opacity-100:hover {
	opacity: 1 !important;
}

.hover-shadow:hover {
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08) !important;
	transform: translateY(-3px);
	border-color: #dee2e6 !important;
}

.transition-all {
	transition: all 0.3s ease;
}

.hide-scrollbar::-webkit-scrollbar {
	display: none;
}

.hide-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.letter-spacing-1 {
	letter-spacing: 0.5px;
}

.tab-content-fade {
	animation: tabFadeIn .3s ease;
}

@keyframes tabFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Stats strip */
.stats-strip {
	display: flex;
	align-items: center;
	background: var(--bs-white);
	border-radius: 12px;
	padding: 0 8px;
	margin-bottom: 20px;
	border: 1px solid var(--light-gray);
	overflow-x: auto;
	gap: 0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.stats-strip::-webkit-scrollbar {
	height: 0;
}

.stat-item {
	display: flex;
	align-items: center;
	flex: 1 1 0;
	gap: 10px;
	padding: 14px 20px;
	border-right: 1px solid var(--light-gray);
	white-space: nowrap;
	flex-shrink: 0;
}

.stat-item:last-child {
	border-right: none;
}

.stat-icon {
	font-size: 20px;
	color: var(--gray-400);
}

.stat-num {
	font-size: 20px;
	font-weight: 800;
	color: var(--gray-900);
	line-height: 1;
}

.stat-num.orange {
	color: var(--orange);
}

.stat-label {
	font-size: 10px;
	color: var(--gray-400);
	margin-top: 2px;
}

/* Cards grid for Blocks and Buildings */
.cards-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

@media(min-width: 576px) {
	.cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media(min-width: 768px) {
	.cards-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media(min-width: 992px) {
	.cards-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media(max-width: 767px) {

	.project-hero-banner.stock,
	.stock .content_banner {
		min-height: 145px !important;
	}

	.content_banner {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.content_banner .project-nav-tabs .nav-link {
		font-size: 9px;
		min-width: 60px;
		padding: 8px !important;
	}

	.filter-right button {
		font-size: 13px;
	}
}

.project-card {
	background: var(--bs-white);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--gray-200);
	transition: box-shadow .18s, transform .18s;
	cursor: pointer;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.project-card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
	transform: translateY(-2px);
}

.project-card__img {
	position: relative;
	height: 180px;
	overflow: hidden;
	background: var(--gray-200);
	flex-shrink: 0;
}

.project-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}

.project-card:hover .project-card__img img {
	transform: scale(1.04);
}

.project-card__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	padding: 4px 8px;
	border-radius: 5px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--bs-white);
}

.badge-green {
	background: #16a34a;
}

.badge-orange {
	background: #f97316;
}

.badge-gray {
	background: #6b7280;
}

.badge-blue {
	background: #2563eb;
}

.project-card__logo {
	position: absolute;
	top: 8px;
	right: 8px;
	height: 24px;
	background: rgba(255, 255, 255, .9);
	border-radius: 5px;
	padding: 2px 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: 800;
	color: #1a2744;
	letter-spacing: .03em;
}

.project-card__bookmark {
	position: absolute;
	bottom: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	background: rgba(255, 255, 255, .9);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
	color: #9ca3af;
	transition: color .12s;
}

.project-card__body {
	padding: 12px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.project-card__title {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 3px;
}

.project-card__dev {
	font-size: 11px;
	color: #9ca3af;
	margin-bottom: 8px;
}

.card-dev span {
	color: #4b5563;
	font-weight: 600;
}

.project-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 11px;
	color: #6b7280;
	margin-bottom: 8px;
}

.project-card__meta-item {
	display: flex;
	align-items: center;
	gap: 3px;
}

.project-card__meta-dot {
	color: #d1d5db;
}

.project-card__price {
	font-size: 13px;
	color: #2563eb;
	font-weight: 700;
	margin-bottom: 12px;
	margin-top: auto;
}

.card-price.orange {
	color: #f97316;
}

.card-price.gray {
	color: #6b7280;
}

.project-card__actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.btn-primary-outline {
	border: 1.5px solid var(--blue);
	color: var(--blue);
	background: var(--bs-white);
	transition: all 0.3s ease;
}

.btn-primary-outline:hover {
	background: var(--blue);
	color: var(--bs-white) !important;
	box-shadow: 0 4px 10px rgba(0, 133, 240, 0.2);
	border-color: var(--blue);
}

.btn-card {
	flex: 1;
	padding: 7px 8px;
	border-radius: 7px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

.bookmark-btn {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #e5e7eb;
	border-radius: 7px;
	background: var(--bs-white);
	cursor: pointer;
	color: #9ca3af;
	transition: all .12s;
}

.bookmark-btn:hover {
	color: #e82027;
	border-color: #e82027;
}

.nav-pills-custom .nav-link {
	color: var(--gray-500);
	font-weight: 600;
	border-radius: 8px;
	padding: 8px 24px;
	transition: all 0.2s;
	border: 1.5px solid transparent;
}

.nav-pills-custom .nav-link:hover {
	color: var(--blue);
	background: var(--gray-50);
}

.nav-pills-custom .nav-link.active {
	background: var(--blue);
	color: var(--bs-white);
	border-color: var(--blue);
}

/* Bottom strip */
.bottom-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 4px;
}

.strip-item {
	display: flex;
	align-items: flex-start;
	flex: 1 0 0;
	gap: 10px;
	background: var(--bs-white);
	border-radius: 10px;
	padding: 14px;
	border: 1px solid var(--gray-200);
}

.strip-icon {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 8px;
	background: #eff6ff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--blue);
	font-size: 16px;
}

.strip-title {
	font-size: 12px;
	font-weight: 700;
	color: var(--gray-800);
	margin-bottom: 2px;
}

.strip-sub {
	font-size: 11px;
	color: var(--gray-400);
}

.hover-shadow:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
	transform: translateY(-4px);
	border-color: rgba(var(--bs-primary-rgb), 0.2) !important;
}

.transition-all {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.group-hover-scale {
	transition: transform 0.5s ease;
}

.group:hover .group-hover-scale {
	transform: scale(1.1);
}

.group-hover-opacity-10 {
	opacity: 0;
}

.group:hover .group-hover-opacity-10 {
	opacity: 0.1;
}

.leading-relaxed {
	line-height: 1.7;
}

.hide-scrollbar::-webkit-scrollbar {
	display: none;
}

.hide-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* BREADCRUMB */
.bc {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #888;
	margin-bottom: 12px;
	flex-wrap: wrap
}

.bc a {
	color: #555;
	text-decoration: none
}

.bc a:hover {
	color: #e53935
}

.bc-sep {
	color: #ccc
}

/* HEADER */
.proj-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 2px
}

.proj-left h1 {
	font-size: 22px;
	font-weight: 800;
	color: #111;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	line-height: 1.3
}

.badge-active {
	font-size: 11px;
	font-weight: 600;
	color: #2e7d32;
	background: #e8f5e9;
	border: 1px solid #c8e6c9;
	border-radius: 20px;
	padding: 2px 10px;
	white-space: nowrap
}

.proj-sub {
	font-size: 12px;
	color: #888;
	margin-top: 5px;
	display: flex;
	align-items: center;
	gap: 6px
}

.dot4 {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #ccc;
	display: inline-block
}

.proj-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	padding-top: 4px
}

.btn-share {
	background: var(--bs-white);
	border: 1px solid #ddd;
	color: #444
}

.btn-share:hover {
	border-color: #e53935;
	color: #e53935
}

.btn svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0
}

/* TABS */
.tab-nav {
	display: flex;
	border-bottom: 1px solid #e5e7eb;
	margin: 14px 0 16px;
	overflow-x: auto;
	scrollbar-width: none
}

.tab-nav::-webkit-scrollbar {
	display: none
}

.tab-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 500;
	color: #666;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	white-space: nowrap;
	transition: all .15s
}

.tab-item svg {
	width: 15px;
	height: 15px;
	opacity: .65
}

.tab-item:hover {
	color: #e53935
}

.tab-item.active {
	color: #e53935;
	border-bottom-color: #e53935;
	font-weight: 600
}

.tab-item.active svg {
	opacity: 1
}

/* FILTER ROW */
.filter-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px
}

.filter-left,
.filter-right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.sel {
	appearance: none;
	-webkit-appearance: none;
	background: var(--bs-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 10px center;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 6px 20px 6px 6px;
	font-size: 12px;
	color: #333;
	cursor: pointer
}

.leg-row {
	display: flex;
	align-items: center;
	gap: 6px
}

.leg {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #444
}

.leg-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%
}

.btn-ghost,
.btn-dl {
	background: var(--bs-white);
	border: 1px solid #ddd;
	color: #555;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: inherit
}

.btn-ghost:hover,
.btn-dl:hover {
	border-color: #e53935;
	color: #e53935
}

.btn-ghost.active {
	background: var(--bs-white)0f0;
	color: #e53935;
	border-color: #ffcdd2;
}

.btn-ghost.active svg {
	stroke: #e53935;
}

/* BODY */
.body-wrap {
	align-items: flex-start
}

/* LEFT */
.left-panel {
	width: 218px;
	flex-shrink: 0;
	position: relative;
	transition: width .25s ease;
	min-height: 36px
}

.left-panel--collapsed {
	width: 0;
	min-width: 0;
	gap: 0
}

.left-panel-content {
	overflow: hidden;
	transition: opacity .2s ease
}

.left-panel--collapsed .left-panel-content {
	opacity: 0;
	pointer-events: none;
	height: 0;
	overflow: hidden
}

.btn-panel-toggle {
	position: absolute;
	top: 4px;
	left: 100%;
	margin-left: 4px;
	z-index: 10;
	width: 28px;
	height: 28px;
	border: 1px solid #d0d5dd;
	border-radius: 50%;
	background: var(--bs-white);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: all .2s ease;
	color: #667085;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .1)
}

.left-panel--collapsed .btn-panel-toggle {
	left: -15px;
	margin-left: 0
}

.btn-panel-toggle:hover {
	background: #f2f4f7;
	border-color: #98a2b3;
	color: #344054
}

.btn-panel-toggle:active {
	transform: scale(.9)
}

.btn-panel-toggle i {
	font-size: 16px;
	line-height: 1
}

.proj-img {
	width: 100%;
	height: 136px;
	border-radius: 8px;
	overflow: hidden;
	background: linear-gradient(160deg, #1a237e 0%, #1565c0 50%, #42a5f5 100%);
	position: relative
}

.proj-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block
}

.proj-img-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .25);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 10px;
	color: var(--bs-white);
	font-weight: 700;
	font-size: 12px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .6)
}

.card {
	background: var(--bs-white);
	border: 1px solid #e8eaed;
}

.card h4 {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
	color: #111
}

.tc-row {
	display: flex;
	gap: 6px;
	font-size: 11.5px;
	margin-bottom: 4px;
	line-height: 1.5
}

.tc-l {
	color: #888;
	min-width: 72px;
	flex-shrink: 0
}

.tc-v {
	color: #333;
	font-weight: 500
}

.mini-map-area {
	background: #f0f2f5;
	border-radius: 6px;
	padding: 8px;
	position: relative;
	height: 92px;
	margin-top: 2px
}

.blk {
	position: absolute;
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 8.5px;
	font-weight: 700;
	cursor: pointer;
	border: 1px solid #ccc;
	background: #e0e0e0;
	color: #666
}

.blk.sel {
	background: #ffcdd2;
	border-color: #e53935;
	border-width: 2px;
	color: #c62828
}

.leg-item {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 11.5px;
	color: #444;
	margin-bottom: 5px
}

.leg-sq {
	width: 14px;
	height: 14px;
	border-radius: 2px;
	flex-shrink: 0
}

/* RIGHT */
.right-panel {
	flex: 1;
	min-width: 0
}

.sub-tabs {
	display: flex;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 10px
}

.stab {
	padding: 8px 14px;
	font-size: 12.5px;
	font-weight: 500;
	color: #888;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: all .15s
}

.stab.active {
	color: #e53935;
	border-bottom-color: #e53935;
	font-weight: 600
}

.floor-row {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 10px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px
}

.floor-row::-webkit-scrollbar {
	display: none
}

.fl-label {
	font-size: 12px;
	color: #666;
	white-space: nowrap;
	margin-right: 2px
}

.fbtn {
	min-width: 32px;
	height: 26px;
	padding: 0 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: var(--bs-white);
	font-size: 11.5px;
	font-weight: 500;
	cursor: pointer;
	transition: all .15s;
	color: #555;
	white-space: nowrap;
	font-family: inherit
}

.fbtn:hover {
	border-color: #e53935;
	color: #e53935
}

.fbtn.active {
	background: #e53935;
	border-color: #e53935;
	color: var(--bs-white);
	font-weight: 700
}

.fbtn.hl {
	background: #ffebee;
	border-color: #e53935;
	color: #e53935;
	font-weight: 700
}

/* TABLE */
.tbl-wrap {
	overflow-x: auto;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	background: #ffe59a
}

table.bt {
	border-collapse: collapse;
	min-width: 860px;
	width: 100%;
	font-size: 11px;
	background: #ffe59a
}

table.bt th,
table.bt td {
	border: 1px solid #e0e0e0;
	text-align: center;
	white-space: nowrap
}

table.bt tr th:nth-child(1),
table.bt tr td:nth-child(1) {
	position: sticky;
	left: 0;
	top: 0;
	z-index: 2;
}

.col-hdr th {
	background: #f5f6fa;
	color: #333;
	font-weight: 600;
	padding: 1px 6px;
	font-size: 11px
}

.col-hdr .th-l {
	text-align: left;
	padding-left: 10px
}

.meta-row th {
	background: #f5f6fa;
	font-size: 10.5px;
	font-weight: 600;
	color: #555;
	padding: 2px 6px;
	text-align: left;
	white-space: nowrap
}

.meta-row td {
	background: #fafafa;
	color: #555;
	font-weight: 400;
	font-size: 10.5px;
	padding: 1px 6px
}

table.bt tbody td {
	padding: 1px 6px;
	font-size: 11px;
	cursor: pointer
}

table.bt tbody td:first-child {
	background: #f5f6fa;
	color: #333;
	font-weight: 700;
	font-size: 11px;
	cursor: default;
	padding: 3px 8px
}

/* Meta toggle button */
.btn-meta-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	background: var(--bs-white);
	cursor: pointer;
	padding: 0;
	transition: all .2s ease;
	color: #667085
}

.btn-meta-toggle:hover {
	background: #f2f4f7;
	border-color: #98a2b3;
	color: #344054
}

.btn-meta-toggle:active {
	background: #e4e7ec;
	transform: scale(.92)
}

.btn-meta-toggle i {
	font-size: 16px;
	line-height: 1
}

.meta-row {
	transition: opacity .15s ease
}

/* Status colors */
.e {
	background: #0085f0;
	color: var(--bs-white)
}

.e>a {
	color: var(--bs-white)
}

.e:hover {
	filter: brightness(1.08)
}

.s {
	background: #ff2600;
	color: var(--bs-white);
	cursor: default !important
}

.s>a {
	color: var(--bs-white)
}

.h {
	background: #fdd835;
	color: #5f4300
}

.h:hover {
	filter: brightness(1.06)
}

.dp {
	background: #bdbdbd;
	color: #333
}

.lk {
	background: #ab47bc;
	color: var(--bs-white)
}

.lk:hover {
	filter: brightness(1.08)
}

.ex {
	background: #f5e10a;
	color: var(--bs-white)
}

.ex>a {
	color: var(--bs-red)
}

.ex:hover {
	filter: brightness(1.08)
}

.sb {
	background: #ffa726;
	color: var(--bs-white)
}

.sb>a {
	color: var(--bs-white)
}

.sb:hover {
	filter: brightness(1.08)
}

.d {
	background: var(--bs-white);
	color: #ccc;
	cursor: default !important
}

.sel-cell {
	background: #f44336;
	color: var(--bs-white);
	outline: 3px solid #b71c1c;
	outline-offset: -3px;
	z-index: 1;
	position: relative
}

/* STATUS */
.status-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 10px 0 4px;
	font-size: 12px;
	color: #555;
	margin-top: 8px
}

.st-i {
	display: flex;
	align-items: center;
	gap: 5px
}

.st-sq {
	width: 12px;
	height: 12px;
	border-radius: 2px
}

.st-n {
	font-weight: 700;
	color: #111
}

.upd {
	font-size: 11px;
	color: #aaa;
	margin-top: 5px
}

/* BOTTOM BAR */
.btm-bar {
	position: sticky;
	bottom: 0;
	background: var(--bs-white);
	border: 1px solid #e0e0e0;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 3;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, .08)
}

.btm-note {
	font-size: 11.5px;
	color: #777;
	font-style: italic
}

.btn-cmp {
	background: #e53935;
	color: var(--bs-white);
	border: none;
	border-radius: 6px;
	padding: 9px 20px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	gap: 6px
}

.btn-cmp:hover {
	background: #c62828
}

@media screen and (max-width:767px) {
	.btn-cmp {
		padding: 9px 10px;
		font-size: 12px;
		white-space: nowrap;
	}
}

/* Skeleton Loading */
@keyframes sk-shimmer {
	0% {
		background-position: -400px 0
	}

	100% {
		background-position: 400px 0
	}
}

@keyframes sk-pulse {

	0%,
	100% {
		opacity: .6
	}

	50% {
		opacity: 1
	}
}

.skeleton-wrap {
	pointer-events: none
}

.sk-box {
	display: block;
	border-radius: 3px;
	background: linear-gradient(90deg, #e0e0e0 25%, #efefef 50%, #e0e0e0 75%);
	background-size: 800px 100%;
	animation: sk-shimmer 1.5s ease infinite
}

.sk-sm {
	width: 28px;
	height: 12px;
	margin: 0 auto
}

.sk-floor {
	width: 22px;
	height: 12px
}

.sk-td {
	position: relative;
	overflow: hidden;
	animation: sk-pulse 1.8s ease-in-out infinite
}

.sk-label {
	color: rgba(255, 255, 255, .7);
	font-size: 11px;
	font-weight: 500
}

.skeleton-table tbody td {
	padding: 5px 7px
}

.skeleton-table thead th {
	padding: 6px 8px
}

/* Filter bar custom UI */
.filter-dot {
	width: 8px;
	height: 8px;
	display: inline-block;
	border-radius: 50%;
	margin-right: 4px;
}

.filter-investor {
	width: auto;
	min-width: 150px;
	cursor: pointer;
}

.filter-search-input {
	min-width: 240px;
}

.filter-select {
	/*	min-width: 150px;*/
	max-width: 200px;
	cursor: pointer;
}

/* Custom CSS for hover effects */
.stock-card-img {
	width: 100px;
}

.stat-icon-circle {
	width: 32px;
	height: 32px;
}

.stat-icon {
	width: 16px;
	height: 16px;
}

.stat-icon-wrap {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.stat-icon-wrap svg {
	width: 18px;
	height: 18px;
}

@media (min-width: 768px) {
	.stock-card-img {
		width: 140px;
	}

	.stat-icon-circle {
		width: 45px;
		height: 45px;
	}

	.stat-icon {
		width: 20px;
		height: 20px;
	}
}

.hover-shadow:hover {
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
	transform: translateY(-2px);
}

.transition-all {
	transition: all 0.3s ease;
}

/* ══════════════════════════════════════
   STOCK LIST PAGE
══════════════════════════════════════ */
/* ── Stat summary cards (top row) ── */
.stat-icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.stat-icon-wrap svg {
	width: 22px;
	height: 22px;
}

/* ── Filters ── */
.filter-search-input,
.filter-select {
	border-radius: 20px;
	font-size: 13px;
	height: 38px;
	border: 1px solid #e0e0e0;
}

/* ── Area heading ── */
.area-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	color: #e53935;
	padding-bottom: 8px;
	border-bottom: 2px solid #f0f0f0;
	margin-bottom: 10px;
}

.stock-type-heading {
	font-size: 14px;
	font-weight: 700;
	color: #1a2744;
	margin-bottom: 0px;
	text-transform: uppercase
}

.box_search_header .search-input {
	border-color: #e0e0e0 !important;
}

.ts-btn-collapse.active {
	color: var(--red);
	border-color: var(--red);
}

.search_header.search-input {
	width: calc(100vw - 30px);
}

@media screen and (max-width:767px) {
	.search-input_mobile {
		width: calc(100vw - 30px) !important;
		transform: translate(0);
	}

	.search-input_mobile.show {
		transform: translate(-4px, 40px);
	}

	.filter-select {
		max-width: unset !important
	}
}

.box_search_header .search-input {
	position: absolute;
	right: calc(100% - 30px);
}

/* ── Stock Card wrapper ── */
.stock-card {
	border: 1px solid #ebebeb;
	border-radius: 12px;
	overflow: hidden;
	background: var(--bs-white);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	height: 100%;
}

.stock-card:hover {
	box-shadow: 0 6px 24px rgba(0, 0, 0, .10);
	transform: translateY(-2px);
}

/* ── Card image (left column) ── */
.stock-card-thumb {
	flex-shrink: 0;
	width: 130px;
	position: relative;
	overflow: hidden;
	background: #eee;
	align-self: stretch;
}

.stock-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* HOT badge */
.stock-card-hot {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #e53935;
	color: var(--bs-white);
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 4px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* Bookmark */
.stock-card-bookmark {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #f4f4f4;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: none;
	color: #aaa;
	font-size: 14px;
	flex-shrink: 0;
	transition: color 0.2s, background 0.2s;
}

.stock-card-bookmark:hover,
.stock-card-bookmark.saved,
.project-card__bookmark:hover,
.project-card__bookmark.saved {
	color: #c8173a;
	background: #ffeef2;
}

/* ── Card body (right column) ── */
.stock-card-body {
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	min-width: 0;
	gap: 5px;
}

/* Title */
.stock-card-title {
	font-size: 13.5px;
	font-weight: 700;
	color: #1a2744;
	margin: 0;
	line-height: 1.3;
}

/* Project sub-line */
.stock-card-project {
	font-size: 11.5px;
	color: #888;
	display: flex;
	align-items: center;
	gap: 3px;
}

/* Building tags */
.stock-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.stock-card-tag {
	font-size: 11px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 4px;
	color: var(--bs-white);
	background: #0b4550;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.15s;
}

.stock-card-tag:hover {
	opacity: 0.82;
	color: var(--bs-white);
}

/* ── Stats row ── */
.stock-card-stats {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
}

.stock-card-stats.border-top {
	border-top: 1px solid #f0f0f0;
}

.stock-card-stats.border-bottom {
	border-bottom: 1px solid #f0f0f0;
}

.stock-card-stat {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11.5px;
	color: #555;
}

.stock-card-stat-icon {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	flex-shrink: 0;
}

.stock-card-stat-icon.blue {
	background: rgba(41, 128, 185, 0.10);
	color: #2980b9;
}

.stock-card-stat-icon.teal {
	background: rgba(11, 69, 80, 0.10);
	color: #0b4550;
}

.stock-card-stat-icon.orange {
	background: rgba(230, 126, 34, 0.10);
	color: #e67e22;
}

.stock-card-stat-icon.green {
	background: rgba(39, 174, 96, 0.10);
	color: #27ae60;
}

/* ── Dates ── */
.stock-card-dates {
	display: flex;
	gap: 14px;
	font-size: 11px;
	color: #888;
	padding: 5px 0;
}

.stock-card-date-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.stock-card-date-icon {
	font-size: 15px;
	flex-shrink: 0;
}

.stock-card-date-item strong {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #555;
	line-height: 1.2;
}

.stock-card-date-item span {
	display: block;
	font-size: 11px;
	color: #888;
	line-height: 1.2;
}

/* ── Price ── */
.stock-card-price-label {
	font-size: 11px;
	color: #aaa;
}

.stock-card-price-value {
	font-size: 13.5px;
	font-weight: 700;
	color: #2471a3;
}

/* ── Footer row (status + button) ── */
.stock-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 6px;
	gap: 8px;
}

.stock-card-status {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 500;
}

.stock-card-status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex-shrink: 0;
}

.stock-card-status-dot.open {
	background: #27ae60;
}

.stock-card-status-dot.closed {
	background: #aaa;
}

/* Button */
.stock-card-btn {
	font-size: 12px;
	font-weight: 600;
	padding: 5px 13px;
	border-radius: 20px;
	border: 1px solid #1a2744;
	color: #1a2744;
	background: transparent;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.18s, color 0.18s;
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.stock-card-btn:hover {
	background: #1a2744;
	color: var(--bs-white);
}

/* ── Skeleton ── */
.sk-box {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: skShimmer 1.4s infinite;
}

@keyframes skShimmer {
	0% {
		background-position: 200% 0;
	}

	100% {
		background-position: -200% 0;
	}
}

/*========stock_list mobile==========*/
.project_card {
	background: #ffffff;
	border-radius: 16px;
	padding: 16px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
	border: 1px solid var(--border);
	gap: 10px;
	max-width: 700px;
	margin: 0 auto;
}

.project_card .project-img-wrapper {
	position: relative;
	width: 60px;
	height: 60px;
	background-color: #fafafa;
	border-radius: 5px;
	border: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	text-align: center;
}

.project_card .hot-badge-absolute {
	position: absolute;
	top: -6px;
	left: -6px;
	background-color: var(--red);
	color: #fff;
	font-size: 6px;
	font-weight: bold;
	padding: 3px 5px;
	border-radius: 12px;
	box-shadow: 0 2px 4px rgba(153, 3, 3, 0.3);
	z-index: 2;
}

.project_card .logo-placeholder {
	font-family: Georgia, serif;
	color: #cda863;
	line-height: 1.1;
	width: 100%;
	height: 100%;
}

.project_card .logo-placeholder .main-text {
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 1px;
}

.project_card .logo-placeholder .sub-text {
	font-size: 8px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.project_card .project-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0;
}

.project_card .project-location {
	font-size: 13px;
	color: var(--text-muted);
}

.project_card .count-badge {
	font-size: 11px;
	font-weight: 600;
	color: var(--primary-red);
	border: 1px solid #fcebeb;
	padding: 4px 10px;
	border-radius: 6px;
	background-color: #fff;
	white-space: nowrap;
}

.project_card .tags-container {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.building-tag {
	border: 1px solid #e0e0e0;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 400;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: #444;
}

.building-tag.tag-red-text {
	color: var(--primary-red);
}

.building-tag.btn-toggle {
	cursor: pointer;
	color: #555;
	user-select: none;
	border: 1px dashed #bbb;
}

.building-tag.btn-toggle:hover {
	background-color: var(--bg-light);
	border-color: #999;
}

.project_card .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	display: inline-block;
}

.project_card .dot-red {
	background-color: var(--dot-red);
}

.project_card .dot-yellow {
	background-color: var(--dot-yellow);
}

.project_card .dot-green {
	background-color: var(--dot-green);
}

.project_card .tag-hot {
	background-color: var(--primary-red);
	color: white;
	font-size: 9px;
	padding: 2px 5px;
	border-radius: 4px;
	font-weight: bold;
}

.project_card .project-img-wrapper img {
	border-radius: 5px;
}

@media (max-width: 576px) {
	.project_card {
		flex-direction: column;
	}
}

/*========end stock_list mobile==========*/

/* ── FH OVERVIEW TAB ── */
.proj-overview-tab {
	--red: #c8173a;
	--red-dark: #a0102d;
	--gold: #c9922a;
	--gold-light: #e8b84b;
	--navy: #1a2744;
	--navy-light: #243358;
	--text: #1e1e1e;
	--text-muted: #666;
	--text-light: #999;
	--border: #e8e8e8;
	--bg: #f5f6f8;
	--white: #ffffff;
}

.proj-overview-tab .section-title {
	font-family: 'Lexend', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--text);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.proj-overview-tab .top-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
}

.proj-overview-tab .overview-card {
	background: var(--white);
	border-radius: 6px;
	box-shadow: 1px 0px 3px var(--light-gray);
	-moz-box-shadow: 1px 0px 3px var(--light-gray);
	-webkit-box-shadow: 1px 0px 3px var(--light-gray);
	-khtml-box-shadow: 1px 0px 3px var(--light-gray);
	padding: 20px;
}

.proj-overview-tab .overview-text {
	line-height: 1.7;
	color: var(--text-muted);
	flex: 1;
}

.proj-overview-tab .overview-img {
	width: 100%;
	height: 120px;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 16px;
	background: linear-gradient(135deg, #2a4a6b 0%, #1a3558 40%, #0d2040 100%);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.proj-overview-tab .overview-img-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(120deg, #1e3a5f 0%, #2a5080 50%, #1e3a5f 100%);
	position: relative;
	overflow: hidden;
}

.proj-overview-tab .overview-img-placeholder::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 10%;
	width: 25%;
	height: 70%;
	background: rgba(255, 255, 255, .18);
	border-radius: 3px 3px 0 0;
}

.proj-overview-tab .overview-img-placeholder::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 40%;
	width: 30%;
	height: 85%;
	background: rgba(255, 255, 255, .22);
	border-radius: 3px 3px 0 0;
	box-shadow: 45px 0 0 rgba(255, 255, 255, .16);
}

.proj-overview-tab .stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-bottom: 15px;
}

.proj-overview-tab .stat-over-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
}

.proj-overview-tab .stat-icon {
	width: 38px;
	height: 38px;
	background: var(--bg);
	border-radius: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--red);
}

.proj-overview-tab .stat-value {
	font-size: 12px;
	font-weight: 700;
	color: var(--text);
	line-height: 1.3;
}

.proj-overview-tab .stat-label {
	font-size: 10.5px;
	color: var(--text-light);
}

.proj-overview-tab .card-btn {
	max-width: 250px;
	color: var(--bs-red);
}

.proj-overview-tab .card-btn:hover {
	border-color: var(--red);
	color: var(--red);
}

.proj-overview-tab .amenity-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 16px;
	flex: 1;
}

.proj-overview-tab .amenity-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--text);
}

.proj-overview-tab .amenity-icon {
	width: 40px;
	height: 40px;
	background: #f9f9fb;
	flex-shrink: 0;
}

.proj-overview-tab .connect-map {
	flex: 1;
	position: relative;
	margin-bottom: 16px;
	min-height: 320px;
	overflow: visible;
	display: flex;
	align-items: center;
	justify-content: center;
}

.proj-overview-tab .connect-orbit {
	position: absolute;
	width: 250px;
	height: 250px;
	border: 1.5px dashed rgba(26, 39, 68, .15);
	border-radius: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: spinOrbit 40s linear infinite;
	z-index: 1;
}

@keyframes spinOrbit {
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.proj-overview-tab .connect-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	padding: 8px;
	border-radius: 50%;
	background: var(--white);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8), 0 4px 15px rgba(0, 0, 0, 0.1);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.proj-overview-tab .connect-center img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 50%;
}

.proj-overview-tab .connect-node {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 10px;
	font-weight: 600;
	color: var(--navy);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 5px 8px;
	text-align: center;
	line-height: 1.3;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	z-index: 2;
	transition: all 0.3s ease;
	/* Tăng radius để có không gian cho các đường kẻ */
	--radius: 125px;
	transform: translate(-50%, -50%) rotate(calc(360deg / var(--total, 6) * var(--i, 0))) translateY(calc(-1 * var(--radius))) rotate(calc(-360deg / var(--total, 6) * var(--i, 0)));
}

/* Đường kẻ gạch đứt từ Node hướng vào Center */
.proj-overview-tab .connect-node::before {
	content: "";
	position: absolute;
	width: 0;
	height: calc(var(--radius) - 52px);
	/* Độ dài đường kẻ = khoảng cách trừ đi bán kính logo */
	border-left: 1.5px dashed rgba(26, 39, 68, .2);
	top: 50%;
	left: 50%;
	transform-origin: top left;
	/* Góc xoay a tương ứng hướng mũi nhọn từ Node về phía Center */
	transform: rotate(calc(360deg / var(--total, 6) * var(--i, 0)));
	z-index: -1;
}

/* Hình tròn nhỏ ở đầu mút đường kẻ */
.proj-overview-tab .connect-node::after {
	content: "";
	position: absolute;
	width: 8px;
	height: 8px;
	border: 1.5px solid rgba(26, 39, 68, .25);
	border-radius: 50%;
	background: var(--bs-white);
	top: 50%;
	left: 50%;
	/* Xoay cùng góc và tịnh tiến xuống hết chiều dài của ::before */
	transform-origin: center;
	transform: translate(-50%, -50%) rotate(calc(360deg / var(--total, 6) * var(--i, 0))) translateY(calc(var(--radius) - 52px));
	z-index: -1;
}

.proj-overview-tab .connect-node:hover {
	box-shadow: 0 4px 12px rgba(200, 23, 58, .15);
	border-color: rgba(200, 23, 58, .3);
	z-index: 3;
	--radius: 130px;
	transform: translate(-50%, -50%) rotate(calc(360deg / var(--total, 6) * var(--i, 0))) translateY(calc(-1 * var(--radius))) rotate(calc(-360deg / var(--total, 6) * var(--i, 0))) scale(1.05);
}

.proj-overview-tab .connect-node .time {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--gold);
	display: block;
	margin-bottom: 2px;
}

.proj-overview-tab .mid-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
}

.proj-overview-tab .philosophy-quote {
	font-size: 14px;
	font-weight: 600;
	color: var(--red);
	font-style: italic;
	line-height: 1.6;
	margin-bottom: 12px;
	padding-left: 12px;
	border-left: 3px solid var(--red);
}

.proj-overview-tab .philosophy-text {
	font-size: 13px;
	line-height: 1.7;
	color: var(--text-muted);
	margin-bottom: 16px;
}

.proj-overview-tab .value-icons {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
}

.proj-overview-tab .value-icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
}

.proj-overview-tab .value-icon-item .icon-circle {
	width: 40px;
	height: 40px;
	background: var(--bg);
	border-radius: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
}

.proj-overview-tab .value-icon-item span {
	font-size: 9.5px;
	color: var(--text-muted);
	line-height: 1.3;
}

.proj-overview-tab .position-label {
	font-weight: 600;
	color: var(--text);
	margin-bottom: 10px;
}

.proj-overview-tab .position-desc {
	font-size: 13px;
	color: var(--text-muted);
	line-height: 1.6;
	margin-bottom: 14px;
}

.proj-overview-tab .position-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.proj-overview-tab .position-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--text-muted);
	line-height: 1.5;
}

.proj-overview-tab .pos-icon {
	width: 38px;
	height: 38px;
	background: #f9f9fb;
	flex-shrink: 0;
	margin-top: 1px;
}

.proj-overview-tab .position-item strong {
	color: var(--text);
}

.proj-overview-tab .value-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.proj-overview-tab .value-hero-img {
	width: 100%;
	height: 150px;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 14px;
	background: linear-gradient(135deg, #1a4a6b 0%, #2a7090 50%, #1a5070 100%);
	position: relative;
}

.proj-overview-tab .value-hero-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.proj-overview-tab .value-stat {
	text-align: center;
}

.proj-overview-tab .value-stat .vs-icon {
	width: 32px;
	height: 32px;
	background: #f9f9fb;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2px;
}

.proj-overview-tab .value-stat .vs-title {
	color: var(--text);
	line-height: 1.3;
}

.proj-overview-tab .value-stat .vs-sub {
	font-size: 9px;
	color: var(--text-light);
	line-height: 1.3;
}

.stats-project-bar {
	background: var(--light-gray);
	border-radius: 12px;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	overflow: hidden;
}

.stats-project-bar .stat-bar-item {
	padding: 20px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	border-right: 1px solid rgba(0, 0, 0, .08);
}

.stats-project-bar .stat-bar-item:last-child {
	border-right: none;
}

.stats-project-bar .stat-bar-num {
	font-size: 16px;
	font-weight: 700;
	color: var(--red);
	line-height: 1;
	margin-bottom: 4px;
}

.stats-project-bar .stat-bar-label {
	font-size: 12px;
	line-height: 1.4;
}

@media (max-width: 991px) {

	.proj-overview-tab .top-row,
	.proj-overview-tab .mid-row {
		grid-template-columns: 1fr;
	}

	.stats-project-bar {
		grid-template-columns: repeat(3, 1fr);
	}

	.stats-project-bar .stat-bar-item {
		border-bottom: 1px solid rgba(0, 0, 0, .08);
	}

	.stats-project-bar .stat-bar-item:nth-child(3n) {
		border-right: none;
	}
}

@media (max-width: 575px) {

	.proj-overview-tab .value-stats,
	.proj-overview-tab .stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.stats-project-bar {
		grid-template-columns: repeat(2, 1fr);
	}

	.stats-project-bar .stat-bar-item {
		border-right: 1px solid rgba(0, 0, 0, .08);
	}

	.stats-project-bar .stat-bar-item:nth-child(even) {
		border-right: none;
	}

	.item_project_block {
		flex-wrap: wrap;
	}

	.item_project_block .stock-card-thumb {
		width: 100%;
		height: 220px;
		display: none
	}
}

/* Empty Update State */
.update-feature-card {
	transition: all 0.3s ease !important;
}

.update-feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
	border-color: transparent !important;
}

/* ══════════════════════════════════════════════════
   KHO TÀI LIỆU (Document Library) – .kht-wrap
   ══════════════════════════════════════════════════ */
.kht-wrap {
	--red: #990303;
	--red-d: #7a0202;
	--text: #1a1a1a;
	--gray: #6b7280;
	--light: #f5f6f8;
	--border: #e5e7eb;
	--white: #ffffff;
	--trans: .18s ease;
	font-family: 'Be Vietnam Pro', sans-serif;
}

.kht-wrap *,
.kht-wrap *::before,
.kht-wrap *::after {
	box-sizing: border-box;
}

/* ── File Icon ── */
.kht-wrap .u-file-ico {
	width: 32px;
	height: 32px;
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	color: var(--bs-white);
	flex-shrink: 0;
	letter-spacing: .3px;
	transition: transform var(--trans);
}

.kht-wrap .u-file-ico--pdf {
	background: #e53e3e;
}

.kht-wrap .u-file-ico--pptx {
	background: #dd6b20;
}

.kht-wrap .u-file-ico--xlsx {
	background: #38a169;
}

.kht-wrap .u-file-ico--docx {
	background: #3182ce;
}

/* ── Badges ── */
.kht-wrap .u-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 11px;
	border-radius: 20px;
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
}

.kht-wrap .u-badge--phan-khu {
	background: rgba(37, 99, 235, .10);
	color: #2563eb;
	border: 1px solid rgba(37, 99, 235, .18);
}

.kht-wrap .u-badge--cs-ban-hang {
	background: rgba(22, 163, 74, .10);
	color: #15803d;
	border: 1px solid rgba(22, 163, 74, .18);
}

.kht-wrap .u-badge--presentation {
	background: rgba(124, 58, 237, .10);
	color: #7c3aed;
	border: 1px solid rgba(124, 58, 237, .18);
}

.kht-wrap .u-badge--bang-gia {
	background: rgba(217, 119, 6, .10);
	color: #b45309;
	border: 1px solid rgba(217, 119, 6, .18);
}

.kht-wrap .u-badge--cs-vay {
	background: rgba(14, 165, 233, .10);
	color: #0284c7;
	border: 1px solid rgba(14, 165, 233, .18);
}

.kht-wrap .u-badge--mat-bang {
	background: rgba(236, 72, 153, .10);
	color: #be185d;
	border: 1px solid rgba(236, 72, 153, .18);
}

.kht-wrap .u-badge--default {
	background: rgba(107, 114, 128, .10);
	color: #4b5563;
	border: 1px solid rgba(107, 114, 128, .18);
}

/* ── Format Badges ── */
.kht-wrap .u-format-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .4px;
	white-space: nowrap;
}

.kht-wrap .u-format-badge--pdf {
	background: rgba(229, 62, 62, .10);
	color: #c53030;
	border: 1px solid rgba(229, 62, 62, .20);
}

.kht-wrap .u-format-badge--pptx {
	background: rgba(221, 107, 32, .10);
	color: #c05621;
	border: 1px solid rgba(221, 107, 32, .20);
}

.kht-wrap .u-format-badge--xlsx {
	background: rgba(56, 161, 105, .10);
	color: #276749;
	border: 1px solid rgba(56, 161, 105, .20);
}

.kht-wrap .u-format-badge--docx {
	background: rgba(49, 130, 206, .10);
	color: #2b6cb0;
	border: 1px solid rgba(49, 130, 206, .20);
}

/* ── Action Buttons ── */
.kht-wrap .u-action-btn {
	width: 32px;
	height: 32px;
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--border);
	background: var(--white);
	color: var(--gray);
	font-size: 13px;
	cursor: pointer;
	transition: border-color var(--trans), color var(--trans), background var(--trans), transform var(--trans);
	flex-shrink: 0;
}

.kht-wrap .u-action-btn:hover {
	border-color: var(--red);
	color: var(--red);
	background: rgba(153, 3, 3, .04);
	transform: translateY(-1px);
}

/* ── Page Header ── */
.kht-wrap .page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 12px;
}

.kht-wrap .page-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 9px;
}

.kht-wrap .page-title i {
	color: var(--red);
	font-size: 20px;
}

.kht-wrap .page-count {
	font-size: 13px;
	color: var(--gray);
	font-weight: 400;
	margin-left: 4px;
}

/* ── Header Actions & Search ── */
.kht-wrap .header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.kht-wrap .search-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.kht-wrap .search-input {
	border: 1.5px solid var(--border);
	border-radius: 8px;
	padding: 8px 12px 8px 36px;
	font-size: 13px;
	font-family: inherit;
	outline: none;
	background: var(--white);
	width: 240px;
	transition: border-color var(--trans), box-shadow var(--trans);
	color: var(--text);
}

.kht-wrap .search-input:focus {
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(153, 3, 3, .08);
}

.kht-wrap .search-input::placeholder {
	color: #b0b7c3;
}

.kht-wrap .search-icon {
	position: absolute;
	left: 11px;
	color: #b0b7c3;
	font-size: 13px;
	pointer-events: none;
}

/* ── Header Buttons ── */
.kht-wrap .btn-header {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1.5px solid var(--border);
	background: var(--white);
	color: var(--text);
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	font-family: inherit;
	transition: all var(--trans);
	white-space: nowrap;
}

.kht-wrap .btn-header i {
	font-size: 13px;
	color: var(--gray);
}

.kht-wrap .btn-header:hover {
	border-color: var(--red);
	color: var(--red);
}

.kht-wrap .btn-header:hover i {
	color: var(--red);
}

.kht-wrap .btn-header--primary {
	background: var(--red);
	color: var(--bs-white);
	border-color: var(--red);
}

.kht-wrap .btn-header--primary i {
	color: var(--bs-white);
}

.kht-wrap .btn-header--primary:hover {
	background: var(--red-d);
	border-color: var(--red-d);
	color: var(--bs-white);
}

.kht-wrap .btn-header--primary:hover i {
	color: var(--bs-white);
}

/* ── Filter Tabs ── */
.kht-wrap .filter-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid var(--border);
	margin-bottom: 0;
	overflow-x: auto;
	background: var(--white);
	border-radius: 12px 12px 0 0;
	padding: 0 8px;
}

.kht-wrap .filter-tabs::-webkit-scrollbar {
	display: none;
}

.kht-wrap .ftab {
	padding: 13px 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray);
	white-space: nowrap;
	cursor: pointer;
	border-bottom: 2.5px solid transparent;
	margin-bottom: -2px;
	background: none;
	border-top: none;
	border-left: none;
	border-right: none;
	font-family: inherit;
	transition: color var(--trans), border-color var(--trans);
	flex-shrink: 0;
}

.kht-wrap .ftab:hover {
	color: var(--red);
}

.kht-wrap .ftab.active {
	color: var(--red);
	border-bottom-color: var(--red);
	font-weight: 700;
}

/* ── Table Card (Rounded wrapper) ── */
.kht-wrap .table-card {
	background: var(--white);
	border-radius: 12px;
	border: 1px solid var(--border);
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

/* ── Document Table ── */
.kht-wrap .doc-table {
	width: 100%;
	border-collapse: collapse;
}

.kht-wrap .doc-table thead th {
	padding: 12px 16px;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--gray);
	background: var(--light);
	border-bottom: 1.5px solid var(--border);
	white-space: nowrap;
	user-select: none;
	cursor: pointer;
}

.kht-wrap .doc-table thead th:first-child {
	padding-left: 20px;
}

.kht-wrap .doc-table thead th:last-child {
	padding-right: 20px;
	text-align: center;
}

.kht-wrap .th-sortable {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.kht-wrap .th-sortable i {
	font-size: 10px;
	color: #c4c9d4;
	transition: color var(--trans);
}

.kht-wrap .doc-table thead th:hover .th-sortable i {
	color: var(--red);
}

.kht-wrap .doc-table thead th.sorted .th-sortable i {
	color: var(--red);
}

/* ── Table Rows ── */
.kht-wrap .doc-table tbody tr {
	border-bottom: 1px solid #f3f4f6;
	transition: background var(--trans);
	animation: khtRowFadeIn .35s ease both;
}

.kht-wrap .doc-table tbody tr:last-child {
	border-bottom: none;
}

.kht-wrap .doc-table tbody tr:hover {
	background: #fafbff;
}

@keyframes khtRowFadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ── Table Cells ── */
.kht-wrap .doc-table tbody td {
	padding: 10px 15px;
	font-size: 13px;
	vertical-align: middle;
}

.kht-wrap .doc-table tbody td:first-child {
	padding-left: 20px;
}

.kht-wrap .doc-table tbody td:last-child {
	padding-right: 20px;
}

/* ── Name Cell ── */
.kht-wrap .doc-name-cell {
	display: flex;
	align-items: center;
	gap: 11px;
}

.kht-wrap .doc-name-cell:hover .u-file-ico {
	transform: scale(1.08);
}

.kht-wrap .doc-name-text {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--text);
	cursor: pointer;
	transition: color var(--trans);
	line-height: 1.35;
}

.kht-wrap .doc-name-text:hover {
	color: var(--red);
}

/* ── Other Table Data ── */
.kht-wrap .td-date {
	font-size: 13px;
	color: var(--text);
	white-space: nowrap;
}

.kht-wrap .td-size {
	font-size: 13px;
	color: var(--gray);
	white-space: nowrap;
	font-weight: 500;
}

.kht-wrap .td-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	justify-content: center;
}

/* ── Table Footer ── */
.kht-wrap .table-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-top: 1px solid var(--border);
	background: var(--white);
	border-radius: 0 0 12px 12px;
	flex-wrap: wrap;
	gap: 12px;
}

.kht-wrap .tf-info {
	font-size: 13px;
	color: var(--gray);
}

.kht-wrap .tf-info strong {
	color: var(--text);
	font-weight: 700;
}

/* ── Pagination ── */
.kht-wrap .pagination-wrap {
	display: flex;
	align-items: center;
	gap: 5px;
}

.kht-wrap .pg-btn {
	width: 32px;
	height: 32px;
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--border);
	background: var(--white);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gray);
	cursor: pointer;
	transition: all var(--trans);
}

.kht-wrap .pg-btn:hover {
	border-color: var(--red);
	color: var(--red);
}

.kht-wrap .pg-btn.active {
	background: var(--red);
	border-color: var(--red);
	color: var(--bs-white);
}

.kht-wrap .pg-btn:disabled {
	opacity: .4;
	cursor: not-allowed;
	pointer-events: none;
}

.kht-wrap .pg-ellipsis {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: var(--gray);
}

/* ── Mobile Cards ── */
.kht-wrap .doc-cards {
	display: none;
}

.kht-wrap .doc-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 11px;
	padding: 14px;
	margin-bottom: 10px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
	transition: box-shadow var(--trans);
	animation: khtRowFadeIn .35s ease both;
}

.kht-wrap .doc-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, .09);
}

.kht-wrap .dc-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 10px;
}

.kht-wrap .dc-title {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	flex: 1;
}

.kht-wrap .dc-name {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--text);
	line-height: 1.4;
	cursor: pointer;
}

.kht-wrap .dc-name:hover {
	color: var(--red);
}

.kht-wrap .dc-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.kht-wrap .dc-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.kht-wrap .dc-info {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--gray);
}

.kht-wrap .dc-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

/* ── Filter Header ── */
.kht-filter-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.kht-filter-tabs {
	flex: 1;
	min-width: 0;
}

.kht-search-bar {
	flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
	.kht-wrap .col-phan-khu {
		display: none;
	}

	.kht-wrap .search-input {
		width: 180px;
	}
}

@media (max-width: 900px) {
	.kht-wrap .col-dung-luong {
		display: none;
	}
}

@media (max-width: 767px) {
	.kht-filter-header {
		flex-direction: column;
		align-items: stretch;
	}

	.kht-filter-tabs {
		width: 100%;
	}

	.kht-search-bar {
		width: 100%;
	}

	.kht-wrap .search-input {
		width: 100%;
	}

	.kht-wrap .search-wrap {
		width: 100%;
	}

	.kht-wrap .doc-table-wrap {
		display: none;
	}

	.kht-wrap .filter-tabs {
		display: none;
	}

	.kht-wrap .doc-cards {
		display: block;
	}

	.kht-wrap .table-card {
		border-radius: 12px;
		border-top: 1px solid var(--border);
	}

	.kht-wrap .table-footer {
		border-radius: 12px;
	}
}

@media (max-width: 575px) {
	.kht-wrap .page-title {
		font-size: 17px;
	}

	.kht-wrap .btn-header span {
		display: none;
	}

	.kht-wrap .btn-header {
		padding: 8px 10px;
	}
}

/* ══════════════════════════════════════════════════
   CHÍNH SÁCH BÁN HÀNG (CSBH) – .csbh-wrap
   ══════════════════════════════════════════════════ */
.csbh-wrap {
	font-family: 'Be Vietnam Pro', sans-serif;
}

.csbh-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: var(--bs-white);
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	text-decoration: none;
	color: inherit;
	transition: all .25s ease;
	animation: csbhFadeIn .4s ease both;
}

.csbh-card:hover {
	border-color: #c7d2fe;
	box-shadow: 0 8px 25px rgba(99, 102, 241, .12);
	transform: translateY(-2px);
}

@keyframes csbhFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.csbh-thumb {
	flex-shrink: 0;
	width: 100px;
	height: 120px;
	border-radius: 10px;
	overflow: hidden;
	background: #f0f2f5;
}

.csbh-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.csbh-card:hover .csbh-thumb img {
	transform: scale(1.05);
}

.csbh-body {
	flex: 1;
	min-width: 0;
}

.csbh-title {
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 4px;
	transition: color .15s ease;
}

.csbh-card:hover .csbh-title {
	color: #4f46e5;
}

.csbh-date {
	font-size: 12px;
	color: #9ca3af;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
}

.csbh-date i {
	font-size: 13px;
	color: #c084fc;
}

.csbh-desc {
	font-size: 12px;
	color: #64748b;
	line-height: 1.5;
	margin: 4px 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.csbh-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 10px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 600;
	color: #6366f1;
	background: #eef2ff;
	border-radius: 6px;
	transition: all .2s ease;
}

.csbh-card:hover .csbh-btn {
	background: #6366f1;
	color: var(--bs-white);
}

.csbh-btn i {
	font-size: 15px;
	transition: transform .2s ease;
}

.csbh-card:hover .csbh-btn i {
	transform: translateX(3px);
}

@media (max-width: 767px) {
	.csbh-card {
		padding: 14px;
		gap: 12px;
	}

	.csbh-thumb {
		width: 72px;
		height: 90px;
		border-radius: 8px;
	}
}

/* ══════════════════════════════════════════════════
   TIỆN ÍCH (Utilities Accordion) – .ti-wrap
   ══════════════════════════════════════════════════ */
.ti-wrap {
	font-family: 'Be Vietnam Pro', sans-serif;
	background: var(--bs-white);
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
	overflow: hidden;
}

.ti-header {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	padding: 18px 20px 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ti-header i {
	font-size: 18px;
	color: #6b7280;
}

/* ── Category Group ── */
.ti-group {
	border-top: 1px solid #f0f1f3;
}

.ti-group-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	cursor: pointer;
	transition: background .15s ease;
	user-select: none;
}

.ti-group-header:hover {
	background: #f9fafb;
}

.ti-group-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #374151;
}

.ti-group-icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
	flex-shrink: 0;
}

.ti-group-header>i {
	font-size: 18px;
	color: #9ca3af;
	transition: transform .2s ease;
}

/* ── Utility Items ── */
.ti-items {
	padding: 0 20px 8px;
}

.ti-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #f3f4f6;
	animation: tiItemFade .3s ease both;
}

.ti-item:last-child {
	border-bottom: none;
}

@keyframes tiItemFade {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Image */
.ti-item-img {
	flex-shrink: 0;
	width: 140px;
	height: 90px;
	border-radius: 8px;
	overflow: hidden;
	background: #f0f2f5;
	display: block;
}

.ti-item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.ti-item:hover .ti-item-img img {
	transform: scale(1.05);
}

/* Body */
.ti-item-body {
	flex: 1;
	min-width: 0;
	padding-top: 2px;
}

.ti-item-title {
	font-size: 14px;
	font-weight: 700;
	color: #1e40af;
	text-decoration: none;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 4px;
	transition: color .15s ease;
}

.ti-item-title:hover {
	color: #1d4ed8;
}

.ti-item-desc {
	font-size: 13px;
	color: #6b7280;
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Action chevron */
.ti-item-action {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	cursor: pointer;
	border-radius: 6px;
	transition: all .15s ease;
	margin-top: 4px;
}

.ti-item-action:hover {
	background: #f3f4f6;
	color: #374151;
}

/* ── Responsive ── */
@media (max-width: 575px) {
	.ti-item-img {
		width: 100px;
		height: 68px;
	}

	.ti-header {
		padding: 14px 16px 10px;
		font-size: 15px;
	}

	.ti-group-header {
		padding: 12px 16px;
	}

	.ti-items {
		padding: 0 16px 6px;
	}

	.ti-item-action {
		display: none;
	}
}

/* =========================================================================
   PROJECT DETAIL SIDEBAR LAYOUT
   ========================================================================= */
.pj-sidebar-sticky {
	position: sticky;
	top: 80px;
}

/* ---- Sidebar Component ---- */
.pj-sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pj-sb-card {
	background: var(--bs-white);
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 18px;
}

.pj-sb-title {
	font-size: 13px;
	font-weight: 700;
	color: #1e1e1e;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.pj-sb-title .bx {
	font-size: 16px;
	color: #666;
}

/* ---- Info List ---- */
.pj-sb-info-list {
	display: flex;
	flex-direction: column;
}

.pj-sb-info-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}

.pj-sb-info-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.pj-sb-info-row:first-child {
	padding-top: 0;
}

.pj-sb-info-icon {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	flex-shrink: 0;
	margin-top: 1px;
}

.pj-sb-info-icon .bx {
	font-size: 14px;
}

.pj-sb-info-label {
	font-size: 12px;
	color: #666;
	flex-shrink: 0;
	min-width: 85px;
}

.pj-sb-info-value {
	font-size: 12.5px;
	font-weight: 500;
	color: #1e1e1e;
	word-break: break-word;
}

/* ---- Stats ---- */
.pj-sb-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.pj-sb-stat {
	background: #f4f5f7;
	border-radius: 8px;
	padding: 14px 12px;
	text-align: center;
}

.pj-sb-stat-num {
	font-size: 24px;
	font-weight: 800;
	color: #c8173a;
	line-height: 1;
	margin-bottom: 4px;
}

.pj-sb-stat-label {
	font-size: 11px;
	color: #666;
	font-weight: 500;
}

/* ---- Quick Links ---- */
.pj-sb-links {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pj-sb-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	font-size: 12.5px;
	font-weight: 500;
	color: #4b5563;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
	cursor: pointer;
}

.pj-sb-link:hover {
	background: #fef5f7;
	color: #c8173a;
}

.pj-sb-link .bx {
	font-size: 15px;
	flex-shrink: 0;
}

/* ---- Sold-out Blocks ---- */
.pj-sb-sold-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pj-sb-sold-item {
	display: flex;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f0f0f0;
}

.pj-sb-sold-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.pj-sb-sold-thumb {
	width: 90px;
	height: 65px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
	position: relative;
}

.pj-sb-sold-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pj-sb-sold-badge {
	position: absolute;
	top: 4px;
	left: 4px;
	background: rgba(0, 0, 0, 0.55);
	color: var(--bs-white);
	font-size: 9px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 3px;
	line-height: 1.3;
}

.pj-sb-sold-badge.badge-green {
	background: #22c55e;
}

.pj-sb-sold-badge.badge-orange {
	background: #f97316;
}

.pj-sb-sold-badge.badge-gray {
	background: rgba(0, 0, 0, 0.55);
}

.pj-sb-sold-info {
	flex: 1;
	min-width: 0;
}

.pj-sb-sold-name {
	font-size: 13px;
	font-weight: 700;
	color: #1e1e1e;
	margin-bottom: 2px;
	line-height: 1.3;
}

.pj-sb-sold-dev {
	font-size: 11px;
	color: #999;
	margin-bottom: 3px;
}

.pj-sb-sold-meta {
	font-size: 10.5px;
	color: #666;
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	margin-bottom: 3px;
}

.pj-sb-sold-price {
	font-size: 11.5px;
	font-weight: 700;
	color: #1d4ed8;
	background: #eff6ff;
	padding: 2px 8px;
	border-radius: 4px;
	display: inline-block;
	margin-bottom: 6px;
}

.pj-sb-sold-btn {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	color: #4b5563;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	padding: 3px 12px;
	text-decoration: none;
	transition: all 0.15s;
}

.pj-sb-sold-btn:hover {
	border-color: #c8173a;
	color: #c8173a;
}

.pj-sb-sold-viewall {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 14px;
	padding: 10px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: #4b5563;
	text-decoration: none;
	transition: all 0.15s;
	cursor: pointer;
}

.pj-sb-sold-viewall:hover {
	border-color: #c8173a;
	color: #c8173a;
}

/* =========================================================================
   FLOOR PLAN OWL CAROUSEL TABS
   ========================================================================= */
.fp-nav-wrap {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.fp-owl-tabs {
	width: calc(100% - 70px) !important;
	margin: 0 auto;
}

.fp-nav-arrow {
	background: var(--bs-white);
	border: 1px solid #e0e0e0;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #4b5563;
	font-size: 20px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	flex-shrink: 0;
}

.fp-nav-arrow:hover {
	background: #c8173a;
	color: var(--bs-white);
	border-color: #c8173a;
	box-shadow: 0 4px 8px rgba(200, 23, 58, 0.2);
}

.fp-nav-prev {
	margin-right: 8px;
}

.fp-nav-next {
	margin-left: 8px;
}

.fp-tab-item {
	display: inline-block;
	padding: 2px 0;
	/* Cho shadow không bị cắt */
}

.fp-owl-tabs .btn:hover:not(.btn-main) {
	border-color: var(--red) !important;
	color: var(--red) !important;
	background: rgba(153, 3, 3, .03);
}

.zoom-cmd {
	position: absolute;
	top: 80px;
	right: 24px;
}

.zoom-cmd .zoom-in,
.zoom-cmd .zoom-out {
	display: block;
	width: 30px;
	height: 30px;
	cursor: pointer;
	border: 1px solid #DDD;
}

.zoom-cmd .zoom-in {
	margin-bottom: 5px;
	background: var(--bs-white) url("../images/SmartZoom/zoomIn.png") no-repeat center center;
}

.zoom-cmd .zoom-out {
	background: var(--bs-white) url("../images/SmartZoom/zoomOut.png") no-repeat center center;
}

.zoom-map {
	width: 58px;
	height: 58px;
	position: absolute;
	top: 10px;
	right: 10px;
}

.circle-wrap {
	width: 150px;
	height: 150px;
	background: #e6e2e7;
	border-radius: 50%;
}

.circle-wrap .circle .mask,
.circle-wrap .circle .fill {
	width: 150px;
	height: 150px;
	position: absolute;
	border-radius: 50%;
}

.circle-wrap .circle .mask {
	clip: rect(0px, 150px, 150px, 75px);
}

.circle-wrap .circle .mask .fill {
	clip: rect(0px, 75px, 150px, 0px);
	background-color: #950b25;
}

.circle-wrap .circle .mask.full,
.circle-wrap .circle .fill {
	animation: fill ease-in-out 3s;
	transform: rotate(126deg);
}

@keyframes fill {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(126deg);
	}
}

.circle-wrap .inside-circle {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: var(--bs-white);
	line-height: 130px;
	text-align: center;
	margin-top: 10px;
	margin-left: 10px;
	position: absolute;
	z-index: 100;
	font-weight: 700;
	font-size: 2em;
}

.leaflet-container {
	background: var(--bs-white) !important;
}

@media(max-width:575px) {
	#project_tiles_map {
		height: 400px !important;
	}
}

/* Empty State Layout Updating */
.empty-layout-container {
	background: #fdfbfb;
}

.empty-layout-bg-pattern {
	background-image: radial-gradient(#e5e7eb 1.5px, transparent 1.5px);
	background-size: 24px 24px;
	opacity: 0.6;
}

.empty-layout-icon-box {
	width: 88px;
	height: 88px;
	background: var(--bs-white);
	border: 4px solid #f8f9fa;
}

.empty-layout-badge-wrap {
	top: -8px;
	right: -8px;
	transform: rotate(15deg);
}

.empty-layout-badge {
	width: 28px;
	height: 28px;
	padding: 0;
}

.empty-layout-icon {
	font-size: 40px;
	background: -webkit-linear-gradient(45deg, #3b82f6, #8b5cf6);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.empty-layout-desc {
	max-width: 550px;
	font-size: 15px;
	line-height: 1.6;
}

/* Tien do */
/* ===== SECTION WRAPPER ===== */
.section-card {
	background: var(--bs-white);
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 1px 8px rgba(0, 0, 0, .07);
}

.section-title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #1a1a2e;
}

/* ===== CIRCULAR PROGRESS ===== */
.circle-wrap {
	position: relative;
	width: 130px;
	height: 130px;
	flex-shrink: 0;
}

.circle-wrap svg {
	transform: rotate(-90deg);
}

.circle-bg {
	fill: none;
	stroke: #f0f0f0;
	stroke-width: 10;
}

.circle-progress {
	fill: none;
	stroke-width: 10;
	stroke-linecap: round;
	stroke: url(#progressGrad);
	stroke-dasharray: 345;
	stroke-dashoffset: 345;
	/* 345*(1-0.68) */
	transition: stroke-dashoffset 1.2s ease;
}

.circle-inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.circle-pct {
	font-size: 26px;
	font-weight: 800;
	color: #1a1a2e;
	line-height: 1;
}

.circle-label {
	font-size: 11px;
	color: var(--gray-text);
}

/* ===== TIMELINE ===== */
.timeline-wrap {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0;
	flex: 1;
}

.tl-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

/* horizontal connector */
.tl-item:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 19px;
	left: 50%;
	width: 100%;
	height: 2px;
	background: #dee2e6;
	z-index: 0;
}

.tl-item.done:not(:last-child)::after {
	background: #28a745;
}

.tl-item.active:not(:last-child)::after {
	background: linear-gradient(90deg, #28a745, #dee2e6);
}

.tl-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 2px solid #dee2e6;
	background: var(--bs-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	position: relative;
	z-index: 1;
	color: #adb5bd;
}

.tl-item.done .tl-icon {
	border-color: #28a745;
	color: #28a745;
	background: #f0fff4;
}

.tl-item.active .tl-icon {
	border-color: var(--red);
	color: var(--red);
	background: #fff5f5;
}

/* red dot under active icon */
.tl-item.active .tl-icon::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
}

.tl-name {
	font-size: 12px;
	font-weight: 600;
	color: #1a1a2e;
	margin-top: 10px;
}

.tl-date {
	font-size: 11px;
	color: var(--gray-text);
}

/* ===== STATUS BAR ===== */
.status-bar {
	background: #f0f4ff;
	border-radius: 8px;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.status-icon {
	font-size: 22px;
	color: #6c8ebf;
	flex-shrink: 0;
}

.status-text p {
	margin: 0;
}

.status-text .title {
	font-size: 13px;
	font-weight: 700;
	color: #1a1a2e;
}

.status-text .sub {
	font-size: 12px;
	color: var(--gray-text);
}

.btn-detail {
	margin-left: auto;
	white-space: nowrap;
	font-size: 13px;
	border: 1.5px solid #ced4da;
	border-radius: 8px;
	color: #1a1a2e;
	background: var(--bs-white);
	padding: 7px 16px;
	flex-shrink: 0;
}

.btn-detail:hover {
	background: #f8f9fa;
}

/* ===== FILTER TABS ===== */
.filter-tabs .btn {
	font-size: 13px;
	border-radius: 20px;
	padding: 5px 16px;
	border: 1.5px solid #dee2e6;
	color: #495057;
	background: var(--bs-white);
}

.filter-tabs .btn.active {
	background: var(--red);
	border-color: var(--red);
	color: var(--bs-white);
}

/* ===== OWL CAROUSEL ===== */
.media-card {
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
}

.media-card img {
	width: 100%;
	height: 195px;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.media-card:hover img {
	transform: scale(1.04);
}

.media-card .media-inner {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}

.badge-new {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--red);
	color: var(--bs-white);
	font-size: 10px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	z-index: 2;
}

.play-btn {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .35);
}

.play-btn i {
	font-size: 40px;
	color: var(--bs-white);
}

.media-date {
	font-size: 11px;
	color: var(--gray-text);
	margin-top: 8px;
}

.media-title {
	font-size: 13px;
	font-weight: 600;
	color: #1a1a2e;
	margin-top: 2px;
}

/* Owl nav */
.owl-nav button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50% !important;
	background: var(--bs-white) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border: none !important;
	z-index: 10;
}

.owl-nav .owl-prev {
	left: -18px;
}

.owl-nav .owl-next {
	right: -18px;
}

.owl-nav button span {
	font-size: 22px;
	line-height: 1;
	color: #555;
	margin-top: -2px;
}

.owl-nav button:hover {
	background: var(--red) !important;
}

.owl-nav button:hover span {
	color: var(--bs-white);
}

/* dots */
.owl-dots {
	margin-top: 14px !important;
}

.owl-dot span {
	width: 8px !important;
	height: 8px !important;
	background: #dee2e6 !important;
	margin: 0 4px !important;
}

.owl-dot.active span {
	background: var(--red) !important;
	width: 22px !important;
	border-radius: 4px !important;
}

/* select dropdowns */
.tien-do-filters .form-select {
	font-size: 13px;
	border-radius: 8px;
	border: 1.5px solid #dee2e6;
	padding: 6px 32px 6px 12px;
	min-width: 120px;
}

.update-date {
	font-size: 12px;
	color: var(--gray-text);
}

.update-date strong {
	color: #1a1a2e;
	font-size: 15px;
	display: block;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 575.98px) {

	/* Toàn bộ section card padding nhỏ lại */
	.section-card {
		padding: 16px;
	}

	/* Header filter chuyển thành 2 cột */
	.tien-do-filters {
		flex-wrap: wrap;
		gap: 6px !important;
	}

	.tien-do-filters .form-select {
		min-width: 0;
		flex: 1 1 40%;
		font-size: 12px;
	}

	/* Circle + timeline stack dọc */
	.d-flex.align-items-start.gap-4.flex-wrap {
		flex-direction: column;
		align-items: center !important;
		gap: 20px !important;
	}

	/* Circle căn giữa */
	.circle-wrap {
		width: 110px;
		height: 110px;
	}

	.circle-wrap svg {
		width: 110px;
		height: 110px;
	}

	.circle-pct {
		font-size: 22px;
	}

	/* Timeline chuyển thành DỌNG */
	.timeline-wrap {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		width: 100%;
		padding-left: 20px;
	}

	.tl-item {
		flex: unset;
		flex-direction: row;
		align-items: flex-start;
		width: 100%;
		padding-bottom: 20px;
		gap: 14px;
	}

	/* Xóa connector ngang */
	.tl-item:not(:last-child)::after {
		/* vertical connector */
		top: 38px;
		left: 19px;
		width: 2px;
		height: 100%;
		background: #dee2e6;
	}

	.tl-item.done:not(:last-child)::after {
		background: #28a745;
	}

	.tl-item.active:not(:last-child)::after {
		background: linear-gradient(180deg, #28a745, #dee2e6);
	}

	/* Text align trái */
	.tl-name {
		margin-top: 0;
		text-align: left !important;
	}

	.tl-date {
		text-align: left;
	}

	/* Dot đỏ của active: chuyển sang bên phải icon thay vì dưới */
	.tl-item.active .tl-icon::after {
		bottom: auto;
		left: auto;
		right: -6px;
		top: 50%;
		transform: translateY(-50%);
	}

	.btm-bar {
		position: inherit
	}

	.btn-detail {
		margin-left: 0;
		width: 100%;
		text-align: center;
	}

	/* Owl nav arrows ẩn đi tránh tràn */
	.owl-nav .owl-prev {
		left: -10px;
	}

	.owl-nav .owl-next {
		right: -10px;
	}

	.filter-row,
	.filter-left,
	.filter-right {
		flex-wrap: nowrap
	}

	table.bt th,
	table.bt td {
		font-size: 8px !important
	}
}

/* ===== TABLET (576px – 767px) ===== */
@media (min-width: 576px) and (max-width: 767.98px) {

	/* Timeline vẫn ngang nhưng text nhỏ hơn */
	.tl-name {
		font-size: 11px;
	}

	.tl-date {
		font-size: 10px;
	}

	.tl-icon {
		width: 32px;
		height: 32px;
		font-size: 13px;
	}

	/* Connector top adjust */
	.tl-item:not(:last-child)::after {
		top: 16px;
	}

	/* Status bar wrap */
	.status-bar {
		flex-wrap: wrap;
	}

	.btn-detail {
		margin-left: 0;
	}
}

/* ===== BẢNG HÀNG THẤP TẦNG (Low-Floor Stock Table) ===== */
/* --- Page Header --- */
.lf-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.lf-page-title {
	font-size: 18px;
	font-weight: 700;
	color: #111827;
}

.lf-page-sub {
	font-size: 13px;
	color: #6b7280;
	margin-top: 2px;
}

/* --- Filter Panel --- */
.lf-filter-panel {
	background: #1e2d6b;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 14px;
}

.lf-filter-groups {
	display: flex;
	gap: 0;
	flex-wrap: wrap;
}

.lf-filter-group {
	flex: 1;
	min-width: 220px;
	padding: 10px 16px;
}

.lf-filter-divider {
	width: 1px;
	background: rgba(255, 255, 255, .15);
	margin: 4px 0;
	flex-shrink: 0;
}

.lf-filter-group__label {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 11.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, .85);
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.lf-filter-group__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .25);
	font-size: 11px;
	font-weight: 700;
	color: var(--bs-white);
	flex-shrink: 0;
}

.lf-filter-label {
	display: block;
	font-size: 11px;
	color: rgba(255, 255, 255, .65);
	margin-bottom: 4px;
}

.lf-select,
.lf-select-btn {
	background: var(--bs-white) !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	height: 36px !important;
	border: none !important;
}

.lf-select .multiselect-selected-text,
.lf-select-btn .multiselect-selected-text {
	color: #374151 !important;
}

.lf-filter-group .multiselect,
.lf-filter-group .btn.multiselect {
	border: 0 !important;
}

/* --- Stats Strip --- */
.lf-stats-strip {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.lf-stat-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--bs-white);
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 10px 18px;
	min-width: 120px;
	flex: 1;
}

.lf-stat-card__icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.lf-stat-card__icon--blue {
	background: #eff6ff;
	color: #3b82f6;
}

.lf-stat-card__icon--green {
	background: #f0fdf4;
	color: #22c55e;
}

.lf-stat-card__icon--orange {
	background: #fff7ed;
	color: #f97316;
}

.lf-stat-card__icon--red {
	background: #fff1f2;
	color: #f43f5e;
}

.lf-stat-card__num {
	font-size: 22px;
	font-weight: 800;
	color: #111827;
	line-height: 1;
}

.lf-stat-card__label {
	font-size: 11px;
	color: #9ca3af;
	margin-top: 2px;
}

/* --- TABLE TOOLBAR (synced from tool.css) --- */
:root {
	--ts-gray-50: #f8f9fa;
	--ts-gray-100: #f1f3f5;
	--ts-gray-200: #e9ecef;
	--ts-gray-300: #d9dee3;
	--ts-gray-400: #ced4da;
	--ts-gray-500: #adb5bd;
	--ts-gray-600: #868e96;
	--ts-gray-700: #495057;
	--ts-gray-800: #343a40;
	--ts-gray-900: #212529;
	--ts-shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
	--ts-radius: 8px;
	--ts-red: #e02020;
	--ts-blue: #1a6ef5;
}

.ts-table-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--bs-white);
	border: 1px solid var(--ts-gray-200);
	border-bottom: none;
	border-radius: var(--ts-radius) var(--ts-radius) 0 0;
	padding: 10px 16px;
	flex-wrap: nowrap;
}

.ts-toolbar-tabs {
	display: flex;
	gap: 20px;
}

.ts-tab-item {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ts-gray-600);
	cursor: pointer;
	padding-bottom: 8px;
	border-bottom: 2px solid transparent;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: -10px;
	text-decoration: none;
}

a.ts-tab-item {
	color: var(--ts-gray-600);
	text-decoration: none;
}

a.ts-tab-item:hover {
	color: var(--ts-blue);
	text-decoration: none;
}

.ts-tab-item.active {
	color: var(--ts-blue);
	border-bottom-color: var(--ts-blue);
}

.ts-toolbar-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-shrink: 0;
	flex-wrap: nowrap;
}

.ts-toolbar-actions .btn {
	font-size: 12.5px;
	white-space: nowrap;
}

.ts-toolbar-actions .form-select {
	height: 34px;
	font-size: 12.5px;
	padding: 4px 30px 4px 12px;
	border-color: var(--ts-gray-200);
	color: var(--ts-gray-700);
	font-weight: 500;
}

.ts-table-wrap {
	background: var(--bs-white);
	border: 1px solid var(--ts-gray-200);
	border-radius: var(--ts-radius);
	overflow: hidden;
	box-shadow: var(--ts-shadow-sm);
}

.ts-table-toolbar+.ts-table-wrap {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

@media (max-width: 768px) {
	.ts-table-toolbar {
		flex-wrap: wrap;
		gap: 6px;
		padding: 8px 10px;
	}

	.ts-toolbar-tabs {
		gap: 10px;
	}

	.ts-tab-item {
		padding: 5px 8px;
		font-size: 12px;
		gap: 4px;
		border-bottom: none;
		margin-bottom: 0;
		padding-bottom: 5px;
	}

	.ts-tab-item.active {
		border-bottom: none;
		background: #eff6ff;
		border-radius: 6px;
	}

	.ts-toolbar-actions {
		width: 100%;
		overflow-x: auto;
	}

	.ts-toolbar-actions .btn {
		flex-shrink: 0;
		font-size: 12px;
		padding: 5px 10px;
	}

	.ts-toolbar-actions .form-select {
		min-width: 0;
		flex: 1 1 auto;
		font-size: 12px;
	}
}

/* ========================================= */
/* STOCK MAP SPA STYLES                      */
/* ========================================= */
#lf-stock-map {
	width: 100%;
	height: 100%;
	z-index: 1;
}

#lf-stock-map .leaflet-tooltip {
	font-weight: bold;
	font-size: 14px;
	color: #fff;
	background: rgba(0, 0, 0, 0.8) !important;
	border: none !important;
	box-shadow: none !important;
}

#lf-stock-map .leaflet-interactive {
	outline: none;
}

.lf-map-view .leaflet-pane {
	z-index: 2;
}

.lf-map-container {
	width: 100%;
	height: 680px;
	position: relative;
	border-radius: 0px 0px var(--ts-radius) var(--ts-radius);
	border: 1px solid var(--ts-gray-200);
	overflow: hidden;
	box-shadow: var(--ts-shadow-sm);
}

.lf-map-loading {
	background: rgba(0, 0, 0, 0.5);
	width: 150px;
	height: 100px;
	padding: 20px;
	z-index: 9999;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	border-radius: 10px;
}

/* --- Filter range (override form-control via parent) --- */
.ts-filter-range {
	display: flex;
	align-items: center;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 6px;
	overflow: hidden;
	background: var(--bs-white);
	height: 36px;
}

.ts-filter-range:focus-within {
	border-color: var(--ts-blue, #1a6ef5);
}

.ts-filter-range .form-control {
	border: none;
	border-radius: 0;
	background: transparent;
	font-size: 12px;
	text-align: center;
	height: 100%;
	box-shadow: none;
	min-width: 0;
}

.ts-filter-range .ts-range-sep {
	color: var(--ts-gray-400, #ced4da);
	font-size: 12px;
	padding: 0 2px;
	flex-shrink: 0;
}

.ts-filter-range .ts-range-unit {
	color: var(--ts-gray-500, #adb5bd);
	font-size: 11px;
	white-space: nowrap;
	flex-shrink: 0;
	padding: 0 8px;
}

/* --- Pagination (from tool.css) --- */
.ts-pagination-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-top: 1px solid var(--ts-gray-200);
	background: var(--bs-white);
}

.ts-page-size {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--ts-gray-600);
}

.ts-page-size select {
	padding: 4px 24px 4px 8px;
	border: 1px solid var(--ts-gray-300);
	border-radius: 5px;
	font-size: 12px;
	background: var(--bs-white);
	appearance: none;
	cursor: pointer;
	outline: none;
}

.ts-pagination {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ts-page-btn {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ts-gray-200);
	border-radius: 6px;
	background: var(--bs-white);
	font-size: 12px;
	color: var(--ts-gray-700);
	cursor: pointer;
	transition: all .15s;
	font-weight: 500;
}

.ts-page-btn:hover {
	border-color: var(--ts-red);
	color: var(--ts-red);
}

.ts-page-btn.active {
	background: var(--ts-red);
	color: var(--bs-white);
	border-color: var(--ts-red);
	font-weight: 700;
}

.ts-page-btn.arrow {
	color: var(--ts-gray-500);
}

.ts-page-btn:disabled {
	opacity: .4;
	cursor: default;
}

.ts-page-dots {
	color: var(--ts-gray-400);
	font-size: 13px;
	width: 24px;
	text-align: center;
}

/* --- Table --- */
.lf-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

/* Sticky first column */
.lf-table thead th:first-child,
.lf-table tbody td:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
}

.lf-table thead th:first-child {
	z-index: 3;
	background: #203598 !important;
}

.lf-table tbody td:first-child {
	background: #fff;
	box-shadow: 2px 0 4px rgba(0, 0, 0, .06);
}

.lf-table tbody tr:hover td:first-child {
	background: #f8f9fa;
}

.lf-table thead tr {
	background: #203598 !important;
}

.lf-table thead th {
	color: var(--bs-white) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: .1px !important;
	padding: 12px 10px !important;
	border-color: rgba(255, 255, 255, .1) !important;
	white-space: nowrap !important;
	vertical-align: middle !important;
	background: transparent !important;
}

.lf-th--sort {
	cursor: pointer !important;
	user-select: none;
}

.lf-th--sort:hover {
	background: rgba(255, 255, 255, .10) !important;
}

.lf-sort-icon {
	opacity: .5;
	font-size: 11px;
	margin-left: 3px;
	transition: opacity .15s;
}

.lf-th--sort:hover .lf-sort-icon {
	opacity: 1;
}

.lf-sort-icon.sort-asc,
.lf-sort-icon.sort-desc {
	opacity: 1;
	color: #fbbf24;
}

/* Body rows */
#tableStock table.table-grid tbody tr {
	transition: background .12s ease;
	border-bottom: 1px solid #f3f4f6;
}

#tableStock table.table-grid tbody tr:nth-child(even) {
	background: #fafbff;
}

#tableStock table.table-grid tbody tr:hover {
	background: #eef2ff !important;
}

#tableStock table.table-grid tbody tr.cursor-pointer {
	cursor: pointer;
}

#tableStock table.table-grid tbody td {
	padding: 8px 10px;
	vertical-align: middle;
	border: 1px solid #f3f4f6;
	color: #374151;
	font-size: 13px;
}

/* Mã căn - cột đầu nổi bật */
#tableStock table.table-grid tbody td:first-child {
	background: #f8faff;
}

#tableStock table.table-grid tbody td:first-child strong {
	font-size: 13px;
	font-weight: 700;
	color: #1a2466;
}

/* Giá - màu đỏ đậm */
#tableStock table.table-grid tbody td.text-danger {
	color: #c9142c !important;
	font-weight: 700;
	font-size: 13.5px;
}

/* Row bị khoá - nền đỏ nhạt */
#tableStock table.table-grid tbody tr.bg-danger-subtle {
	background: #fff5f5 !important;
}

#tableStock table.table-grid tbody tr.bg-danger-subtle:hover {
	background: #fee2e2 !important;
}

/* Skeleton loading rows */
#tableStock .animate-bg {
	background: linear-gradient(90deg, #f0f0f0 25%, #e4e8f0 37%, #f0f0f0 63%);
	background-size: 800px 100%;
	animation: stockShimmer 1.4s ease infinite;
	border-radius: 4px;
	display: inline-block;
	height: 14px;
}

@keyframes stockShimmer {
	0% {
		background-position: -400px 0;
	}

	100% {
		background-position: 400px 0;
	}
}

/* Empty state */
#tableStock tbody td.text-muted {
	color: #9ca3af !important;
	font-size: 14px;
	padding: 32px 0;
}

/* Icon link trong ô mã căn */
#tableStock .bx-link {
	font-size: 14px;
	margin-left: 4px;
	vertical-align: middle;
}

/* Icon xem ảnh / phiếu tạm tính */
#tableStock .bx-link-external,
#tableStock .bx-image {
	font-size: 16px;
	color: #3b82f6;
	transition: color .2s;
}

#tableStock .bx-link-external:hover,
#tableStock .bx-image:hover {
	color: #1a2466;
}

/* Scrollbar ngang mỏng */
#tableStock::-webkit-scrollbar {
	height: 4px;
	width: 4px;
}

#tableStock::-webkit-scrollbar-track {
	background: #f1f5f9;
}

#tableStock::-webkit-scrollbar-thumb {
	background: #c7d2e8;
	border-radius: 10px;
}

#tableStock::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

/* Số lượng hàng */
.total_stock {
	font-weight: 700;
	color: #1a2466;
}

/* Responsive - mobile */
@media (max-width: 767.98px) {
	.lf-filter-panel {
		padding: 20px;
	}

	.lf-filter-group {
		min-width: 100%;
		padding: 10px 0px !important;
	}

	.lf-stats-strip {
		gap: 8px;
	}

	.lf-stat-card {
		min-width: calc(50% - 4px);
		flex: unset;
	}

	#tableStock table.table-grid thead th,
	#tableStock table.table-grid tbody td {
		font-size: 12px;
		padding: 7px 8px;
	}

	#tableStock table.table-grid thead th {
		font-size: 10px;
	}
}

/* Table chung */
#tableStock table.table-grid {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

/* Header */
#tableStock table.table-grid thead tr {
	background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

#tableStock table.table-grid thead th {
	color: #f1f5f9;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 10px 10px;
	border: 1px solid rgba(255, 255, 255, .08);
	white-space: nowrap;
	vertical-align: middle;
}

/* Body rows */
#tableStock table.table-grid tbody tr {
	transition: background .15s ease;
	border-bottom: 1px solid #f1f5f9;
}

#tableStock table.table-grid tbody tr:hover {
	background: #f8faff !important;
}

#tableStock table.table-grid tbody tr.cursor-pointer {
	cursor: pointer;
}

#tableStock table.table-grid tbody td {
	padding: 8px 10px;
	vertical-align: middle;
	border: 1px solid #f1f5f9;
	color: #374151;
	font-size: 13px;
}

#tableStock table.table-grid .ts-td-code {
	color: var(--ts-blue);
	font-weight: 600;
	cursor: pointer;
	font-size: 12px;
	text-decoration: none;
}

/* Mã căn - cột đầu nổi bật */
#tableStock table.table-grid tbody td:first-child strong {
	font-size: 13px;
	font-weight: 700;
	color: #111827;
}

/* Giá - màu đỏ đậm */
#tableStock table.table-grid tbody td.text-danger {
	color: #c9142c !important;
	font-weight: 700;
	font-size: 13.5px;
}

/* Row bị khoá - nền đỏ nhạt */
#tableStock table.table-grid tbody tr.bg-danger-subtle {
	background: #fff5f5 !important;
}

#tableStock table.table-grid tbody tr.bg-danger-subtle:hover {
	background: #fee2e2 !important;
}

/* Skeleton loading rows */
#tableStock .animate-bg {
	background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
	background-size: 800px 100%;
	animation: stockShimmer 1.4s ease infinite;
	border-radius: 4px;
	display: inline-block;
	height: 14px;
}

@keyframes stockShimmer {
	0% {
		background-position: -400px 0;
	}

	100% {
		background-position: 400px 0;
	}
}

/* Empty state */
#tableStock tbody td.text-muted {
	color: #9ca3af !important;
	font-size: 14px;
	padding: 32px 0;
}

/* Icon link trong ô mã căn */
#tableStock .bx-link {
	font-size: 14px;
	margin-left: 4px;
	vertical-align: middle;
}

/* Icon xem ảnh / phiếu tạm tính */
#tableStock .bx-link-external,
#tableStock .bx-image {
	font-size: 16px;
	color: #3b82f6;
	transition: color .2s;
}

#tableStock .bx-link-external:hover,
#tableStock .bx-image:hover {
	color: #1d4ed8;
}

/* Scrollbar ngang mỏng */
#tableStock::-webkit-scrollbar {
	height: 5px;
}

#tableStock::-webkit-scrollbar-track {
	background: #f1f5f9;
}

#tableStock::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 10px;
}

#tableStock::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

/* Form bộ lọc - khu vực tìm kiếm */
.tableStock-filter-wrap {
	background: #f8fafc;
	border-radius: 10px;
	padding: 14px 16px;
	margin-bottom: 12px;
	border: 1px solid #e5e7eb;
}

/* Label bộ lọc */
.tableStock-filter-wrap .form-text {
	font-size: 11px;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: .03em;
}

/* Số lượng hàng */
.total_stock {
	font-weight: 700;
	color: #c9142c;
}

/* Responsive - mobile */
@media (max-width: 767.98px) {

	#tableStock table.table-grid thead th,
	#tableStock table.table-grid tbody td {
		font-size: 12px;
		padding: 7px 8px;
	}

	#tableStock table.table-grid thead th {
		font-size: 10px;
	}
}

@media screen and (max-width: 575px) {

	.lf-map-container,
	.lf-map-container #lf-stock-map {
		height: 450px !important;
	}
}

/* Filter Groups */
@media screen and (min-width: 768px) {
	.lf-filter-group--block {
		min-width: 580px;
	}
}

.ts-toolbar-tabs {
	min-height: 32px;
}

/* ==========================================================================
   BUILDING VIEW CUSTOM TEMPLATE (C5L4 MASTERI WATERFRONT)
   ========================================================================== */
.building-custom-view .card {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* ============ LEFT COL ============ */
.building-custom-view .tower-section {
	display: flex;
	justify-content: center;
	padding: 0 5px;
}

.building-custom-view .tower-image {
	width: 100%;
	height: 280px;
	background: linear-gradient(160deg, #c8d4e0 0%, #98abc0 60%, #6b8197 100%);
	border-radius: 8px;
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
}

.building-custom-view .tower-image .tower-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
}

/* Tower building SVG illustration */
.building-custom-view .tower-image::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 2px, transparent 2px, transparent 6px),
		repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0px, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 8px);
}

.building-custom-view .tower-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.building-custom-view .floor-selector {
	flex: 1;
	display: flex;
	flex-direction: column;
	background: #f8f8f8;
	border-radius: 8px;
	padding: 8px 0;
	max-height: 280px;
	overflow-y: auto;
}

.building-custom-view .floor-selector::-webkit-scrollbar {
	width: 4px;
}

.building-custom-view .floor-selector::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 2px;
}

.building-custom-view .floor-row {
	padding: 5px 12px;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	color: var(--text);
	border-radius: 4px;
	margin: 0 6px;
}

.building-custom-view .floor-row:hover {
	background: rgba(0, 0, 0, 0.04);
}

.building-custom-view .floor-row.active {
	background: var(--red);
	color: #fff;
	font-weight: 600;
}

.building-custom-view .floor-row .sub-label {
	font-size: 12px;
	color: var(--text-muted);
}

.building-custom-view .floor-row.active .sub-label {
	color: rgba(255, 255, 255, 0.85);
}

.building-custom-view .tang-header {
	text-align: right;
	padding: 0 14px;
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 4px;
	font-weight: 500;
}

.building-custom-view .legend-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px 12px;
	padding: 12px 0px 8px;
	border-top: 1px solid var(--border);
	margin-top: 12px;
}

.building-custom-view .legend-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--text);
}

.building-custom-view .legend-dot {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	flex-shrink: 0;
}

.building-custom-view .left-info-section {
	border-top: 1px solid var(--border);
	padding: 12px 0px;
	margin-top: 8px;
}

.building-custom-view .info-heading {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
}

.building-custom-view .info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 0;
	font-size: 12.5px;
}

.building-custom-view .info-row .icon-label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-muted);
}

.building-custom-view .info-row .icon-label i {
	width: 14px;
	font-size: 12px;
	color: #9ca3af;
}

.building-custom-view .left-info-section .v {
	font-weight: 600;
	color: var(--text);
	text-align: right;
}

.building-custom-view .left-info-section .v.small-text {
	font-size: 11.5px;
}

.building-custom-view .link-red {
	color: var(--red);
	font-weight: 600;
	font-size: 12.5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 8px;
	cursor: pointer;
}

/* ============ CENTER COL ============ */
.building-custom-view .floor-tabs-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	flex-wrap: nowrap;
	overflow-x: auto;
	padding-bottom: 4px;
}

.building-custom-view .nav-arrow {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--text-muted);
	font-size: 11px;
	flex-shrink: 0;
}

.building-custom-view .floor-pill {
	padding: 5px 8px;
	border-radius: 4px;
	background: #fff;
	border: 1px solid var(--border);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	min-width: 38px;
	text-align: center;
	flex-shrink: 0;
}

.building-custom-view .floor-pill.active {
	background: var(--red);
	color: #fff;
	border-color: var(--red);
	font-weight: 600;
}

.building-custom-view .floor-pill:hover:not(.active) {
	background: #fafafa;
}

.building-custom-view .compass {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.building-custom-view .compass-label {
	font-size: 13px;
	font-weight: 700;
}

.building-custom-view .compass-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.building-custom-view .view-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 13px;
	color: #3498db;
	font-weight: 500;
	margin: 6px 0;
}

.building-custom-view .view-label.green-text {
	color: #5dade2;
}

/* Floor plan area */
.building-custom-view .floorplan-area {
	position: relative;
	padding: 8px 40px;
}

/* Apartment tags row */
.building-custom-view .apt-tags-row {
	display: flex;
	justify-content: space-around;
	margin-bottom: 4px;
	position: relative;
}

.building-custom-view .apt-tag {
	width: 95px;
	border-radius: 6px;
	padding: 6px 6px;
	text-align: center;
	font-size: 11.5px;
	line-height: 1.3;
	position: relative;
	background: #fff;
	border: 1.5px solid;
}

.building-custom-view .apt-tag .num {
	font-weight: 700;
	font-size: 12px;
	padding: 2px 6px;
	border-radius: 4px;
	display: inline-block;
	margin-bottom: 3px;
	color: #fff;
}

.building-custom-view .apt-tag .type {
	font-weight: 600;
	font-size: 12px;
}

.building-custom-view .apt-tag .area {
	font-size: 11px;
	color: var(--text-muted);
}

.building-custom-view .tag-green {
	border-color: var(--green);
}

.building-custom-view .tag-green .num {
	background: var(--green);
}

.building-custom-view .tag-yellow {
	border-color: var(--yellow);
}

.building-custom-view .tag-yellow .num {
	background: var(--yellow);
}

.building-custom-view .tag-gray {
	border-color: var(--gray-card);
}

.building-custom-view .tag-gray .num {
	background: #999;
}

.building-custom-view .tag-purple {
	border-color: var(--purple);
}

.building-custom-view .tag-purple .num {
	background: var(--purple);
}

.building-custom-view .tag-red {
	border-color: var(--red);
	box-shadow: 0 0 0 2px rgba(227, 52, 47, 0.15);
}

.building-custom-view .tag-red .num {
	background: var(--red);
}

/* Connector lines */
.building-custom-view .connector {
	stroke: #c0c0c0;
	stroke-width: 1;
	stroke-dasharray: 3 2;
	fill: none;
}

/* Floor plan SVG */
.building-custom-view .floorplan-svg-wrap {
	position: relative;
	background: #fff;
	margin: 4px 0;
}

/* Bottom action toolbar */
.building-custom-view .toolbar-right {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.building-custom-view .tool-btn {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background: #fff;
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--text);
	font-size: 13px;
	font-weight: 600;
}

.building-custom-view .tool-btn:hover {
	background: #f8f8f8;
}

.building-custom-view .types-legend {
	display: flex;
	gap: 18px;
	padding: 12px 0 4px;
	border-top: 1px solid var(--border);
	margin-top: 12px;
	font-size: 12px;
}

.building-custom-view .types-legend-item {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--text-muted);
}

.building-custom-view .type-icon {
	font-size: 14px;
	color: #9ca3af;
}

/* ============ RIGHT COL ============ */
.building-custom-view .right-actions {
	display: flex;
	gap: 10px;
	color: var(--text-muted);
	font-size: 16px;
}

.building-custom-view .right-actions i {
	cursor: pointer;
}

.building-custom-view .right-actions i.fa-heart {
	color: var(--red);
}

.building-custom-view .apt-status {
	padding: 0;
}

.building-custom-view .status-text {
	color: var(--green);
	font-size: 13px;
	font-weight: 600;
}

.building-custom-view .apt-code-big {
	color: var(--red);
	font-size: 26px;
	font-weight: 800;
	margin: 2px 0 12px;
	letter-spacing: 0.5px;
}

.building-custom-view .spec-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
	font-size: 13px;
}

.building-custom-view .spec-row .k {
	color: var(--text-muted);
}

.building-custom-view .spec-row .v {
	font-weight: 600;
}

.building-custom-view .spec-row .v.green {
	color: var(--green);
}

.building-custom-view .spec-row .v.price {
	color: var(--red);
	font-weight: 700;
	font-size: 14.5px;
}

.building-custom-view .spec-row .v.price.green {
	color: var(--green);
}

.building-custom-view .btn-red-full {
	background: var(--red);
	color: #fff;
	border: none;
	width: 100%;
	margin: 12px 0 8px;
	padding: 11px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
}

.building-custom-view .btn-red-full:hover {
	background: var(--red-dark);
}

.building-custom-view .btn-outline-full {
	background: #fff;
	color: var(--text);
	border: 1px solid var(--border);
	width: 100%;
	margin: 0 0 14px;
	padding: 10px;
	border-radius: 8px;
	font-weight: 500;
	font-size: 13px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.building-custom-view .btn-outline-full:hover {
	background: #f8f8f8;
}

.building-custom-view .policy-card {
	background: #fafafa;
	margin: 4px 0 12px;
	padding: 12px;
	border-radius: 8px;
}

.building-custom-view .policy-title {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
}

.building-custom-view .policy-title .accent {
	color: var(--red);
}

.building-custom-view .policy-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12.5px;
	margin-bottom: 5px;
}

.building-custom-view .policy-bullet {
	color: var(--text);
	margin-top: 1px;
	font-weight: 700;
}

.building-custom-view .right-icon-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 12px;
	padding: 12px 0 0;
}

.building-custom-view .right-icon-btn {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 14px 4px;
	text-align: center;
	font-size: 11px;
	color: var(--text);
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.building-custom-view .right-icon-btn:hover {
	background: #fafafa;
	border-color: var(--red);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
}

.building-custom-view .right-icon-btn .ic {
	font-size: 24px;
	margin-bottom: 6px;
	display: block;
	color: var(--text);
	transition: all 0.2s ease;
}

.building-custom-view .right-icon-btn:hover .ic {
	color: var(--red);
}

.building-custom-view .amenity-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 0 0px 14px;
}

.building-custom-view .amenity-card-mini {
	border-radius: 8px;
	overflow: hidden;
	background: #f5f5f5;
	display: flex;
	flex-direction: column;
	height: 78px;
}

.building-custom-view .amenity-thumb {
	height: 42px;
	background: linear-gradient(135deg, #d0e2f2, #87b9d5);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 20px;
	position: relative;
}

.building-custom-view .amenity-info {
	padding: 4px 8px;
}

.building-custom-view .amenity-info .floor {
	font-size: 11px;
	font-weight: 700;
}

.building-custom-view .amenity-info .desc {
	font-size: 10px;
	color: var(--text-muted);
	line-height: 1.2;
}

.building-custom-view .shop-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
	padding: 0 16px 14px;
}

.building-custom-view .shop-card-mini {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: #fff;
}

.building-custom-view .shop-img {
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
}

.building-custom-view .shop-body {
	min-height: 60px;
	position: relative;
	padding: 20px 8px 8px;
}

.building-custom-view .shop-body .code {
	font-size: 11px;
	font-weight: 700;
	color: var(--bs-white);
	background: rgb(168 16 26);
	padding: 5px;
	position: absolute;
	left: 8px;
	top: -11px;
	border-radius: 20px;
	padding: 2px 10px;
}

.building-custom-view .shop-body .name {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--red);
}

.building-custom-view .shop-body .name.muted {
	color: var(--text);
}

.building-custom-view .shop-body .type {
	font-size: 11px;
	color: var(--text-muted);
}

.building-custom-view .shop-body .status {
	font-size: 11px;
	font-weight: 500;
}

.building-custom-view .status-open {
	color: var(--green);
}

.building-custom-view .status-soon {
	color: var(--yellow);
}

/* Bottom Vinhomes amenity bar */
.building-custom-view .vinhomes-bar {
	background: #fff;
	border-radius: 12px;
	padding: 14px 16px;
	margin: 0 16px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: nowrap;
	overflow-x: auto;
}

.building-custom-view .vinhomes-title {
	font-size: 13px;
	font-weight: 700;
	min-width: 280px;
}

.building-custom-view .vinhomes-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
	flex-shrink: 0;
}

.building-custom-view .vinhomes-item .ic-circle {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fde9e9;
	color: var(--red);
	font-size: 15px;
}

.building-custom-view .vinhomes-item .vt {
	line-height: 1.2;
}

.building-custom-view .vinhomes-item .vt .lbl {
	font-size: 11.5px;
	color: var(--text);
	font-weight: 600;
}

.building-custom-view .vinhomes-item .vt .sub {
	font-size: 10px;
	color: var(--text-muted);
}

.building-custom-view .btn-map {
	margin-left: auto;
	background: #fff;
	border: 1px solid var(--red);
	color: var(--red);
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

/* Carousel arrow */
.building-custom-view .carousel-arrow {
	position: absolute;
	right: -4px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	z-index: 5;
}

.building-custom-view .heart-tower-bottom {
	padding: 0 16px 8px;
}

/* ══════════════════════════════════════════════════
   LEAFLET MAP & PLACEHOLDER STYLES
   ══════════════════════════════════════════════════ */
.map {
	margin: auto;
	width: 100%;
	height: 750px;
	position: relative;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
}

.leaflet-image-layer {
	border-radius: 4px;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
}

.leaflet-container {
	background: #3E3E3E !important;
}

.leaflet-pane {
	z-index: 2;
}

.leaflet-tooltip {
	font-weight: bold;
	font-size: 11px;
	color: var(--bs-white);
	background: #a04123;
	border: none !important;
	box-shadow: none !important;
	border-radius: 10px 0 10px 0;
}

.leaflet-tooltip:before,
.leaflet-tooltip .leaflet-tooltip-arrow {
	display: none;
}

.fh_AI,
.bottom-navbar,
.modal,
.dropdown-menu {
	z-index: 9999 !important;
}

.lf-map-placeholder {
	border: 1px dashed #ffc107;
	background: #fffdf5;
	border-radius: 8px;
	min-height: 500px;
}

.lf-map-placeholder-icon {
	color: #ffc107 !important;
}

.lf-map-placeholder-title {
	font-size: 15px;
	color: #664d03;
}

.lf-map-placeholder-desc {
	max-width: 440px;
	font-size: 13px;
	line-height: 1.6;
}

.lf-map-placeholder-btn {
	background-color: #ffc107 !important;
	border-color: #ffc107 !important;
	font-size: 12px;
	color: #664d03 !important;
	box-shadow: 0 2px 6px rgba(255, 193, 7, 0.2);
}

@media screen and (max-width:575px) {
	.map {
		height: calc(100vh - 150px);
	}

	.leaflet-tooltip {
		font-size: 12px;
	}

	.lf-map-placeholder {
		min-height: 300px;
	}
}

.building-custom-view .apt-pill-btn {
	padding: 4px 8px;
	font-size: 11px;
	border-radius: 4px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.building-custom-view .apt-list-label {
	font-size: 10px;
	font-weight: 700;
	color: var(--text-light);
	letter-spacing: 0.5px;
	margin-bottom: 6px;
	display: block;
}

/* Premium Apartment Card Carousel Navigation */
.building-custom-view .right-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.building-custom-view .btn-nav-apt {
	width: 26px;
	height: 26px;
	border-radius: 6px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: #ffffff;
	color: var(--text, #333);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	outline: none;
	padding: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.building-custom-view .btn-nav-apt:hover {
	background: var(--red, #b31f24);
	color: #ffffff;
	border-color: var(--red, #b31f24);
	box-shadow: 0 4px 8px rgba(179, 31, 36, 0.2);
}

.building-custom-view .btn-nav-apt:active {
	transform: scale(0.92);
}

.building-custom-view .owl-apt-details-carousel {
	width: 100%;
}

.building-custom-view .owl-apt-details-carousel .item {
	padding: 12px 0px 0px;
}

.building-custom-view .owl-apt-details-carousel .item .btn-red-full,
.building-custom-view .owl-apt-details-carousel .item .btn-outline-full {
	margin-top: 8px;
}

.building-custom-view .owl-utility-carousel {
	position: relative;
	width: 100%;
}

/* Premium Glassmorphism Zoom Controls */
.building-custom-view .floorplan-svg-wrap {
	position: relative;
	background: #fff;
	margin: 4px 0;
	border-radius: 8px;
	overflow: hidden;
}

.building-custom-view .zoom-controls-premium {
	position: absolute;
	right: 16px;
	top: 16px;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: 6px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.building-custom-view .btn-zoom-act {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	border: 1px solid rgba(0, 0, 0, 0.05);
	background: #ffffff;
	color: var(--text, #333);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	outline: none;
	padding: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.building-custom-view .btn-zoom-act:hover {
	background: var(--red, #b31f24);
	color: #ffffff;
	border-color: var(--red, #b31f24);
	box-shadow: 0 4px 8px rgba(179, 31, 36, 0.2);
}

.building-custom-view .btn-zoom-act:active {
	transform: scale(0.92);
}

.building-custom-view .empty-icon-wrap {
	width: 100px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.building-custom-view .icon-ring {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid rgba(200, 23, 58, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	box-shadow: 0 8px 24px rgba(200, 23, 58, 0.06);
	position: relative;
}

.building-custom-view .empty-glow-icon {
	font-size: 28px;
	background: -webkit-linear-gradient(135deg, var(--red) 0%, #ff5274 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: pulseIcon 2.5s ease-in-out infinite;
}

.building-custom-view .glowing-orb {
	position: absolute;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(200, 23, 58, 0.12) 0%, rgba(200, 23, 58, 0) 70%);
	z-index: 1;
	animation: pulseOrb 2.5s ease-in-out infinite;
}

.building-custom-view .mini-orb-1,
.building-custom-view .mini-orb-2 {
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(200, 23, 58, 0.25);
	z-index: 2;
}

.building-custom-view .mini-orb-1 {
	top: 15px;
	left: 20px;
	animation: floatOrb1 4s ease-in-out infinite;
}

.building-custom-view .mini-orb-2 {
	bottom: 20px;
	right: 15px;
	animation: floatOrb2 4.5s ease-in-out infinite;
}

/* Animations */
@keyframes pulseIcon {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.08);
		opacity: 0.9;
	}
}

@keyframes pulseOrb {

	0%,
	100% {
		transform: scale(1);
		opacity: 0.8;
	}

	50% {
		transform: scale(1.25);
		opacity: 1;
	}
}

@keyframes floatOrb1 {

	0%,
	100% {
		transform: translateY(0) translateX(0);
	}

	50% {
		transform: translateY(-8px) translateX(6px);
	}
}

@keyframes floatOrb2 {

	0%,
	100% {
		transform: translateY(0) translateX(0);
	}

	50% {
		transform: translateY(6px) translateX(-8px);
	}
}

.building-custom-view .empty-heading {
	font-family: 'Lexend', sans-serif;
	font-size: 14.5px;
	color: #1a202c;
	letter-spacing: 0.2px;
}

.building-custom-view .empty-sub {
	font-size: 12px;
	line-height: 1.6;
	color: #718096;
}

.building-custom-view .btn-empty-reset:hover {
	background: var(--red) !important;
	color: #fff !important;
	border-color: var(--red) !important;
	box-shadow: 0 4px 12px rgba(200, 23, 58, 0.2);
}

/* ==========================================================================
   PREMIUM GRAND STYLING UPGRADES FOR BUILDING CUSTOM VIEW
   ========================================================================== */

/* Elegant Scoped Colors & Variables */
.building-custom-view {
	--premium-slate-800: #1e293b;
	--premium-slate-700: #334155;
	--premium-slate-600: #475569;
	--premium-slate-100: #f1f5f9;
	--premium-gold-light: #fdfbf7;
	--premium-gold-dark: #8c6d4f;
	--premium-gold-border: rgba(197, 168, 128, 0.45);
	--premium-gold-accent: #c5a880;
	--premium-emerald-100: #ecfdf5;
	--premium-emerald-600: #059669;
	--premium-emerald-500: #10b981;
}

/* Premium Card Containment */
.building-custom-view .card {
	background: #ffffff !important;
	border: 1px solid rgba(226, 232, 240, 0.8) !important;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02), 0 8px 10px -6px rgba(0, 0, 0, 0.015) !important;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.building-custom-view .card:hover {
	box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.04), 0 12px 15px -8px rgba(0, 0, 0, 0.03) !important;
}

/* Scoped Card Header Premium Titles */
.building-custom-view .card-header {
	padding: 18px 20px 8px !important;
}

.building-custom-view .card-title {
	font-weight: 800 !important;
	font-size: 13.5px !important;
	letter-spacing: 0.8px !important;
	color: var(--premium-slate-800) !important;
	position: relative;
}

.building-custom-view .card-body {
	padding: 16px 20px 20px !important;
}

/* Left Card (Tower overview) Shimmer & Info enhancements */
.building-custom-view .tower-image {
	border-radius: 12px !important;
	border: 1px solid rgba(226, 232, 240, 0.6);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.building-custom-view .tower-image::before {
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
	animation: shimmerEffect 4s infinite linear;
	background-size: 200% 100%;
}

@keyframes shimmerEffect {
	0% {
		background-position: -150% 0;
	}

	100% {
		background-position: 150% 0;
	}
}

.building-custom-view .info-row {
	padding: 8px 6px !important;
	border-bottom: 1px dashed rgba(226, 232, 240, 0.6);
	transition: all 0.25s ease;
	border-radius: 6px;
}

.building-custom-view .info-row:hover {
	background: var(--premium-slate-100);
	padding-left: 10px !important;
}

.building-custom-view .info-row .icon-label i {
	color: var(--red) !important;
	background: rgba(179, 31, 36, 0.06);
	width: 24px;
	height: 24px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	font-size: 11.5px !important;
	transition: all 0.25s ease;
}

.building-custom-view .info-row:hover .icon-label i {
	background: var(--red) !important;
	color: #ffffff !important;
	transform: scale(1.1);
}

.building-custom-view .left-info-section .v {
	color: var(--premium-slate-800) !important;
	font-weight: 700 !important;
}

/* Center Card (Floor Selector & Interactive Floorplan) */
.building-custom-view .floor-pill {
	padding: 7px 14px !important;
	border-radius: 30px !important;
	background: var(--premium-slate-100) !important;
	border: 1px solid rgba(226, 232, 240, 0.4) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--premium-slate-600) !important;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.building-custom-view .floor-pill.active {
	background: linear-gradient(135deg, var(--red) 0%, #d82b31 100%) !important;
	color: #ffffff !important;
	border-color: transparent !important;
	box-shadow: 0 4px 12px rgba(179, 31, 36, 0.25) !important;
}

.building-custom-view .floor-pill:hover:not(.active) {
	background: #e2e8f0 !important;
	color: var(--premium-slate-800) !important;
	transform: translateY(-1px);
}

.building-custom-view .zoom-controls-premium {
	background: rgba(255, 255, 255, 0.85) !important;
	backdrop-filter: blur(20px) !important;
	-webkit-backdrop-filter: blur(20px) !important;
	border: 1px solid rgba(255, 255, 255, 0.65) !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
	border-radius: 12px !important;
}

.building-custom-view .btn-zoom-act {
	border-radius: 8px !important;
	background: #ffffff !important;
	color: var(--premium-slate-800) !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

/* Right Card (Apartment detail spec & Pricing) */
.building-custom-view .apt-code-big {
	background: linear-gradient(135deg, var(--premium-slate-800) 0%, var(--red) 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	font-family: 'Lexend', sans-serif !important;
	font-size: 32px !important;
	font-weight: 850 !important;
	letter-spacing: -0.5px !important;
}

.building-custom-view .spec-row {
	border-bottom: 1px dashed rgba(226, 232, 240, 0.8) !important;
	padding: 6px 4px !important;
	transition: all 0.2s ease !important;
}

.building-custom-view .spec-row:hover {
	background: rgba(248, 250, 252, 0.8) !important;
	padding-left: 8px !important;
	padding-right: 8px !important;
	border-radius: 6px !important;
}

.building-custom-view .spec-row .v.price {
	font-size: 16.5px !important;
	font-weight: 800 !important;
	letter-spacing: -0.2px !important;
}

.building-custom-view .spec-row .v.price.green {
	background: linear-gradient(135deg, var(--premium-emerald-500) 0%, var(--premium-emerald-600) 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
}

.building-custom-view .spec-row .v.price:not(.green) {
	background: linear-gradient(135deg, #ef4444 0%, var(--red) 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
}

.building-custom-view .btn-red-full {
	background: linear-gradient(135deg, var(--red) 0%, #9e1419 100%) !important;
	border-radius: 30px !important;
	padding: 12px !important;
	font-size: 13.5px !important;
	letter-spacing: 0.2px !important;
	box-shadow: 0 4px 14px rgba(179, 31, 36, 0.25) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.building-custom-view .btn-red-full:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 20px rgba(179, 31, 36, 0.4) !important;
}

/* Premium Golden Policy Card */
.building-custom-view .policy-card {
	background: linear-gradient(135deg, var(--premium-gold-light) 0%, #f5efe6 100%) !important;
	border: 1px solid var(--premium-gold-border) !important;
	box-shadow: 0 4px 15px rgba(197, 168, 128, 0.05) !important;
	padding: 16px !important;
	border-radius: 12px !important;
	margin-top: 16px !important;
}

.building-custom-view .policy-title {
	color: var(--premium-gold-dark) !important;
	font-size: 13.5px !important;
	letter-spacing: 0.5px !important;
	font-weight: 800 !important;
}

.building-custom-view .policy-bullet {
	color: var(--premium-gold-accent) !important;
}

.building-custom-view .right-icon-btn {
	border-radius: 12px !important;
	padding: 12px 4px !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.building-custom-view .right-icon-btn:hover {
	transform: translateY(-2px);
	border-color: var(--red) !important;
	background: rgba(179, 31, 36, 0.02) !important;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03) !important;
}

/* Scoped bottom items */
.building-custom-view .amenity-card-mini {
	border-radius: 12px !important;
	border: 1px solid rgba(226, 232, 240, 0.8) !important;
	background: #ffffff !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.015) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	height: 84px !important;
}

.building-custom-view .amenity-card-mini:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
	border-color: rgba(179, 31, 36, 0.15) !important;
}

.building-custom-view .amenity-thumb {
	height: 46px !important;
	border-bottom: 1px solid rgba(226, 232, 240, 0.5) !important;
	background: linear-gradient(135deg, #dbeafe, #93c5fd) !important;
	color: #1e3a8a !important;
}

.building-custom-view .shop-card-mini {
	border-radius: 14px !important;
	border: 1px solid rgba(226, 232, 240, 0.8) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	overflow: hidden;
}

.building-custom-view .shop-card-mini:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05) !important;
	border-color: rgba(179, 31, 36, 0.1) !important;
}

.building-custom-view .shop-card-mini .shop-img img {
	transition: transform 0.5s ease !important;
}

.building-custom-view .shop-card-mini:hover .shop-img img {
	transform: scale(1.08) !important;
}

.building-custom-view .shop-body {
	padding: 18px 12px 12px !important;
}

.building-custom-view .shop-body .code {
	background: linear-gradient(135deg, var(--red) 0%, #ff4d60 100%) !important;
	box-shadow: 0 2px 6px rgba(179, 31, 36, 0.2) !important;
	border-radius: 4px !important;
	font-size: 10px !important;
	padding: 3px 8px !important;
	top: -10px !important;
}

.building-custom-view .floorplan-zoomable-img {
	max-width: none !important;
	max-height: none !important;
	display: block !important;
	transform-origin: 0 0;
}

.building-custom-view .zoomableContainer {
	position: relative !important;
	width: 100% !important;
	height: 100% !important;
	overflow: hidden !important;
	display: block !important;
	flex-shrink: 0 !important;
}

.building-custom-view #floorplan-zoom-container {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: 580px !important;
	overflow: hidden !important;
}

@media screen and (max-width: 768px) {
	.building-custom-view #floorplan-zoom-container {
		height: 380px !important;
	}
}

/*=============== Media Grid (section per child) cho partials/media.html - START ===============*/
.media-grid-wrap {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 16px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
}

.media-section {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.media-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.media-section-head .ms-title {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
	min-width: 0;
}

.media-section-head .ms-idx {
	font-weight: 700;
	font-size: 15px;
	color: #111827;
}

.media-section-head .ms-name {
	font-weight: 700;
	font-size: 15px;
	color: #111827;
}

.media-section-head .ms-count {
	font-size: 12px;
	color: #6b7280;
	font-weight: 500;
}

.media-section-head .ms-viewall {
	color: #2563eb;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.media-section-head .ms-viewall:hover {
	text-decoration: underline;
}

.media-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.media-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.media-card:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
	border-color: #cbd5e1;
}

.media-card .mc-thumb {
	position: relative;
	aspect-ratio: 16/11;
	background: #f3f4f6;
	overflow: hidden;
}

.media-card .mc-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.media-card .mc-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	letter-spacing: .3px;
	background: #6b7280;
}

.media-card .mc-badge--jpg {
	background: #0ea5e9;
}

.media-card .mc-badge--pdf {
	background: #dc2626;
}

.media-card .mc-badge--video {
	background: #7c3aed;
}

.media-card .mc-badge--doc {
	background: #2563eb;
}

.media-card .mc-badge--xls {
	background: #16a34a;
}

.media-card .mc-badge--ppt {
	background: #ea580c;
}

.media-card .mc-badge--zip {
	background: #475569;
}

.media-card .mc-download {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	transition: background .15s ease;
}

.media-card .mc-download:hover {
	background: rgba(0, 0, 0, .8);
	color: #fff;
}

.media-card .mc-body {
	padding: 10px 12px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.media-card .mc-title {
	font-size: 13px;
	font-weight: 600;
	color: #111827;
	line-height: 1.4;
	min-height: 36px;
}

.media-card .mc-meta {
	font-size: 11.5px;
	color: #6b7280;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.media-card .mc-meta i {
	font-size: 13px;
}

/* Responsive */
@media screen and (max-width: 1199px) {
	.media-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (max-width: 767px) {
	.media-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.media-card .mc-title {
		min-height: 0;
	}
}

@media screen and (max-width: 380px) {
	.media-grid {
		grid-template-columns: 1fr;
	}
}

/*=============== Media Grid - END ===============*/

/* ===== STOCK FREEMIUM GATE ===== */
.stock-limit-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: linear-gradient(135deg, #fff8e1, #fffde7);
	border: 1px solid #fdd835;
	border-radius: 8px;
	padding: 8px 14px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}
/* Desktop: hints inline với dấu · */
.slb-hint {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	font-size: 12px;
	color: #555;
}
.slb-hint span {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	white-space: nowrap;
}
.slb-hint span + span::before {
	content: '·';
	margin: 0 6px;
	color: #bbb;
}
.slb-hint .bx-check {
	color: #22c55e;
	font-size: 13px;
}
/* Mobile: hints xếp dọc, button vẫn bên phải */
@media (max-width: 575px) {
	.slb-hint {
		flex-direction: column;
		gap: 4px;
		align-items: flex-start;
	}
	.slb-hint span + span::before {
		display: none;
	}
}
/* Lock cell icon — shown inside locked cells instead of price */
.lock-cell-icon {
	font-size: 13px;
	color: #fff;
	opacity: 0.7;
	pointer-events: none;
}
/* ===== END STOCK FREEMIUM GATE ===== */ 