/*=======HEADER=======*/
/* ===== NAVBAR ===== */
.navbar-custom {
    background: #fff;
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 3;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    animation: fadeInDown 0.5s ease;
}
.navbar-custom .brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 180px;
}
.brand-logo {
    width: 42px;
    height: 42px;
    background: var(--red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -1px;
    flex-shrink: 0;
}
.brand-text strong {
    display: block;
    color: var(--red);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.5px;
}
.brand-text span {
    font-size: 9px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-links {
    display: flex;
    align-items: center;
/*    gap: 4px;*/
    margin: 0 auto;
}
.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}
.menu_item:hover a, .nav-links a:hover{
    color: var(--red);
}
.nav-links a{
    position:relative
}
.nav-links>a:before, .nav-links .menu_item>a:before {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 2px;
    background: var(--red);
    transform: translate(-50%, 0);
    bottom: -1px;
    left: 50%;
    transition: all .35s;
}
.nav-links .menu_item>a:hover:before, .nav-links>a:hover:before,.menu_item:hover>a:before {
    width: 50px;    
}
.nav-links a:after{
    width: 5px !important;
    height: 5px;
}
.nav-links a.active:after, .nav-links a:hover:after{
    width: 100%
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    font-size: 18px;
    transition: var(--transition);
    position: relative;
}
.nav-icon-btn:hover {
    background: var(--light-gray);
    color: var(--red);
}
.badge-red {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: var(--red);
    border-radius: 50%;
    font-size: 9px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.btn-login {
    border: 1.5px solid var(--red);
    color: var(--red);
    background: transparent;
    padding: 7px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-login:hover {
    background: var(--red);
    color: #fff;
}
.btn-register {
    background: var(--red);
    color: #fff !important;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-register:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}
@media screen and (min-width: 1400px) {
    .dropdown-notifications .dropdown-menu {
        min-width: 20rem;
        max-width: 20rem;
    }
}
@media screen and (max-width: 1400px) {
    .dropdown-notifications .dropdown-menu {
        min-width:16rem;
        max-width: 16rem;
    }
}
.dropdown-menu-arrow:before,.dropdown-menu-arrow:after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-width: 7px 8px;
    border-style: solid;
    border-color: transparent;
    z-index: 1001;
}

.dropdown-menu-arrow:before {
    top: -15px;
    right: 12px;
    border-bottom-color: rgba(0,0,0,.15);
}

.dropdown-notifications .dropdown-notifications-list .dropdown-notifications-item.bg-grayter {
    color: rgb(159,34,58) !important;
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
    display: none;
    background: #fff;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    animation: fadeInDown 0.4s ease;
}
.mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hamburger {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--text);
    border-radius: 8px;
    transition: var(--transition);
}
.hamburger:hover {
    background: var(--light-gray);
}
.mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mobile-brand .brand-logo {
    width: 32px;
    height: 32px;
    font-size: 14px;
}
.mobile-brand strong {
    color: var(--navy);
    font-size: 18px;
    font-weight: 800;
}
.mobile-brand strong span {
    color: var(--red);
}
.mobile-header-actions {
    display: flex;
    gap: 4px;
}
/*menu mobile*/
:root {
	--transition-speed: 0.4s;
	--transition-curve: cubic-bezier(0.4, 0, 0.2, 1);
}
/* Overlay */
.menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	backdrop-filter: blur(3px);
	z-index: 1000;
	display: none;
}

/* Sidebar Container */
.mobile-menu-sidebar {
	position: fixed;
	top: 0;
	left: -100%;
	width: 100%;
	max-width: 500px;
	height: 100%;
	background: #fff;
	z-index: 1001;
	transition: left var(--transition-speed) var(--transition-curve);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: -5px 0 25px rgba(0,0,0,0.15);
}

.mobile-menu-sidebar.active {
	left: 0;
}

/* Viewport để chứa các panel */
.menu-viewport {
	position: relative;
	flex-grow: 1;
	overflow: hidden;
}

/* Panel Cấu trúc Flat */
.menu-panel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: white;
	transition: transform var(--transition-speed) var(--transition-curve), 
				visibility var(--transition-speed);
	transform: translateX(100%); /* Đẩy hết sang phải */
	visibility: hidden;
	overflow-y: auto;
}

/* Trạng thái hiển thị */
.menu-panel.active {
	transform: translateX(0);
	visibility: visible;
	z-index: 5;
}

/* Trạng thái đã đi qua (nằm bên trái) */
.menu-panel.exit {
	transform: translateX(-30%); /* Trượt nhẹ sang trái tạo chiều sâu */
	visibility: hidden;
	z-index: 1;
}

/* List Items Custom */
.list-group-item {
	padding: 1rem 1.25rem;
	border-left: none;
	border-right: none;
	border-top: none;
	border-bottom: 1px solid #f0f0f0;
	font-size: 1.05rem;
	color: #333;
	cursor: pointer;
	transition: background 0.2s;
	display: flex;
	align-items: center;
	text-decoration: none;
}

.list-group-item:active {
	background-color: #f8f9fa;
}

.list-group-item i:first-child {
	width: 25px;
	margin-right: 15px;
	font-size: 1.2rem;
	color: #666;
}

/* Nút quay lại */
.btn-back {
	background: #f8f9fa;
	padding: 1rem;
	font-weight: bold;
	cursor: pointer;
	border-bottom: 1px solid #eee;
	display: flex;
	align-items: center;
	color: #444;
}

/* AI Item Nổi bật */
.ai-item-wrap {
	padding: 15px;
}
.ai-item {
	background: linear-gradient(135deg, var(--red), #6f020d);
	color: white !important;
	border-radius: 12px;
	justify-content: center;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(168, 36, 49, 0.3);
	border: none !important;
}

.ai-badge {
	background: white;
	color: var(--red);
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 0.8rem;
	margin-right: 10px;
}
body.menu-open {
/*
	overflow: hidden;
	position: fixed; 
	width: 100%;
	height: 100%;
*/
}
/*end menu mobile*/
/*mobile header search*/
.search_header {
    width: 0;
    max-width: 320px;
    -webkit-transition: all 0.5s ease-out;
    border-width: 0;
    padding: 7px 0px;
    right: 0;
    border: 1px solid #990303;
    opacity: 0;
    position: absolute;
    z-index: -1;
    background: #FFF;
    pointer-events: none;
	overflow: hidden
}
.search_header.show, .search_header_pc{
    width: calc(100vw - 100px);
    border-color: #990303!important;
    opacity: 1;
    z-index: 1;
	pointer-events: all;
	overflow: visible
}
.search_header_pc {
    position: unset;
    max-width: 500px;
}
/*end mobile header search*/

@media (max-width: 1199px) {    
    .mobile-header {
        display: block;
    }    
    .navbar-custom {
        display: none !important;
    }
}
@media (min-width: 1200px) {    
    .mobile-header {
        display: none !important;
    }
}
@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-bottom-nav {
        display: block;
    }
}
@media (max-width: 500px) {
	.search_header {
		position: fixed;
		right: 10px;
        max-width: 100vw;
	}
    .search_header.show {
		position: fixed;
		width: calc(100vw - 70px);
	}
}
@media (min-width: 768px) {
    
    .mobile-bottom-nav {
        display: none !important;
    }
    .mobile-only {
        display: none !important;
    }
}
/*-------mega menu-----------*/
.menu_item .dropdown {
    position: static !important;
}
.menu_item .mega-menu-custom {
	min-width: 850px;
	padding: 30px;
	border-radius: 8px;
	border: 1px solid #eee;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	background: #fff;
    left: 50% !important;
    right: auto !important;
    margin: 0 auto;
    width: 95%;
    max-width: 1140px;
    transform: translate(-50%, 15px);
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.menu_item .mega-menu-market{
    min-width: 991px;
}
.menu_item .mega-menu-custom .row {
    margin: 0; /* Loại bỏ margin âm của Bootstrap row nếu cần */
}
.menu_item.dropdown:hover .mega-menu-custom {
	opacity: 1;
    visibility: visible;
    /* Giữ nguyên vị trí X (giữa), chỉ thay đổi vị trí Y để trượt lên */
    transform: translate(-50%, 10px);
}

.menu_item .menu-column-left {
	border-right: 1px solid #f0f0f0;
	padding-right: 20px;
}

.menu_item .menu-title {
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 25px;
	text-transform: uppercase;
	color: #333;
}

/* Item bên trái */
.menu_item .nav-item-custom {
	display: flex;
	align-items: center;
	padding: 12px;
	border-radius: 10px;
	text-decoration: none;
	transition: background 0.2s;
	margin-bottom: 5px;
}
.menu_item .nav-item-custom:hover {
	background-color: #fff5f5;
}
.menu_item .nav-item-custom .icon-box {
	width: 45px;
	min-width: 45px;
	aspect-ratio: 1 / 1;
	border: 1px solid #eee;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	color: var(--primary-color);
	font-size: 1.2rem;
	transition: all 0.3s;
}
.menu_item .nav-item-custom:hover .icon-box {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
}
.menu_item .nav-item-custom .text-content .title {
	display: block;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}
.menu_item .nav-item-custom .text-content .desc {
	font-size: 12px;
	color: var(--text-gray);
}

/* Item bên phải (Xếp hạng) */
.menu_item .rank-item {
	display: flex;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #f5f5f5;
	transition: transform 0.2s;
}
.menu_item .rank-item:last-child { border-bottom: none; }
.menu_item .rank-item:hover { transform: translateX(5px); }

.menu_item .rank-number {
	font-weight: 700;
	color: var(--primary-color);
	font-size: 1.2rem;
	width: 30px;
}
.menu_item .rank-logo {
	width: 100px;
	margin: 0 15px;
	text-align: center;
}
.menu_item .rank-logo img {
	max-width: 100%;
	max-height: 40px;
/*	filter: grayscale(100%);*/
	transition: filter 0.3s;
	object-fit: contain
}
.menu_item .rank-item:hover img { filter: grayscale(0); }

.menu_item .rank-info .name {
	display: block;
	font-weight: 700;
	font-size: 13px;
	color: #333;
	text-transform: uppercase;
}
.menu_item .rank-info .tagline {
	font-size: 11px;
	color: var(--text-gray);
}

/* Button */
.menu_item .btn-view-all {
	display: block;
	width: 100%;
	text-align: center;
	padding: 10px;
	border: 1px solid var(--red);
	border-radius: 8px;
	color: var(--red);
	text-decoration: none;
	font-weight: 600;
	margin-top: 20px;
	transition: all 0.3s;
}
.menu_item .btn-view-all:hover {
	background: var(--red);
	color: #fff;
}
/* Banner Footer bên trong Mega Menu */
.menu_item .menu-banner-footer {
    background: linear-gradient(90deg, #990303 0%, #d32f2f 100%), 
                url('https://your-image-path.jpg'); /* Thay bằng ảnh nền thành phố mờ */
    background-blend-mode: overlay;
    background-size: cover;
    padding: 20px 30px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Chia vách ngăn giữa các cột (tùy chọn) */
.menu_item .menu-column:not(:last-child) {
    border-right: 1px solid #f0f0f0;
    padding-right: 20px;
    padding-left: 20px;
}
.menu_item .menu-column:first-child { padding-left: 0; }
.menu_item .menu-column:last-child { padding-right: 0; }

/* Điều chỉnh lại font size cho đồng nhất */
.menu_item .menu-title {
    font-size: 15px !important;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}
/*-----------menu chủ đầu tư---------------*/
.menu_item_investor .dropdown {}
/* --- OVERRIDE WIDTH CHO MENU LỚN --- */
.menu_item_investor  .mega-menu-xl {
    max-width: 1500px !important; /* Mở rộng tối đa */
    width: 98vw !important; /* Chiếm 96% màn hình */
}

/* --- CỘT 1: SEARCH & PROMO --- */
.menu_item_investor  .search-box input {
    background-color: #f8f9fa;
    border: 1px solid #ebebeb;
    font-size: 13px;
}
.menu_item_investor  .search-box input:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}
.menu_item_investor  .shortcut-key {
    font-size: 11px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 2px 6px;
    border-radius: 4px;
    color: #888;
}
.menu_item_investor  .bg-danger-soft { background-color: #ffeaea; }
.menu_item_investor  .promo-report-box {
    background-color: #fff5f5;
    border: 1px solid #ffdbdb;
    border-radius: 12px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.menu_item_investor  .promo-report-box:hover { background-color: #ffe5e5; }

/* --- CỘT 2: CARD CHỦ ĐẦU TƯ --- */
.menu_item_investor  .dev-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: #fff;
}
.menu_item_investor  .dev-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(153, 3, 3, 0.08);
}
.menu_item_investor  .dev-rank {
    width: 30px;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.menu_item_investor  .dev-rank i { font-size: 12px; margin-bottom: -5px; }
.menu_item_investor .rank-1 { color: #d4af37; } /* Gold */
.menu_item_investor  .rank-2 { color: #c0c0c0; } /* Silver */
.menu_item_investor  .rank-3 { color: #cd7f32; } /* Bronze */

.menu_item_investor  .dev-logo {
    width: 100px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.menu_item_investor  .dev-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.menu_item_investor  .dev-type { font-size: 11px; }
.menu_item_investor  .status-badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 20px;
    font-weight: 600;
}
.menu_item_investor .status-active { background: #e6f8ec; color: #129d47; }
.menu_item_investor  .status-active i { font-size: 8px; margin-right: 3px; vertical-align: middle; }

.menu_item_investor  .dev-stats .stat-item {
    display: flex;
    flex-direction: column;
    /* margin-right: 25px; */
    position: relative;
    gap: 3px;
}
.menu_item_investor  .dev-stats .stat-item::after {
    content: '';
    position: absolute;
    right: 0px;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #eee;
}
.menu_item_investor .dev-stats .stat-item:last-of-type::after { display: none; }
.menu_item_investor .dev-stats .stat-item strong { font-size: 14px; color: #333; }
.menu_item_investor  .dev-stats .stat-item span { font-size: 11px; color: #888; }

/* --- CỘT 3: WIDGETS --- */
.menu_item_investor  .side-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.menu_item_investor  .side-item:hover { background: #fdfdfd; border-color: #ddd; }
.menu_item_investor  .side-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 12px;
}
.menu_item_investor  .side-item .badge { font-size: 9px; padding: 3px 5px; }

.menu_item_investor  .tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #444;
    font-size: 11px;
    transition: color 0.3s;
}
.menu_item_investor  .tool-icon {
    width: 45px;
    height: 45px;
    background: #fff5f5;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 8px;
    position: relative;
    transition: all 0.3s;
}
.menu_item_investor  .tool-btn:hover .tool-icon {
    background: var(--primary-color);
    color: #fff;
}
.menu_item_investor  .tool-btn:hover { color: var(--primary-color); font-weight: 600; }
.menu_item_investor  .ai-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: #fff;
    font-size: 8px;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
}

.menu_item_investor  .avatar-group img:first-child { margin-left: 0 !important; }

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .menu_item_investor  .dev-stats .stat-item { margin-right: 15px; }
    .menu_item_investor  .dev-stats .stat-item::after { right: -7.5px; }
}
/*-----------menu chủ đầu tư---------------*/

/* Responsive */
@media (max-width: 991px) {
	.menu_item .mega-menu-custom {
		min-width: 100%;
		padding: 15px;
	}
	.menu_item .menu-column-left {
		border-right: none;
		margin-bottom: 20px;
	}
    .menu_item .menu-column {
        border-right: none;
        padding: 0;
        margin-bottom: 25px;
    }
    .menu_item .menu-banner-footer {
        padding: 15px;
    }
}
/*-------end mega menu-----------*/

/*=======END HEADER=======*/
/* â”€â”€ FULL FOOTER â”€â”€ */
.pc-full-footer {
    background: linear-gradient(34deg, rgba(120, 0, 20, 1) 0%, rgba(120, 0, 20, 0.9) 76%, rgba(120, 0, 20, 0.83) 100%);
    padding: 36px 28px 0
}
.pff-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.4fr;
    gap: 28px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .15)
}
.pff-brand .logo-w {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px
}
.pff-brand .lbox {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .2);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center
}
.pff-brand .lbox svg {
    width: 22px;
    height: 22px;
    fill: #fff
}
.pff-brand .ltxt b {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .4px
}
.pff-brand .ltxt small {
    color: rgba(255, 255, 255, .6);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .5px
}
.pff-brand p {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.65;
    margin-bottom: 14px
}
.pff-socials {
    display: flex;
    gap: 8px
}
.soc-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
}
.soc-btn:hover {
    background: rgba(255, 255, 255, .35)
}
.pff-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px
}
.pff-col ul {
    list-style: none
}
.pff-col ul li {
    margin-bottom: 9px
}
.pff-col ul li a {
    color: rgba(255, 255, 255, .75);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s
}
.pff-col ul li a:hover {
    color: #fff
}
/* newsletter */
.nl-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    line-height: 1.55;
    margin-bottom: 14px
}
.nl-form {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .3)
}
.nl-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 13px;
    font-size: 13px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-family: inherit;
}
.nl-input::placeholder {
    color: rgba(255, 255, 255, .5)
}
.nl-btn {
    width: 42px;
    background: rgba(255, 255, 255, .2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}
.nl-btn:hover {
    background: rgba(255, 255, 255, .35)
}
/* footer bottom */
.pff-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.pff-bottom p {
    color: rgba(255, 255, 255, .55);
    font-size: 12px
}
.pff-bottom span {
    color: rgba(255, 255, 255, .55);
    font-size: 12px
}
.pff-bottom span b {
    color: #fff
}
/* ── Reusable dropdown slide-up + fade animation ── */
/* Apply by adding class "dropdown-fade-up" to the .dropdown wrapper */
.dropdown-fade-up > .dropdown-menu,
.dropdown-fade-down > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease,
                transform .25s cubic-bezier(.2, .7, .3, 1),
                visibility .25s;
}
.dropdown-fade-up > .dropdown-menu       { transform: translateY(12px); }
.dropdown-fade-down > .dropdown-menu     { transform: translateY(-12px); }
.dropdown-fade-up > .dropdown-menu.show,
.dropdown-fade-down > .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
/* Anchor hidden menu to its expected side so it doesn't trigger overflow
   scrollbars before Popper has positioned it on first open. */
.dropdown-fade-up > .dropdown-menu:not(.show),
.dropdown-fade-down > .dropdown-menu:not(.show) {
    inset: auto auto auto 0;
    margin: 0;
}
.dropdown-fade-up > .dropdown-menu-end:not(.show),
.dropdown-fade-down > .dropdown-menu-end:not(.show) {
    inset: auto 0 auto auto;
}
@media (prefers-reduced-motion: reduce) {
    .dropdown-fade-up > .dropdown-menu,
    .dropdown-fade-down > .dropdown-menu {
        transition: none;
        transform: none;
    }
}
/* ==========================================================================
   FOOTER
   ========================================================================== */
.auth-footer {
    background: #fff;
    border-top: 1px solid var(--bs-gray-200);
    padding: 16px 40px;
    flex-shrink: 0;
}
.auth-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
	flex-wrap: wrap
}
.auth-footer-left p {
    font-size: 12px;
    color: var(--bs-gray-500);
    margin: 0 0 4px 0;
}
.auth-footer-links {
    display: flex;
    gap: 8px;
    align-items: center;
}
.auth-footer-links a {
    font-size: 12px;
    color: var(--bs-gray-500);
    text-decoration: none;
    transition: var(--bs-transition);
}
.auth-footer-links a:hover {
    color: var(--bs-red);
}
.auth-footer-links span {
    font-size: 11px;
    color: var(--bs-gray-300);
}
.auth-footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.auth-footer-right>span {
    font-size: 12px;
    color: var(--bs-gray-500);
}
.auth-footer-socials {
    display: flex;
    gap: 8px;
}
.auth-footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bs-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-gray-600);
    font-size: 18px;
    text-decoration: none;
    transition: var(--bs-transition);
}
.auth-footer-socials a:hover {
    background: var(--bs-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}
.auth-footer-socials a:hover svg {
    fill: #FFF !important;
}

/* FAVOURITE POPUP CSS */
.favourite-modal {
  padding-right: 0 !important;
}
.fav-popup {
  background: #fff;
  border-radius: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  animation: slideLeftIn 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  border: none;
}

@keyframes slideLeftIn {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

.fav-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 0;
}

.fav-header .fav-heart-icon {
  width: 36px; height: 36px;
  border: 2px solid #c8173a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.fav-header .fav-heart-icon svg { color: #c8173a; }

.fav-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
}

.fav-header p {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
  margin-bottom: 0;
}
.fav-header .fav-close-btn {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  color: #555;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background .15s;
}
.fav-header .fav-close-btn:hover {
    background: #f2f2f2; 
}
.fav-tabs {
  display: flex;
  gap: 0;
  padding: 16px 20px 0;
  border-bottom: 1.5px solid #ebebeb;
  overflow-x: auto;
  scrollbar-width: none;
}
.fav-tabs::-webkit-scrollbar { 
    display: none;
}
.fav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
  background: none;
  border-top: none; border-left: none; border-right: none;
  font-family: inherit;
  margin-bottom: -1.5px;
}
.fav-tab.active {
  color: #c8173a;
  border-bottom-color: #c8173a;
}
.fav-tab:hover:not(.active) { color: #333; }
.fav-tab svg { opacity: .7; }
.fav-tab.active svg { opacity: 1; }

.fav-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  flex-wrap: wrap;
}

.fav-filter-chip {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #444;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.fav-filter-chip.active {
  background: #fff0f3;
  border-color: #c8173a;
  color: #c8173a;
}
.fav-filter-chip:hover:not(.active) { border-color: #bbb; }

.fav-filter-btn {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s;
}
.fav-filter-btn:hover { border-color: #bbb; }

.fav-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 8px;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
  max-height: 50vh;
}

.fav-list-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}
.fav-list-item:last-child { border-bottom: none; }
.fav-thumb {
  position: relative;
  flex-shrink: 0;
  width: 130px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #b8d4e8 0%, #7eb5d4 40%, #5a9ec4 100%);
}

.fav-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.fav-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #a8cce0 0%, #6aabcc 60%, #3d8db5 100%);
  position: relative;
  overflow: hidden;
}
.fav-thumb-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 72px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px 3px 0 0;
}
.fav-thumb-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0; left: calc(50% + 28px);
  width: 32px; height: 55px;
  background: rgba(255,255,255,0.18);
  border-radius: 3px 3px 0 0;
}

.fav-badge {
  position: absolute;
  top: 7px; left: 7px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.fav-badge.can-hot { background: #2ecc71; }
.fav-badge.gia-tot { background: #f39c12; }
.fav-badge.dang-mo-ban { background: #e67e22; }

.fav-info { flex: 1; min-width: 0; }

.fav-info-title {
  font-size: 15px;
  font-weight: 700;
  color: #c8173a;
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}
.fav-info-title:hover {
  color: #a8122f;
}
.badge-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 2px 8px rgba(34, 197, 94, .35);
    color: #FFF;
    border-radius: 3px;
}

.fav-info-project {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: #555;
  margin-bottom: 6px;
}

.fav-info-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #444;
  margin-bottom: 4px;
}

.fav-spec {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fav-info-floor {
  font-size: 12px;
  color: #777;
  margin-bottom: 10px;
}

.fav-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.fav-btn {
  padding: 6px 13px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  gap: 5px;
}
.fav-btn:hover { border-color: #c8173a; color: #c8173a; }
.fav-btn.primary {
  background: #fff;
  border-color: #c8173a;
  color: #c8173a;
}
.fav-btn.primary:hover { background: #fff0f3; }
.fav-btn.icon-only { padding: 6px 10px; }

.fav-price-save {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  min-width: 90px;
}

.fav-price-main {
  font-size: 15.5px;
  font-weight: 700;
  color: #c8173a;
  white-space: nowrap;
}

.fav-price-sqm {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}

.fav-save-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.fav-save-btn span {
  font-size: 11px;
  color: #888;
  font-family: inherit;
}

.fav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1.5px solid #ebebeb;
  background: #fafafa;
}

.fav-export-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s;
}
.fav-export-btn:hover { border-color: #aaa; }

.fav-compare-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #c8173a;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.fav-compare-btn:hover { background: #a8122f; }

.fav-dialog {
  max-width: 500px;
  width: 100%;
  margin: 0 0 0 auto;
  height: 100%;
}

@media (max-width: 767px) {
  .fav-dialog {
    margin: 0;
    max-width: 100%;
  }
  .fav-popup {
    width: 100%;
    margin: 0;
  }
  .fav-header {
    padding: 15px 15px 0;
  }
  .fav-header h2 {
    font-size: 18px;
  }
  .fav-tabs {
    padding: 10px 15px 0;
  }
  .fav-filters {
    padding: 10px 15px;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .fav-filters::-webkit-scrollbar {
    display: none;
  }
  .fav-filter-chip {
    padding: 5px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .fav-filter-btn {
    padding: 5px 12px;
    font-size: 12px;
    white-space: nowrap;
    margin-left: auto;
  }
  .fav-list {
    padding: 0 15px 8px;
  }
  .fav-list-item {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }
  .fav-thumb {
    width: 90px;
    height: 70px;
  }
  .fav-info-title {
    font-size: 14px;
  }
  .fav-info-specs {
    gap: 6px;
    font-size: 12px;
  }
  .fav-price-save {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #eee;
    padding-top: 10px;
    margin-top: 2px;
  }
  .fav-price-save > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .fav-footer {
    padding: 12px 15px;
    flex-direction: column;
    gap: 10px;
  }
  .fav-footer > button, .fav-footer > a {
    width: 100%;
    justify-content: center;
  }
	.auth-footer {
		padding: 16px 16px 40px;
	}

	.auth-footer-links {
		gap: 4px;
		flex-wrap: wrap;
	}
	.auth-footer-left {
		margin-bottom: 10px;
	}
	.auth-footer-right {
		justify-content: space-between;
		width: 100%;
		flex-wrap: wrap;
	}
}

/* ─── NOTIFICATION PANEL (SweetAlert style) ─── */
.notif-panel-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050;
    margin-top: 10px;
    display: none;
}
.notif-panel-wrapper.show {
    display: block;
}
@media (max-width: 576px) {
    .notif-panel-wrapper {
        position: fixed;
        top: 60px;
        left: 10px;
        right: 10px;
        margin-top: 0;
    }
}
.notif-panel {
    background: var(--white);
    border-radius: 16px !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .14), 0 2px 8px rgba(0, 0, 0, .06);
    overflow: hidden;
    animation: slideDown .3s cubic-bezier(.4, 0, .2, 1);
    width: 420px;
}
@media (max-width: 576px) {
    .notif-panel {
        width: calc(100% - 20px);
        border-radius: 0;
    }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Header */
.notif-panel-header {
    display: flex;
    align-items: center;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border);
}
.notif-panel-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}
.notif-panel-gear {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: none;
    border: none;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.notif-panel-gear:hover {
    background: var(--bg);
    color: var(--text);
}
/* Tabs */
.notif-tabs {
    display: flex;
    gap: 6px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.notif-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    border: none;
    background: var(--bg);
    color: var(--text-muted);
    transition: all .15s;
    cursor: pointer;
}
.notif-tab .notif-tab-count {
    min-width: 18px;
    height: 18px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.notif-tab.active {
    background: var(--red);
    color: #fff;
}
.notif-tab.active .notif-tab-count {
    background: rgba(255, 255, 255, .3);
}
.notif-tab:hover:not(.active) {
    background: #e8e8e8;
}
/* Scroll body */
.notif-panel-body {
    max-height: 480px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.notif-panel-body::-webkit-scrollbar {
    width: 4px;
}
.notif-panel-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}
/* Section label */
.notif-section-label {
    padding: 12px 20px 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-light);
}
/* Notification Item */
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
    cursor: pointer;
    position: relative;
    text-decoration: none !important;
}
.notif-item:last-child {
    border-bottom: none;
}
.notif-item:hover {
    background: #fafafa;
}
.notif-item.priority {
    background: #fff8f9;
}
.notif-item.priority:hover {
    background: #fff3f5;
}
.notif-item.unread {
    background: #fff0f3;
}
.notif-item.unread::after {
    content: '';
    position: absolute;
    top: 16px;
    right: 20px;
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
}
/* Avatar / Icon */
.notif-icon {
    width: 42px;
    height: 42px;
    border-radius: 25px;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    -khtml-border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.notif-icon.fire {
    background: #fff0f3;
}
.notif-icon.user {
    background: #e8f8ef;
}
.notif-icon.doc {
    background: #e8f0ff;
}
.notif-icon.cal {
    background: #f3e8ff;
}
.notif-icon.chart {
    background: #fff4e5;
    
}
.notif-icon.bell {
    background: #f0f4ff;
}
/* Text */
.notif-body {
    flex: 1;
    min-width: 0;
    padding-right: 16px;
}
.notif-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    line-height: 1.4;
}
.notif-title .hot-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}
.notif-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 4px;
}
.notif-time {
    font-size: 11.5px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}
/* Actions */
.notif-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
    align-items: flex-end;
    justify-content: center;
}
.notif-btn-action {
    padding: 5px 12px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .15s;
    text-decoration: none !important;
}
.notif-btn-primary {
    background: var(--red);
    border: none;
    color: #fff;
}
.notif-btn-primary:hover {
    background: var(--red-dark);
    color: #fff;
}
.notif-btn-outline {
    background: none;
    border: 1.5px solid var(--border);
    color: var(--text);
}
.notif-btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
}
/* Footer */
.notif-panel-footer {
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.notif-footer-mark {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--text-muted);
    background: none;
    border: none;
    transition: color .15s;
}
.notif-footer-mark:hover {
    color: var(--red);
}
.notif-footer-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    transition: color .15s;
    text-decoration: none;
}
.notif-footer-link:hover {
    color: var(--red);
}
/* Push CTA */
.notif-push-cta {
    background: linear-gradient(100deg, #1a2744 0%, #243358 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.notif-push-bell {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(200, 23, 58, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.notif-push-bell .badge-red {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background: var(--red);
    border-radius: 50%;
    border: 2px solid #1a2744;
}
.notif-push-text {
    flex: 1;
}
.notif-push-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}
.notif-push-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.4;
}
.notif-btn-push {
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .15s;
}
.notif-btn-push:hover {
    background: var(--red-dark);
}
/* Push CTA */
.notif-push-cta {
  background: linear-gradient(100deg, #1a2744 0%, #243358 100%);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.notif-push-bell {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(200,23,58,.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.notif-push-bell .badge-red {
  position: absolute; top: -4px; right: -4px;
  width: 14px; height: 14px;
  background: var(--red); border-radius: 50%;
  border: 2px solid #1a2744;
}
.notif-push-text { flex: 1; }
.notif-push-title { font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.notif-push-sub { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.4; }
.notif-btn-push {
  padding: 8px 18px;
  border: none; border-radius: 8px;
  background: var(--red);
  color: #fff; font-size: 13px; font-weight: 700;
  white-space: nowrap;
  transition: background .15s;
}
.notif-btn-push:hover { background: var(--red-dark); }