/* THANH THÔNG TIN LIÊN HỆ (TOP BAR) */
.custom-top-bar {
	font-size: 12px;
	width: 100%;
	box-sizing: border-box;
}

.top-bar-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 15px;
}

.top-bar-item {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.top-bar-item a {
	color: inherit;
	text-decoration: none;
}

.top-bar-item a:hover {
	color: var(--color-blue);
}

.top-bar-separator {
	color: #2e3e56;
	font-weight: 300;
	user-select: none;
}

/* Icon nhấp nháy */
.dot-icon {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation: pulse-animation 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.top-bar-icon {
	color: var(--color-blue);
	font-size: 14px;
}

.top-bar-label {
	color: var(--color-silver-blue);
	font-weight: 500;
}

.top-bar-value {
	color: var(--color-white);
	font-weight: 600;
}

/* Responsive cho Top Bar trên màn hình nhỏ */
@media (max-width: 991px) {
	.top-bar-separator {
		display: none;
	}
	
	.top-bar-container {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}
	
	.top-bar-item {
		white-space: normal;
		justify-content: center;
	}
}


/* THANH MENU CHÍNH (NAVIGATION BAR) */
/* Đưa các ô về sát nhau tạo thành khối liên tục */
#wide-nav .header-nav {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

/* Định dạng từng ô menu (li) */
#wide-nav .header-nav > li {
    margin: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    height: 100%;
}

/* Bỏ đường gạch dọc ở ô cuối cùng */
#wide-nav .header-nav > li:last-child {
    border-right: none;
}

/* Định dạng liên kết bên trong ô */
#wide-nav .header-nav > li > a {
    color: var(--color-white);
    font-size: 13px;
	font-family: 'Inter 24';
    font-weight: 600;
    text-transform: uppercase;
    padding: 18px 20px !important;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
    height: 100%;
}

/* Hiệu ứng khi di chuột qua menu */
#wide-nav .header-nav > li > a:hover {
    background: #2d3c5a;
}

/* Trạng thái Active - Nổi bật ô của trang hiện tại đang xem */
#wide-nav .header-nav > li.current-menu-item,
#wide-nav .header-nav > li.current_page_item,
#wide-nav .header-nav > li.current-menu-ancestor,
#wide-nav .header-nav > li.active {
    background-color: #2d3c5a !important;
}

#wide-nav .header-nav > li.current-menu-item > a,
#wide-nav .header-nav > li.current_page_item > a,
#wide-nav .header-nav > li.current-menu-ancestor > a,
#wide-nav .header-nav > li.active > a {
    color: var(--color-light-blue) !important;
}

/* Định dạng khoảng cách riêng cho ô Trang chủ (Home) */
#wide-nav .header-nav > li.menu-item-home > a {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Khoảng cách cho icon mũi tên ở các menu có cấp con */
#wide-nav .header-nav > li.menu-item-has-children > a {
    padding-right: 25px !important;
}

#wide-nav .header-nav > li.menu-item-has-children > a i {
    margin-left: 6px;
    font-size: 10px;
    opacity: 0.8;
}