.frame-layer {
	background: #FFF2CC;
	padding: 20px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
}
.frame-layer-ls {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.frame-layer-title {
	color: #960C26;
	font-size: 21px;
	line-height: 36px;
	font-weight: 600;
}
@media screen and (max-width:575px) {
	.page_container {
		width: calc(100% - 30px) !important;
	}
}
.table-ilooca {
	border: 2px solid rgb(0, 0, 0);
}
.table-ilooca td.fm-cell-1 {
	color: rgb(255, 0, 0);
	background: rgb(255, 255, 0);
}
.table-ilooca td.fm-cell-2 {
	font-weight: bold;
	color: rgb(152, 0, 0) !important;
}
.table-ilooca td.fm-cell-3 {
	font-weight: bold;
	font-style: italic;
	color: rgb(255 0 0) !important;
	background: rgb(217 234 211) !important;
}
.table-ilooca td.fm-cell-3 a {
	text-decoration: underline;
	color: rgb(255 0 0) !important;
}
.table-ilooca td.fm-cell-5 {
	color: rgb(255, 0, 0);
	background: rgb(255, 255, 0);
}
.table-ilooca td.fm-cell-6 {
	color: rgb(152, 0, 0);
	font-size: 25px;
	padding: 0;
}
.table-ilooca td {
	padding: 8px;
	font-size: 16px;
	vertical-align: middle;
	border: 1px solid rgba(0, 0, 0, 1);
	color: rgba(0, 0, 0, 1);
	font-family: Arial, sans-serief;
}
.table-ilooca .form-control {
	border: 0;
	border-radius: 0;
	-ms-border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	background: rgb(255, 255, 0);
	font-size: 16px;
	font-weight: bold;
	color: rgb(255, 0, 0);
}
.table-ilooca .form-control::-webkit-input-placeholder {
	/* Edge */
	color: red;
}
.table-ilooca .form-control:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: red;
}
.table-ilooca .form-control::placeholder {
	color: red;
}
.text-right {
	text-align: right;
}
.text-left {
	text-align: left;
}
.text-center {
	text-align: center;
}
.text-bold {
	font-weight: bold;
}
.selectize-input.full {
	background: #FFF2CC !important;
}
.selectize-input .item {
	font-weight: bold;
}
.holder__ipn-cell .selectize-input.full {
	border-radius: 30px;
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	-khtml-border-radius: 30px;
	background: rgba(255, 255, 255, 1) !important;
}
.holder__ipn-cell .selectize-input {
	color: rgb(255, 0, 0);
	font-size: 16px;
}
.table-iloocal td {
	padding-top: 0.325rem;
	padding-bottom: 0.325rem;
}
.freeze-table {
	min-height: 200px;
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
}
@media screen and (min-width:649px) {
	.om-sm\:mb-2 {
		margin-bottom: 0.5rem !important;
	}
	.om-sm\:mb-3 {
		margin-bottom: 0.75rem !important;
	}
	.freeze-table>.table tr>th:nth-child(2),
	.trStock td:nth-child(2) {
		border-right: 1px solid #DDD;
	}
}
@media screen and (min-width:649px) {
	.om-lg\:max-height-200 {
		max-height: 200px;
	}
}
@media screen and (max-width:648px) {
	.om-xs\:p-2 {
		padding: 0.5rem !important
	}
	.om-xs\:mb-1 {
		margin-bottom: 0.25rem !important;
	}
	.om-xs\:max-height-120 {
		max-height: 120px;
	}
	.freeze-table>.table {
		margin-bottom: 0;
		min-width: 600px;
		max-width: calc(100% + 100px);
		table-layout: fixed
	}
	.freeze-table>.table tr>th:nth-child(1),
	.trStock td:nth-child(1) {
		border-right: 1px solid #DDD;
	}
	.table-iloocal th,
	.table-iloocal td {
		font-size: 13px;
		padding: 0.325rem 0.325rem;
	}
	.table-phone th:nth-child(1),
	.table-phone td:nth-child(1) {
		width: 13% !important;
	}
	.table-phone th:nth-child(2),
	.table-phone td:nth-child(2) {
		width: 10%;
	}
	.table-phone th:nth-child(4),
	.table-phone td:nth-child(4),
	.table-phone th:nth-child(5),
	.table-phone td:nth-child(5) {
		width: 6%;
	}
	.table-phone th:nth-child(3),
	.table-phone td:nth-child(3) {
		width: 8%;
	}
	.table-phone th:nth-child(6),
	.table-phone td:nth-child(6),
	.table-phone th:nth-child(7),
	.table-phone td:nth-child(7) {
		width: 10%;
	}
}
.gallery-container {
	display: flex;
	flex-wrap: wrap;
}
.gallery-container .gallery-item {
	position: relative;
	margin: 5px;
	widtth: 100%;
	flex-grow: 1;
	overflow: hidden;
}
.oHHgwgcTnX {
	font-weight: 600;
	color: rgb(119, 9, 30);
}
.hxFZLRFdDB {
	color: rgb(119, 9, 30);
	background: #EEE;
	padding: 5px;
}
.fDIfvHwvwr {
	font-weight: 600;
	color: rgb(119, 9, 30);
	max-width: calc(100% - 50px);
}
.yHGjYosKnf {
	padding: 10px;
	border: 1px solid rgb(243 243 243);
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
}
.pOBruJNexS {
	font-size: 10px;
	font-weight: bold;
	padding: 4px 10px;
	border-bottom-right-radius: 5px;
	-moz-border-bottom-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-khtml-border-bottom-right-radius: 5px;
	background: rgba(255, 255, 255, 0.5);
	color: var(--bs-white);
	position: absolute;
	left: 0;
	top: 0;
}
@media screen and (min-width:576px) {
	.gallery-container .gallery-item {
		width: 25em;
		height: 354px;
	}
	.thumbnail>.dIimTDVyye,
	.gallery-container .gallery-item>.dIimTDVyye {
		top: 10px;
		right: 10px;
		background: #EEE;
		padding: 5px 10px;
		z-index: 3;
		border-radius: 20px;
		-moz-border-radius: 20px;
		-webkit-border-radius: 20px;
	}
	.gallery-container .gallery-item-link {
		display: block;
		width: 100%;
		height: calc(100% - 30px);
		position: relative;
		background-size: cover;
		background-position: center;
		border-radius: 3px;
		-moz-border-radius: 3px;
		-khtml-border-radius: 3px;
		-webkit-border-radius: 3px;
		padding: 15px;
	}
	.gallery-container .gallery-item-link img {
		height: calc(100% - 30px);
	}
	.gallery-container .gallery-item-link.video:after {
		font: normal normal normal 14px/1 FontAwesome;
		content: "\f04b";
		position: absolute;
		left: calc(50% - 32px);
		top: calc(50% - 32px);
		width: 62px;
		height: 62px;
		line-height: 62px;
		background: rgba(255, 255, 255, 0.4);
		color: #fff;
		border-radius: 50%;
		text-align: center;
		font-size: 26px;
	}
	.gallery-container .gallery-item:nth-child(2n) {
		width: 28em;
	}
	.gallery-container .gallery-item:nth-child(4n) {
		width: 32em;
	}
	.gallery-container .gallery-item:nth-child(5n) {
		width: 35em;
	}
	.gallery-container .gallery-item:nth-child(6n) {
		width: 25em;
	}
}
@media screen and (max-width:575px) {
	.pOBruJNexS {
		left: 10px;
		top: 10px;
	}
	.tinyContennt h1 {
		font-size: 1.375rem
	}
	.tinyContennt h2 {
		font-size: 1.175rem
	}
	.tinyContennt h3 {
		font-size: 1.075rem
	}
}
.tinyContennt+.prompt {
	padding-top: 100px;
	margin-top: -100px;
	position: relative;
	z-index: 1;
	background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgb(245 247 248));
}
.tinyContennt+.prompt>.readmore,
.tinyContennt+.prompt>.lessmore {
	display: block;
	width: 120px;
	margin: 0px auto;
	padding: 5px 14px;
	border: 1px solid #DDD;
	border-radius: 30px;
	text-align: center;
	background: rgb(255, 255, 255)
}
.box_tab_header .nav .nav-link:hover {
	color: rgb(159, 34, 58);
}
.box_tab_header .nav-pills .nav-link {
	padding: 8px 0px;
	margin-right: 10px;
	text-align: left
}
.box_tab_header .nav-tabs:not(.nav-tabs-bordered) .nav-item .nav-link:not(.active) {
	background: #fff
}
.box_tab_header .nav-tabs .nav-link.active {
	background: #fff;
	color: rgb(159, 34, 58);
	box-shadow: 0 0;
	border-bottom: 3px solid rgb(159, 34, 58) !important;
	border-radius: 0;
}
.body_liked .fade:not(.show) {
	display: none;
}
.table-scroll {
	overflow-x: auto;
}
.table-scroll table {
	width: max-content;
	min-width: 100%;
}
/*===========DETAIL============*/
/* ═══════════════ KEYFRAMES ═══════════════ */
@keyframes fadeDown {
	from {
		opacity: 0;
		transform: translateY(-14px)
	}
	to {
		opacity: 1;
		transform: translateY(0)
	}
}
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(18px)
	}
	to {
		opacity: 1;
		transform: translateY(0)
	}
}
@keyframes fadeIn {
	from {
		opacity: 0
	}
	to {
		opacity: 1
	}
}
@keyframes pulse-green {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(22, 163, 74, .4)
	}
	60% {
		box-shadow: 0 0 0 5px rgba(22, 163, 74, 0)
	}
}
@keyframes shimmer {
	0% {
		background-position: -400px 0
	}
	100% {
		background-position: 400px 0
	}
}
@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-16px)
	}
	to {
		opacity: 1;
		transform: translateX(0)
	}
}
/* ═══════════════ BREADCRUMB BAR ═══════════════ */
.top-bar {
	background: #fff;
	border-bottom: 1px solid var(--border);
	padding: 0 20px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	top: 64px;
	z-index: 3;
	/* box-shadow: 0 4px 6px rgba(0,0,0,.06); */
	animation: fadeDown .4s var(--ease);
}
.breadcrumb-nav {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap
}
.breadcrumb-nav a {
	color: var(--gray);
	font-size: 12.5px;
	text-decoration: none;
	transition: color .18s
}
.breadcrumb-nav a:hover {
	color: var(--red)
}
.breadcrumb-nav .sep {
	color: #d1d5db;
	font-size: 11px
}
.breadcrumb-nav .cur {
	color: var(--red);
	font-size: 12.5px;
	font-weight: 600
}
.top-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0
}
.action-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--border);
	background: #fff;
	color: var(--text);
	font-size: 12.5px;
	font-weight: 500;
	padding: 7px 14px;
	border-radius: 7px;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
	white-space: nowrap;
}
.action-btn:hover {
	border-color: var(--red);
	color: var(--red);
	background: rgba(153, 3, 3, .04)
}
.action-btn i {
	font-size: 13px
}
.btn-book-top {
	background: var(--red);
	color: #fff;
	border: none;
	padding: 8px 18px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all .2s;
	font-family: inherit;
}
.btn-book-top:hover {
	background: var(--red-d);
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(153, 3, 3, .3)
}
/* ═══════════════ MAIN LAYOUT ═══════════════ */
/* ═══════════════ GALLERY SECTION ═══════════════ */
.gallery-wrap {
	display: flex;
	gap: 10px;
	margin-bottom: 18px;
	animation: fadeIn .5s var(--ease);
}
.gallery-main {
	width: 100%;
	flex-shrink: 0;
	border-radius: 11px;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}
.gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s
}
.gallery-main:hover img {
	transform: scale(1.04)
}
.badge-gia-tot {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 20px;
	letter-spacing: .3px;
}
.gallery-fav {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	background: rgba(255, 255, 255, .9);
	border-radius: 50%;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #aaa;
	font-size: 14px;
	transition: all .2s;
}
.gallery-fav:hover{
	transform: scale(1.12)
}
.gallery-thumbs {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	/* grid-template-rows:repeat(2,1fr); */
	gap: 5px;
}
.gallery-thumbs .th {
	border-radius: 7px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	transition: opacity .2s;
	aspect-ratio: 1 / 1;
}
.gallery-thumbs .th img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s
}
.gallery-thumbs .th:hover img {
	transform: scale(1.07)
}
.gallery-thumbs .th.first {
	border-radius: 7px
}
.more-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .48);
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	pointer-events: none
}
.th-360 {
	border-radius: 7px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	background: #1a1a2e;
	display: flex;
	align-items: center;
	justify-content: center;
	/* height:112px; */
	aspect-ratio: 1 / 1;
	flex-direction: column;
	gap: 4px;
	transition: opacity .2s;
}
.th-360 span {
	color: #fff;
	font-size: 13px;
	font-weight: 700
}
.th-360 small {
	color: rgba(255, 255, 255, .6);
	font-size: 10px
}
/* ═══════════════ APARTMENT HEADER ═══════════════ */
.apt-header {
	background: #fff;
	border-radius: 11px;
	border: 1px solid var(--border);
	padding: 18px 20px;
	animation: fadeUp .5s var(--ease) .05s both;
}
.apt-code {
	font-size: 28px;
	font-weight: 900;
	color: var(--text);
	margin-bottom: 2px;
	letter-spacing: -.5px
}
.apt-project {
	font-size: 14px;
	color: var(--gray);
	font-weight: 500
}
.apt-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 16px
}
.apt-tag {
	background: #f3f4f6;
	color: #374151;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 13px;
	border-radius: 20px;
}
a.apt-tag:hover {
	color: var(--red);
}
.price-row {
	display: flex;
	align-items: flex-end;
	gap: 18px;
	margin-bottom: 12px;
	justify-content: space-between
}
.price-label {
	font-size: 11.5px;
	color: var(--gray);
	margin-bottom: 4px
}
.price-val {
	font-size: 24px;
	font-weight: 900;
	color: var(--red);
	line-height: 1
}
.price-per {
	font-size: 13px;
	color: var(--gray);
	margin-left: 8px;
	font-weight: 500
}
.status-col {
	margin-left: auto;
	text-align: right
}
.status-label {
	font-size: 11.5px;
	color: var(--gray);
	margin-bottom: 4px
}
.status-val {
	font-size: 14px;
	font-weight: 700;
	color: var(--red);
	display: flex;
	align-items: center;
	gap: 5px;
	justify-content: flex-end
}
.status-dot {
	width: 8px;
	height: 8px;
	background: var(--red);
	border-radius: 50%;
	animation: pulse-green 1.8s infinite;
	flex-shrink: 0
}
.update-text {
	font-size: 11px;
	color: var(--gray);
	margin-top: 3px
}
/* specs grid */
.specs-grid {
	display: flex;
	gap: 0;
	border-top: 1px solid var(--border);
	border-left: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 16px;
}
.spec-item {
	padding: 10px;
	border-bottom: 1px solid var(--border);
	border-right: 1px solid var(--border);
}
.spec-item .si-label {
	font-size: 11px;
	color: var(--gray);
	margin-bottom: 3px;
	display: flex;
	align-items: center;
	gap: 5px
}
.spec-item .si-label i {
	font-size: 12px;
	color: #9ca3af
}
.spec-item .si-val {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--text)
}
/* action buttons */
.apt-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap
}
.btn-send {
	background: var(--red);
	color: #fff;
	border: none;
	padding: 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	transition: all .2s;
	font-family: inherit;
}
.btn-send:hover {
	background: var(--red-d);
	transform: translateY(-1px);
	box-shadow: 0 5px 16px rgba(153, 3, 3, .3)
}
.box_btn_send button {
    min-width: 132px;
	white-space: nowrap;
}
.box_btn_send .button_text {
	border: 1.5px solid var(--border);
	color: var(--text);
	border-radius: 8px;
	font-weight: 600;
	display: flex;
	justify-content: center;
	gap: 4px;
	align-items: center
}
.btn-outline {
	border: 1.5px solid var(--border);
	background: #fff;
	color: var(--text);
	padding: 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	transition: all .2s;
	font-family: inherit;
	justify-content: center
}
.btn-outline:hover {
	border-color: var(--red);
	color: var(--red);
	background: rgba(153, 3, 3, .03)
}
.btn-outline i {
	font-size: 13px
}
/* ═══════════════ TABS ═══════════════ */
.tabs-wrap {
	background: #fff;
	border-radius: 11px;
	border: 1px solid var(--border);
	margin-bottom: 14px;
	overflow: hidden;
	animation: fadeUp .5s var(--ease) .1s both;
}
.tabs-nav {
	display: flex;
	border-bottom: 1px solid var(--border);
	overflow-x: auto;
	padding-bottom: 2px;
}
.tabs-nav::-webkit-scrollbar {
	display: none
}
.nav-tabs-bordered .nav-link {
	padding: 14px 18px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray);
	cursor: pointer;
	white-space: nowrap;
	border-bottom: 2.5px solid transparent;
	transition: all .2s;
	flex-shrink: 0;
}
.tab-item:hover {
	color: var(--red)
}
.nav-tabs-bordered .nav-link.active {
	color: var(--red) !important;
	border-bottom-color: var(--red)
}
.tab-content {
	padding: 20px
}
.tab-pane {
	display: none;
	animation: fadeIn .35s var(--ease)
}
.tab-pane.active {
	display: block
}
/* tab content grid */
.tab-3col {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 14px
}
.tab-section-title {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--text);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.tab-section-title a {
	color: var(--red);
	font-size: 11.5px;
	font-weight: 600;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	display: flex;
	align-items: center;
	gap: 3px
}
.expand-icon {
	width: 24px;
	height: 24px;
	border: 1px solid var(--border);
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--gray);
	font-size: 11px;
	transition: all .2s;
}
.expand-icon:hover {
	background: var(--red);
	color: #fff;
	border-color: var(--red)
}
/* position map */
.pos-map-wrap {
	background: #f9fafb;
	border: 1px solid var(--border);
	border-radius: 9px;
	overflow: hidden;
	position: relative;
	height: 230px;
}
.pos-map-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover
}
.map-label-b {
	position: absolute;
	top: 12px;
	right: 12px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 5px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 13px;
}
.floor-info {
	margin-top: 12px
}
.floor-row {
	display: flex;
	justify-content: space-between;
	padding: 7px 0;
	border-bottom: 1px solid #f3f3f3;
	font-size: 12.5px
}
.floor-row:last-child {
	border: none
}
.floor-row .fl {
	color: var(--gray)
}
.floor-row .fv {
	font-weight: 600;
	color: var(--text)
}
.btn-view-map {
	display: block;
	width: 100%;
	margin-top: 12px;
	border: 1.5px solid var(--red);
	color: var(--red);
	background: #fff;
	padding: 9px;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
}
.btn-view-map:hover {
	background: var(--red);
	color: #fff
}
.box_layout .fp-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.box_layout .legend-item { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--gray); }
.box_layout .legend-dot { width: 11px; height: 11px; border-radius: 2px; flex-shrink: 0; }
.box_layout .am-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 10px; }
.box_layout .am-item { display: flex; align-items: center; gap: 9px;border: 1px solid #fff0; }
.box_layout .am-item.active, .am-item:hover {
	color: var(--red);
	border-color: var(--red);
	background: rgba(153, 3, 3, 0.03);
}
/* floor plan */
.floorplan-wrap {
	background: #f9fafb;
	border: 1px solid var(--border);
	border-radius: 9px;
	overflow: hidden;
	height: 230px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.floorplan-wrap img {
	max-height: 100%;
	object-fit: contain
}
.floorplan-info {
	margin-top: 12px;
	font-size: 12px;
	color: var(--gray)
}
.floorplan-info strong {
	font-weight: 700;
	color: var(--text);
	font-size: 13px
}
.btn-detail-map {
	display: block;
	width: 100%;
	margin-top: 12px;
	border: 1.5px solid var(--red);
	color: var(--red);
	background: #fff;
	padding: 9px;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
}
.btn-detail-map:hover {
	background: var(--red);
	color: #fff
}
/* views gallery */
.view-main {
	border-radius: 9px;
	overflow: hidden;
	margin-bottom: 4px;
	position: relative;
	height: 200px;
}
.view-main img {
	width: 100%;
	height: 100%;
	object-fit: cover
}
.view-dir-badge {
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translate(-50%,0);
	background: rgba(0, 0, 0, .5);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 5px;
}
.view-thumbs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
}
.view-th {
	border-radius: 7px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	transition: opacity .2s
}
.view-th img {
	width: 100%;
	height: 80px;
	object-fit: cover
}
.view-th:hover {
	opacity: .85
}
.view-th-lbl {
	text-align: center;
	margin-top: 4px;
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translate(-50%, 0);
	background: rgba(0, 0, 0, .5);
	color: #fff;
	font-size: 8px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 5px;
	width: calc(100% - 10px);
}
.title_layout {
	width: 100%;
	position: absolute;
	padding: 24px 10px 6px;
	left: 0px;
	bottom: 0px;
	background: #FFF;
	background: rgb(255, 255, 255);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
	font-size: 16px;
}
.owl_layout.owl-carousel .owl-stage{
	display: flex
}
.owl_layout .owl-nav.disabled {
	display: none;
}
.owl_layout.owl-carousel .owl-prev,
.owl_layout.owl-carousel .owl-next {
	border: 1px solid #990303 !important;
	color: #990303;
}
.border-main {
	border: 2px solid #990303 !important;
}
.content_utilities {
	padding: 24px 10px 6px;
	left: 0px;
	bottom: 0px;
	height: 100%;
	background: #FFF;
	background: rgb(255, 255, 255);
	background: linear-gradient(180deg, rgb(178 175 175 / 0%) 0%, rgba(0, 0, 0, 0.9) 100%);
	transition: .5s all;
	display: flex;
	transform: translate(0%, 100%);
	flex-direction: column;
	justify-content: end;
}
.awe__doc-item:hover .content_utilities {
	transform: translate(0%, 0%);
}
.box_tab .btn_tab {
	transition: .2s
}
.box_tab .btn_tab.active {
	background: var(--red);
	color: #FFF;
}
.box_tab .btn_tab:not(.active):hover {
	color: var(--red);
	border-color: var(--red);
	background: rgba(153, 3, 3, 0.03);
}
.item_doc:not(:last-child) .content_item_doc:after {
	content: "";
	display: block;
	width: 100%;
	position: absolute;
	border-bottom: 1px solid #c3cad2;
	bottom: -16px;
	right: 0
}
.img_item_doc {
	width: 120px;
	height: 150px;
}
.content_item_doc {
	margin-left: 20px;
	width: calc(100% - 140px);
}
.img_item_doc:after {
	content: "";
	width: 50%;
	height: 50%;
	position: absolute;
	display: block;
	background: #e3dede;
	border-radius: 10px;
	right: -2px;
	bottom: -2px;
}
.title_item_doc:hover {
	text-decoration: underline
}
@media screen and (max-width:767px) {
	.img_item_doc {
		width: 80px;
		height: 114px;
	}
	.content_item_doc {
		margin-left: 0px;
		width: calc(100% - 80px);
	}
	.item_doc:not(:last-child) .content_item_doc:after {
		bottom: 0px
	}
	.img_item_doc:after {
		border-radius: 8px;
		right: 2px;
		bottom: 2px;
	}
	.box_btn_send button {
		font-size: 10px;
		min-width: 110px;
		padding: 0 10px;
		line-height: 1;
		height: 30px;
	}
	
	.box_btn_send .button_text {
		padding: 10px;
	}

	.price-val {
		font-size: 18px;
	}

	.price-per {
		font-size: 10px;
	}
	.menu_tabs {
		overflow-x: auto;
		padding-bottom: 2px;
		flex-wrap: nowrap;
	}
	.menu_tabs::-webkit-scrollbar {
		width: 0;
		height: 0;
	}
}
.img-background {
	height: 250px
}
.box_item_docs .awe__doc-item {
	border: 1px solid #ccc;
	overflow: hidden;
	border-radius: 5px;
	padding: 10px;
}
.box_item_docs .awe__doc-link>h4 {
	width: 100%;
	position: absolute;
	padding: 24px 10px 6px;
	left: 0px;
	bottom: 0px;
	background: #FFF;
	background: rgb(255, 255, 255);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
}
.box_item_docs .img-background {
	height: 180px;
}
@media screen and (max-width:575px) {
	.itemUtilities .title_utilities {
		font-size: 13px !important;
		margin-bottom: 3px !important;
	}
	.itemUtilities .intro_utilities {
		font-size: 11px;
	}
	.itemUtilities .img-background {
		height: 170px;
	}
}
/* ═══════════════ BOTTOM SECTIONS ═══════════════ */
.bottom-3col {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px
}
.panel {
	background: #fff;
	border-radius: 11px;
	border: 1px solid var(--border);
	padding: 18px;
	animation: fadeUp .55s var(--ease) both;
}
.panel-title {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .4px;
	margin-bottom: 14px;
	color: var(--text)
}
.panel-title .chiết-khấu {
	color: var(--red);
	font-weight: 700;
	font-size: 12px;
	text-transform: none;
	letter-spacing: 0
}
/* payment schedule */
.pay-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px
}
.pay-table thead th {
	background: #f9fafb;
	padding: 8px 10px;
	font-size: 11px;
	font-weight: 700;
	color: var(--gray);
	border-bottom: 1px solid var(--border);
	text-align: center;
}
.pay-table tbody td {
	padding: 8px 10px;
	border-bottom: 1px solid #f5f5f5;
	text-align: center;
	font-size: 12px
}
.pay-table tbody td:first-child {
	text-align: left;
	font-weight: 600;
	color: var(--text)
}
.pay-table tfoot td {
	padding: 8px 10px;
	font-weight: 700;
	text-align: center;
	background: #fef2f2;
	color: var(--red);
	font-size: 12.5px
}
.pay-percent {
	font-size: 14px;
	font-weight: 800;
	color: var(--text)
}
.pay-percent.highlight {
	color: var(--red)
}
.pay-date {
	font-size: 10px;
	color: var(--gray);
	margin-top: 2px
}
.link-pay {
	display: block;
	text-align: center;
	color: var(--red);
	font-size: 12.5px;
	font-weight: 700;
	margin-top: 12px;
	text-decoration: none;
	cursor: pointer
}
.link-pay:hover {
	text-decoration: underline
}
/* highlights */
.highlight_list {
	display: flex;
	flex-direction: column;
	gap: 9px
}
.hl-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: var(--text);
	line-height: 1.5
}
.hl-item .hl-check {
	width: 18px;
	height: 18px;
	background: var(--red);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 9px;
	flex-shrink: 0;
	margin-top: 1px;
}
/* price chart */
.chart-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 14px;
	border: 1px solid var(--border);
	border-radius: 7px;
	overflow: hidden
}
.ct-tab {
	flex: 1;
	padding: 7px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--gray);
	cursor: pointer;
	transition: all .2s;
	background: #fff;
	border: none;
	font-family: inherit;
}
.ct-tab.active {
	background: var(--red);
	color: #fff
}
.chart-area {
	position: relative;
	height: 140px
}
.price-chart-wrap {
	height: 100%
}
:root {
	--red: #990303;
	--red-d: #7a0202;
	--red-l: #b50404;
	--text: #1a1a1a;
	--gray: #6b7280;
	--light: #f4f5f7;
	--border: #e5e7eb;
	--white: #fff;
	--green: #16a34a;
	--orange: #d97706;
	--ease: cubic-bezier(.4, 0, .2, 1);
}
/* ═══════════════ SIDEBAR ═══════════════ */
.side-panel {
	background: #fff;
	border-radius: 11px;
	border: 1px solid var(--border);
	padding: 16px;
	animation: fadeUp .5s var(--ease) .08s both;
}
.side-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px
}
.side-panel-title {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--text)
}
.side-panel-link {
	color: var(--red);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 3px;
	white-space: nowrap
}
.side-panel-link:hover {
	gap: 6px
}
/* project info */
.proj-img {
	width: 100%;
	height: 185px;
	border-radius: 8px;
	object-fit: cover;
	margin-bottom: 12px
}
.proj-info-row {
	display: flex;
	justify-content: space-between;
	padding: 7px 0;
	border-bottom: 1px solid #f5f5f5;
	font-size: 12.5px
}
.proj-info-row:last-child {
	border: none
}
.pi-label {
	color: var(--gray)
}
.pi-val {
	font-weight: 600;
	color: var(--text);
	text-align: right;
	max-width: 55%
}
/* connectivity */
.conn-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #f5f5f5;
	font-size: 12.5px;
	transition: background .15s;
	cursor: pointer
}
.conn-item:last-child {
	border: none
}
.conn-item:hover {
	background: rgba(153, 3, 3, .03);
	margin: 0 -4px;
	padding-left: 4px;
	padding-right: 4px;
	border-radius: 6px
}
.conn-left {
	display: flex;
	align-items: center;
	gap: 8px
}
.conn-ico {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--gray);
	flex-shrink: 0
}
.conn-name {
	font-size: 12.5px;
	color: var(--text)
}
.conn-time {
	font-size: 12px;
	font-weight: 600;
	color: var(--gray)
}
/* agent */
.agent-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px
}
.agent-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid var(--red)
}
.agent-info .agent-name {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 2px
}
.agent-info .agent-role {
	font-size: 11.5px;
	color: var(--red);
	font-weight: 600;
	margin-bottom: 3px
}
.agent-info .agent-phone {
	font-size: 13px;
	font-weight: 600;
	color: var(--text)
}
.agent-actions {
	display: flex;
	gap: 7px;
	margin-bottom: 12px
}
.ag-btn {
	flex: 1;
	border: 1.5px solid var(--border);
	background: #fff;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 16px;
	color: var(--text);
	transition: all .2s;
}
.ag-btn:hover {
	border-color: var(--red);
	color: var(--red);
	background: rgba(153, 3, 3, .04)
}
.btn-msg {
	display: block;
	width: 100%;
	border: 1.5px solid var(--red);
	color: var(--red);
	background: #fff;
	padding: 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
}
.btn-msg:hover {
	background: var(--red);
	color: #fff
}
/* sale tools */
.section-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
	text-transform: uppercase
}

/* ═══════════════ STICKY BOTTOM BAR ═══════════════ */
.sticky-bar {
	position: sticky;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	background: #fff;
	border-top: 1px solid var(--border);
	padding: 10px 20px;
	box-shadow: 0 -12px 18px rgba(0, 0, 0, .09);
	display: flex;
	align-items: center;
	gap: 16px;
	animation: fadeUp .4s var(--ease);
}
.sticky-thumb {
	width: 44px;
	height: 44px;
	border-radius: 7px;
	object-fit: cover;
	flex-shrink: 0
}
.sticky-info {
	flex: 1;
	min-width: 0
}
.sticky-code {
	font-size: 13px;
	font-weight: 800;
	color: var(--text)
}
.sticky-proj {
	font-size: 11.5px;
	color: var(--gray)
}
.sticky-specs {
	display: flex;
	gap: 14px;
	font-size: 12.5px;
	color: var(--gray)
}
.sticky-specs span {
	white-space: nowrap
}
.sticky-specs strong {
	color: var(--text);
	font-weight: 700
}
.sticky-price {
	text-align: right;
	flex-shrink: 0
}
.sticky-price .sp-val {
	font-size: 16px;
	font-weight: 900;
	color: var(--red)
}
.sticky-price .sp-per {
	font-size: 11px;
	color: var(--gray)
}
.sticky-btns {
	display: flex;
	gap: 8px;
	flex-shrink: 0
}
.sb-send {
	border: 1.5px solid var(--red);
	color: var(--red);
	background: #fff;
	padding: 9px 16px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
.sb-send:hover {
	background: var(--red);
	color: #fff
}
.sb-book {
	background: var(--red);
	color: #fff;
	border: none;
	padding: 9px 20px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all .2s;
	font-family: inherit;
	white-space: nowrap;
}
.sb-book:hover {
	background: var(--red-d);
	box-shadow: 0 4px 14px rgba(153, 3, 3, .3)
}
/* ═══════════════ SCROLL REVEAL ═══════════════ */
.sr {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .55s var(--ease), transform .55s var(--ease)
}
.sr.in {
	opacity: 1;
	transform: translateY(0)
}
.sr[data-d="1"] {
	transition-delay: .07s
}
.sr[data-d="2"] {
	transition-delay: .14s
}
.sr[data-d="3"] {
	transition-delay: .21s
}
/* ═══════════════ RESPONSIVE ═══════════════ */
@media screen and (max-width:1480px) {
	.sticky-specs{
		display: none !important
	}
}
@media(max-width:1280px) {
	.sticky-bar {
		display: none;
	}
}
@media(max-width:1100px) {
	.tab-3col,
	.bottom-3col {
		grid-template-columns: 1fr 1fr
	}
}
@media(max-width:900px) {
	.gallery-wrap {
		flex-direction: column
	}
	.gallery-main {
		width: 100%
	}
	.gallery-main img {
		height: 200px
	}
	.gallery-thumbs {
		grid-template-columns: repeat(5, 1fr)
	}
	.top-actions {
		display: none
	}
	.tab-3col,
	.bottom-3col {
		grid-template-columns: 1fr
	}
	.content_utilities {
		transform: translate(0, 0);
	}
}
@media(max-width:600px) {
	.specs-grid {
		grid-template-columns: 1fr 1fr;
		display: flex;
		flex-wrap:wrap
	}
	.spec-item {
		padding: 8px;
	}

	.spec-item .si-val {
		font-size: 11px;
	}

	.spec-item .si-label {
		font-size: 9px;
	}

	.apt-header {
		padding: 18px 15px;
	}
	.apt-actions {
		flex-wrap: wrap;
		gap:4px
	}
	.apt-actions .btn-outline {
		font-size: 10px;
		padding: 7px;
		flex: 1 1 auto;
	}
	.sticky-specs {
		display: none
	}
	.sticky-price {
		display: none
	}
	.top-bar,
	.breadcrumb-nav a:not(:last-child) {
		display: none
	}
	.tools-grid {
		grid-template-columns: repeat(4, 1fr)
	}
	.price_col {
		display: flex;
		flex-direction: column;
	}
	.apt-tag {
		font-size: 9px;
		padding: 5px 8px;
	}
	.apt-tags {
		gap: 4px;
	}
}
/*===========END DETAIL============*/
/* =========================================================================
   Tool Search — New AngularJS UI
   ========================================================================= */
:root {
	--ts-red: #e02020;
	--ts-red-dark: #c01a1a;
	--ts-green: #2dbe6c;
	--ts-green-light: #e6f9ef;
	--ts-blue: #1a6ef5;
	--ts-orange: #f5820a;
	--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;
}
/* Page header */
.ts-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 16px;
}
.ts-page-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--ts-gray-900);
}
.ts-page-subtitle {
	font-size: 13px;
	color: var(--ts-gray-600);
	margin-top: 3px;
}
.ts-page-subtitle strong {
	color: var(--ts-red);
}
.ts-page-actions {
	display: flex;
	gap: 8px;
}
.ts-btn-guide {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1.5px solid var(--ts-gray-300);
	border-radius: var(--ts-radius);
	background: #fff;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	color: var(--ts-gray-700);
}
.ts-btn-collapse {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: none;
	border-radius: var(--ts-radius);
	background: var(--ts-red);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
@media screen and (max-width: 575px){
	.ts-btn-collapse{
		width:100% !important;
	}
	.ts-page-header {
		align-items: center;
	}
	.ts-page-header .ts-page-title {
		font-size: 18px;
	}
}
/* New filter inputs */
.ts-filter-panel .form-select.ts-filter-select {
	background-color: #fff;
	border: none;
	color: var(--ts-gray-800);
	font-size: 13px;
	height: 38px;
	border-radius: 6px;
}
.ts-filter-panel .ts-filter-range {
	background-color: #fff;
	border: none;
	height: 38px;
	border-radius: 6px;
}
.ts-filter-panel .ts-filter-section {
	border-color: rgba(255, 255, 255, 0.15);
}
/* Filter panel */
.ts-filter-panel {
	background: #203598;
	border: none;
	border-radius: var(--ts-radius);
	padding: 16px 20px;
	margin-bottom: 16px;
	box-shadow: 0 4px 12px rgba(32, 53, 152, 0.15);
	color: #fff;
}
.ts-filter-row {
	display: grid;
	grid-template-columns: 2fr 1.2fr 1.1fr;
	gap: 0;
	border-bottom: 1px solid var(--ts-gray-100);
	padding-bottom: 14px;
	margin-bottom: 14px;
	transition: all .3s ease;
}
.ts-filter-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}
.ts-advanced-filters {
	max-height: 500px;
	opacity: 1;
	overflow: hidden;
	transition: max-height .3s ease, opacity .3s ease;
}
.ts-filter-panel.collapsed .ts-advanced-filters {
	max-height: 0;
	opacity: 0;
}
.ts-filter-panel.collapsed .ts-filter-row:first-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}
.ts-filter-section {
	padding-right: 16px;
	border-right: 1px solid var(--ts-gray-100);
}
.ts-filter-section:last-child {
	border-right: none;
	padding-right: 0;
	padding-left: 16px;
}
.ts-filter-section:first-child {
	padding-left: 0;
}
.ts-filter-section:not(:first-child):not(:last-child) {
	padding-left: 16px;
}
.ts-filter-title {
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.ts-filter-title span {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
}
.ts-filter-fields {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.ts-filter-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}
.ts-filter-label {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 500;
	margin-bottom: 2px;
}
.ts-btn-clear {
	background: none;
	border: 1px solid var(--ts-gray-300);
	border-radius: 6px;
	padding: 7px 10px;
	cursor: pointer;
	color: var(--ts-gray-500);
	display: flex;
	align-items: center;
	justify-content: center;
}
.ts-btn-clear:hover {
	background: var(--ts-gray-50);
}
/* Stats row */
.ts-stats-row {
	display: flex;
	gap: 1px;
	background: var(--ts-gray-200);
	border: 1px solid var(--ts-gray-200);
	border-radius: var(--ts-radius);
	overflow: hidden;
	margin-bottom: 16px;
	box-shadow: var(--ts-shadow-sm);
}
.ts-stat-card {
	flex: 1;
	background: var(--bs-white);
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.ts-stat-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.ts-stat-icon.blue {
	background: #e8f0fe;
	color: var(--ts-blue);
}
.ts-stat-icon.orange {
	background: #fff3e0;
	color: var(--ts-orange);
}
.ts-stat-icon.purple {
	background: #f3e5f5;
	color: #9c27b0;
}
.ts-stat-icon.green {
	background: var(--ts-green-light);
	color: var(--ts-green);
}
.ts-stat-icon.teal {
	background: #e0f7f5;
	color: #009688;
}
.ts-stat-icon.red {
	background: #fce8e8;
	color: var(--ts-red);
}
.ts-stat-icon.darkblue {
	background: #e3f2fd;
	color: #1565c0;
}
.ts-stat-value {
	font-size: 16px;
	font-weight: 600;
	color: var(--ts-gray-900);
	line-height: 1;
}
.ts-stat-label {
	font-size: 11px;
	color: var(--ts-gray-500);
	margin-top: 2px;
}
/* Results header */
.ts-results-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.ts-results-count {
	font-size: 13px;
	color: var(--ts-gray-700);
	font-weight: 500;
}
.ts-results-count strong {
	color: var(--ts-gray-900);
}
.ts-results-updated {
	font-size: 11px;
	color: var(--ts-gray-400);
	margin-left: 8px;
}
.ts-results-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}
.ts-btn-excel {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border: 1.5px solid #1d6f42;
	border-radius: 6px;
	background: #fff;
	color: #1d6f42;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}
.ts-btn-save {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border: 1.5px solid var(--ts-gray-300);
	border-radius: 6px;
	background: #fff;
	color: var(--ts-gray-700);
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
}
.ts-refresh-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--ts-gray-500);
	padding: 2px;
	display: inline-flex;
	align-items: center;
	margin-left: 4px;
}
.ts-refresh-btn:hover {
	color: var(--ts-blue);
}
/* Table */
.ts-table-wrap {
	background: #fff;
	border: 1px solid var(--ts-gray-200);
	border-radius: var(--ts-radius);
	overflow: hidden;
	box-shadow: var(--ts-shadow-sm);
	overflow-x: auto;
}
.ts-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 1100px;
}
.ts-table thead tr {
	background: #203598;
	border-bottom: none;
}
.ts-table th {
	padding: 12px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	text-align: left;
	white-space: nowrap;
	letter-spacing: 0.1px;
}
.ts-table th:first-child {
	padding-left: 16px;
	position: sticky;
	left: 0;
	z-index: 2;
	background: #203598;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.ts-table th.sortable {
	cursor: pointer;
}
.ts-table th.sortable:hover {
	color: rgba(255, 255, 255, 0.8);
}
.ts-table tbody tr {
	border-bottom: 1px solid var(--ts-gray-100);
	transition: background .1s;
}
.ts-table tbody tr:last-child {
	border-bottom: none;
}
.ts-table tbody tr:hover {
	background: var(--ts-gray-50);
}
.ts-table td {
	padding: 10px;
	font-size: 12px;
	color: var(--ts-gray-700);
	white-space: nowrap;
}
.ts-table td:first-child {
	padding-left: 16px;
	position: sticky;
	left: 0;
	z-index: 1;
	background: #fff;
	border-right: 1px solid var(--ts-gray-100);
	transition: background .1s;
}
.ts-table tbody tr:hover td:first-child {
	background: var(--ts-gray-50);
}
.ts-td-code {
	color: var(--ts-blue);
	font-weight: 600;
	cursor: pointer;
	font-size: 12px;
	text-decoration: none;
}
.ts-td-code:hover {
	text-decoration: underline;
}
.ts-badge-status {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}
.ts-td-ptg {
	font-size: 11px;
	color: var(--ts-blue);
	font-weight: 500;
}
.ts-td-ptg a {
	color: var(--ts-blue);
	text-decoration: none;
}
.ts-td-ptg a:hover {
	text-decoration: underline;
}
/* Pagination */
.ts-pagination-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-top: 1px solid var(--ts-gray-100);
	background: #fff;
	position: sticky;
	left: 0
}
.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: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23adb5bd'/%3E%3C/svg%3E") no-repeat right 6px center;
	background-size: 7px;
	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: #fff;
	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: #fff;
	border-color: var(--ts-red);
	font-weight: 700;
}
.ts-page-btn.arrow {
	color: var(--ts-gray-500);
}
.ts-page-dots {
	color: var(--ts-gray-400);
	font-size: 13px;
	width: 24px;
	text-align: center;
}
/* Loading skeleton */
.ts-loading {
	text-align: center;
	padding: 60px 20px;
	color: var(--ts-gray-500);
}
.ts-loading .spinner {
	display: inline-block;
	width: 32px;
	height: 32px;
	border: 3px solid var(--ts-gray-200);
	border-top-color: var(--ts-red);
	border-radius: 50%;
	animation: ts-spin .8s linear infinite;
}
@keyframes ts-spin {
	to {
		transform: rotate(360deg);
	}
}
/* Responsive */
@media screen and (max-width:1200px) {
	.ts-filter-row {
		grid-template-columns: 1fr 1fr;
	}
	.ts-filter-section:nth-child(2) {
		border-right: none;
	}
	.ts-filter-section:nth-child(3) {
		padding-left: 0;
		border-right: 1px solid var(--ts-gray-100);
		margin-top: 14px;
	}
	.ts-stats-row {
		flex-wrap: wrap;
	}
	.ts-stat-card {
		min-width: calc(25% - 1px);
	}
}
@media screen and (max-width:768px) {
	.ts-filter-row {
		grid-template-columns: 1fr;
	}
	.ts-filter-section {
		border-right: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-top: 10px;
	}
	.ts-filter-section:first-child {
		margin-top: 0;
	}
	.ts-stats-row {
		flex-wrap: wrap;
	}
	.ts-stat-card {
		min-width: calc(50% - 1px);
	}
	.ts-results-header {
		flex-direction: column;
		gap: 8px;
		align-items: flex-start;
	}
	.ts-filter-group{
		min-width: 40%
	}
	.ts-pagination-bar {
		flex-wrap: wrap;
		gap: 10px;
		justify-content: center;
	}
}
/* -- Filter range: input group style -- */
.ts-filter-range {
	display: flex;
	align-items: center;
	border: 1px solid var(--ts-gray-300);
	border-radius: 6px;
	overflow: hidden;
	background: var(--bs-white);
	height: 36px;
}
.ts-filter-range:focus-within {
	border-color: var(--ts-red);
}
.ts-filter-range .ts-filter-input {
	flex: 1;
	border: none;
	border-radius: 0;
	padding: 0 8px;
	font-size: 12px;
	color: var(--ts-gray-700);
	background: transparent;
	outline: none;
	width: 0;
	min-width: 0;
	height: 100%;
	text-align: center;
}
.ts-filter-range .ts-range-sep {
	color: var(--ts-gray-400);
	font-size: 12px;
	padding: 0 2px;
	flex-shrink: 0;
	user-select: none;
}
.ts-filter-range .ts-range-unit {
	color: var(--ts-gray-500);
	font-size: 11px;
	white-space: nowrap;
	flex-shrink: 0;
	height: 100%;
	display: flex;
	align-items: center;
	padding: 0 8px;
}
/* --- TABLE TOOLBAR --- */
.ts-table-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	border: 1px solid var(--ts-gray-200);
	border-bottom: none;
	border-radius: var(--ts-radius) var(--ts-radius) 0 0;
	padding: 10px 16px;
}
.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;
}
.ts-toolbar-view {
	display: flex;
	background: var(--ts-gray-100);
	border-radius: 6px;
	padding: 3px;
}
.ts-view-btn {
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	color: var(--ts-gray-600);
	border-radius: 6px;
	cursor: pointer;
}
.ts-view-btn.active {
	background: #fff;
	color: var(--ts-blue);
	box-shadow: var(--ts-shadow-sm);
}
.ts-toolbar-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}
.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 {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/* =========================================================================
   SKELETON PRELOADER
   ========================================================================= */
@keyframes ts-shimmer {
	0%   { background-position: -600px 0; }
	100% { background-position:  600px 0; }
}
.ts-skeleton-wrap {
	overflow-x: auto;
}
.ts-skel {
	height: 14px;
	border-radius: 6px;
	background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
	background-size: 600px 100%;
	animation: ts-shimmer 1.4s infinite linear;
}
/* Size variants */
.ts-skel--xs     { width: 36px; }
.ts-skel--sm     { width: 64px; }
.ts-skel--md     { width: 90px; }
.ts-skel--code   { width: 80px; height: 16px; border-radius: 8px; }
.ts-skel--actions {
	width: 60px;
	height: 24px;
	border-radius: 6px;
}
/* Row alternating opacity for realism */
.ts-skeleton-row:nth-child(even) .ts-skel {
	opacity: 0.7;
}
.ts-skeleton-row td {
	padding: 10px 8px;
}

/* =========================================================================
   COMPACT VIEW MODE
   ========================================================================= */
.ts-table--compact thead th {
	padding: 6px 8px;
	font-size: 11px;
}
.ts-table--compact tbody td {
	padding: 4px 8px;
	font-size: 12px;
	line-height: 1.4;
}
.ts-table--compact .ts-td-code {
	font-size: 12px;
}
.ts-table--compact .bx {
	font-size: 14px !important;
}
.ts-table--compact .btn-icon.btn-sm {
	width: 24px;
	height: 24px;
	padding: 0;
}


/* --- TOOLBAR OVERRIDES --- */
.ts-table-toolbar {
	flex-wrap: nowrap;
}
.ts-toolbar-view {
	margin: 0 auto;
}
.ts-toolbar-actions {
	flex-shrink: 0;
	flex-wrap: nowrap;
}
.ts-tab-item.active {
	color: var(--ts-blue);
	border-bottom-color: var(--ts-blue);
}

/* ---- Mobile: <= 768px ---- */
@media (max-width: 768px) {
	.ts-table-toolbar {
		flex-wrap: wrap;
		gap: 6px;
		padding: 8px 10px;
	}
	.ts-toolbar-tabs {
		order: 1;
		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-view {
		order: 2;
		margin-left: auto;
		margin-right: 0;
	}
	.ts-view-btn {
		padding: 4px 10px;
		font-size: 11.5px;
	}
	.ts-toolbar-actions {
		order: 3;
		margin-left: 0;
		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;
	}
}
/* ---- Very small: <= 480px ---- */
@media (max-width: 480px) {
	.ts-tab-item .tab-label {
		display: none;
	}
	.ts-tab-item {
		padding: 8px 10px;
		font-size: 14px;
	}
	.ts-toolbar-view {
		margin-left: auto;
		margin-right: 0;
	}
