.table-striped>tbody>tr:nth-of-type(2n+1) {
	background-color: #F5F5F5 !important;
	border-radius: 8px !important;
}

.form .form-section-2 {
	margin: 4px 0px 4px 0px;
	padding-top: 8px;
}

.list-unstyled {
	margin-bottom: 0px !important;
	padding-top: 5px;
}

.list-unstyled>li {
	padding-bottom: 5px;
}

.price-default {
	width: 100px;
	text-align: right;
	float: right;
	font-weight: 600;
}

.biendo {
	list-style: none;
	margin: 0;
	padding: 0;
	display: table;
	width: 100%;
}

.biendo li {
	text-align: center;
	display: table-cell;
}

.checked {
	color: orange;
}

.fa-star {
	font-size: 20px;
}

.nav-tabs>li {
	margin-bottom: -1px !important;
}

.nav-border-bottom {
	border-bottom: 1px solid #F0F0F0 !important;
}

#tab_so_lenh .clone-head-table-wrap>table {
	max-width: none !important;
}

/* Đảm bảo modal hiển thị ở giữa màn hình */
#Popup_Stock.modal {
	display: none;
	overflow-y: auto;
}

/* Header thông tin cổ phiếu trong modal */
.stock-header {
	width: 100%;
	padding: 12px 12px 8px;
	background: var(--Background-Layout, #FAFAFA);
	border-bottom: 1px solid var(--Border-Stroke-1, #F0F0F0);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.stock-header-main {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.stock-header-title-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.stock-header-code {
	color: var(--Primary-Brand, #2980B9);
	font-size: 16px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	line-height: 18px;
}

.stock-header-exchange {
	color: var(--Text-Text-Primary, #000);
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
}

.stock-header-tag {
	padding: 2px 8px;
	background: var(--Background-Blue, #E5EFF7);
	border-radius: 4px;
	border: 1px solid var(--Primary-Border-Blue, #CADFEE);
	display: inline-flex;
	align-items: center;
}

.stock-header-tag span {
	color: var(--Primary-Brand, #2980B9);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

.stock-header-desc {
	color: #434343;
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

.stock-header-icon-btn {
	width: 24px;
	height: 24px;
	border-radius: 6px;
	border: 1px solid #E0E0E0;
	background: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.stock-header-icon {
	width: 13px;
	height: 13px;
	background: var(--Primary-Icon-Black, #000);
	border-radius: 3px;
}

#Popup_Stock.modal.show,
#Popup_Stock.modal.in {
	display: block !important;
}

#Popup_Stock .modal-dialog {
	margin: 30px auto !important;
	position: relative;
	max-width: 1000px;
}

/* Style cho modal content theo design mới */
#Popup_Stock .modal-content {
	border-radius: 8px;
	background: var(--Background-Elevated, #FFF);
	box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),
		0 3px 6px -4px rgba(0, 0, 0, 0.12),
		0 9px 28px 8px rgba(0, 0, 0, 0.05);
}

/* Stock info panel styles */
.stock-info-panel {
	width: 100%;
	height: 100%;
	background: var(--Background-White, white);
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: nowrap;
	overflow: hidden;
}

.stock-price-box {
	padding: 12px;
	background: var(--Background-Blue, #E5EFF7);
	border-radius: 4px;
	display: flex;
	align-items: flex-end;
	gap: 18px;
	flex-shrink: 0;
}

.stock-price-main {
	width: 76px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.stock-price-value {
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
}

.stock-price-value.positive {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.stock-price-value.negative {
	color: var(--Colors-Color-Price-Price-Down, #F5222D);
}

.stock-price-value.neutral {
	color: var(--Text-Text-Primary, #000);
}

.stock-price-change {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.stock-price-change svg {
	display: inline-block;
	flex-shrink: 0;
	width: 12px;
	height: 12px;
}

.stock-price-change.positive {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.stock-price-change.negative {
	color: var(--Colors-Color-Price-Price-Down, #F5222D);
}

.stock-price-change.neutral {
	color: var(--Text-Text-Primary, #000);
}

.stock-price-change-value {
	text-align: right;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	flex-shrink: 0;
}

.stock-price-stats {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
	padding-bottom: 2px;
}

.stock-price-stat-item {
	min-width: 38px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-shrink: 0;
}

.stock-price-stat-label {
	color: var(--Text-Text-Secondary, #595959);
	font-size: 10px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	white-space: nowrap;
	line-height: 1;
}

.stock-price-stat-value {
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	white-space: nowrap;
	line-height: 1;
}

.stock-price-stat-value.san {
	color: var(--Colors-Color-Price-Price-Min, #088DB7);
}

.stock-price-stat-value.tc {
	color: var(--Colors-Color-Price-Price-Fix, #E78B03);
}

.stock-price-stat-value.tran {
	color: var(--Colors-Color-Price-Price-Max, #BE00BE);
}

.stock-price-stat-value.thap {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.stock-price-stat-value.tb {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.stock-price-stat-value.cao {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.stock-info-middle {
	align-self: stretch;
	padding: 12px 8px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 1;
	flex-wrap: nowrap;
	min-width: 0;
	flex: 1 1 auto;
}

.stock-info-item {
	width: 22%;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex-shrink: 0;
}

.stock-info-item.gtgf {
	width: auto;
	flex-shrink: 0;
}

.stock-info-item.gtgd {
	width: 28%;
}

.stock-info-label {
	color: var(--Text-Text-Secondary, #595959);
	font-size: 10px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	white-space: nowrap;
	line-height: 1;
}

.stock-info-value {
	color: var(--Text-Text-Primary, black);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	white-space: nowrap;
	line-height: 1;
	overflow: hidden;
	text-overflow: ellipsis;
}

.stock-info-value.gtgf {
	max-width: 100%;
}

.stock-range-section {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: center;
	min-width: 280px;
	max-width: 350px;
}

.stock-range-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.stock-range-label {
	width: 85px;
	color: var(--Text-Text-Secondary, #595959);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
}

.stock-range-control {
	flex: 1 1 0;
	height: 16px;
	padding: 8px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.stock-range-value {
	width: 50px;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

.stock-range-value.low {
	color: var(--Colors-Color-Price-Price-Down, #F5222D);
}

.stock-range-value.high {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.stock-range-value.neutral {
	color: var(--Text-Text-Primary, black);
}

.stock-range-slider {
	flex: 1 1 0;
	height: 6px;
	background: var(--Border-Border-1, #F0F0F0);
	border-radius: 32px;
	position: relative;
	overflow: visible;
}

.stock-range-slider-track {
	height: 6px;
	border-radius: 100px;
	position: absolute;
	left: 0;
	top: 0;
	background: var(--Primary-Icon-Warning, #FAAD14);
}

.stock-range-marker {
	width: 2px;
	height: 6px;
	background: var(--Primary-Icon-Warning, #FAAD14);
	position: absolute;
}

.stock-range-marker-dot {
	width: 10px;
	height: 5px;
	background: var(--Primary-Icon-Warning, #FAAD14);
	border-radius: 1px;
	position: absolute;
}

/* Financial health indicator */
.financial-health {
	width: 100%;
	height: 100%;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
}

.financial-health-title {
	color: #000;
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 700;
	word-wrap: break-word;
	padding-bottom: 10px;
}

/* Technical analysis indicator */
.technical-analysis {
	width: 100%;
	height: 100%;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
}

.technical-analysis-title {
	color: #000;
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 700;
	word-wrap: break-word;
}

.technical-analysis-content {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Fair value indicator */
.fair-value {
	width: 100%;
	height: 100%;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
}

.fair-value-title {
	color: #000;
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 700;
	word-wrap: break-word;
}

.fair-value-content {
	width: 100%;
}

/* Expert opinion indicator */
.expert-opinion {
	width: 100%;
	height: 100%;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
}

.expert-opinion-title {
	color: #000;
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 700;
	word-wrap: break-word;
}

.expert-opinion-content {
	width: 100%;
}

/* Volatility level indicator */
.volatility-level {
	width: 100%;
	height: 100%;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
}

.volatility-level-title {
	color: #000;
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 700;
	word-wrap: break-word;
}

.volatility-level-content {
	width: 100%;
}

/* Liquidity indicator */
.liquidity {
	width: 100%;
	height: 100%;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
}

.liquidity-title {
	color: #000;
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 700;
	word-wrap: break-word;
}

.liquidity-content {
	width: 100%;
}

/* Rất cao (thanh khoản) - Dark green variant */
.indicator-badge-green-variant {
	background: var(--Colors-green-1, #E3F4EF);
}

.indicator-badge-text-green-variant {
	color: #147D5D;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

.financial-health-track {
	width: 100%;
	height: 34px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 2px;
}

.financial-health-range {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.financial-health-range:hover {
	opacity: 0 !important;
}

.slider-stock.financial-health-range:hover {
	opacity: 0 !important;
}

.financial-health-bar {
	flex: 1 1 0;
	height: 4px;
	border-radius: 2px;
}

.financial-health-bar--1 {
	background: #FF4D4F;
}

.financial-health-bar--2 {
	background: #FFA940;
}

.financial-health-bar--3 {
	background: #FADB14;
}

.financial-health-bar--4 {
	background: #54BD9D;
}

.financial-health-bar--5 {
	background: #1AA67C;
}

.financial-health-tooltip {
	position: absolute;
	left: 0;
	top: -20px;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 10;
}

.financial-health-tooltip-inner {
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
	left: 0;
	top: 0;
	transform: translateX(0);
	transition: transform 0.2s ease-out;
}

.financial-health-tooltip-box {
	box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 15%);
	border-radius: 6px;
	padding: 4px 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #FFFFFF;
}

.financial-health-tooltip-text {
	color: #1AA67C;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	word-wrap: break-word;
}

.financial-health-tooltip-arrow {
	width: 10px;
	height: 6px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.financial-health-tooltip-arrow img {
	display: block;
	width: 10px;
	height: 5px;
}

/* Căn giữa modal khi mới hiển thị (trước khi drag) */
#Popup_Stock.modal:not(.ui-draggable-dragging) .modal-dialog {
	top: 50%;
	transform: translateY(-50%);
	margin-top: 0 !important;
}

#Popup_Stock.modal.show:not(.ui-draggable-dragging) .modal-dialog,
#Popup_Stock.modal.in:not(.ui-draggable-dragging) .modal-dialog {
	transform: translateY(-50%);
}

/* Khi đang drag, không áp dụng transform */
#Popup_Stock.modal.ui-draggable-dragging .modal-dialog {
	transform: none !important;
	top: auto !important;
}

@media (max-height: 600px) {
	#Popup_Stock .modal-dialog {
		margin: 10px auto !important;
		top: 0 !important;
		transform: none !important;
	}

	#Popup_Stock.modal.show .modal-dialog,
	#Popup_Stock.modal.in .modal-dialog {
		transform: none !important;
	}
}

/* Ẩn các tab không cần thiết - chỉ giữ lại Tổng quan, Phân tích, Hồ sơ */
#Popup_Stock .nav-tabs li:nth-child(3),
#Popup_Stock .nav-tabs li:nth-child(4) {
	display: none !important;
}


#tong_quan_left {
	padding-left: 10px !important;
	padding-right: 10px !important;
}

/* Common indicator styles - extracted from inline styles */
.indicator-container {
	width: 100%;
	height: 100%;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 12px;
	display: inline-flex;
}

.indicator-header-row {
	align-self: stretch;
	justify-content: space-between;
	align-items: center;
	display: inline-flex;
}

.indicator-title-text {
	color: black;
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	word-wrap: break-word;
}

.indicator-badge {
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 4px;
	padding-bottom: 4px;
	border-radius: 4px;
	outline-offset: -1px;
	justify-content: flex-start;
	align-items: center;
	gap: 4px;
	display: flex;
}

/* Badge colors matching the 5-level financial health chart */
/* Using project's standard color variables */

/* Rất cao - Red */
.indicator-badge-red {
	background: var(--Colors-red-1, #FFF1F0);
}

/* Cao - Orange */
.indicator-badge-orange {
	background: var(--Colors-orange-1, #FFF7E6);
}

/* Hợp lý - Yellow */
.indicator-badge-yellow {
	background: var(--Colors-yellow-1, #FEFFE6);
}

/* Thấp - Light Green #54BD9D */
.indicator-badge-light-green {
	background: #E8F5F1;
}

/* Rất thấp - Dark Green */
.indicator-badge-green {
	background: var(--Colors-green-1, #E3F4EF);
}

/* Chưa xác định - Gray */
.indicator-badge-gray {
	background: #F5F5F5;
}

/* Text classes matching the 5-level financial health chart */

/* Rất cao - Red */
.indicator-badge-text-red {
	color: #FF4D4F;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

/* Cao - Orange */
.indicator-badge-text-orange {
	color: var(--Colors-orange-6, #FA8C16);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

/* Hợp lý - Yellow */
.indicator-badge-text-yellow {
	color: var(--Colors-yellow-7, #D4B106);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

/* Thấp - Light Green */
.indicator-badge-text-light-green {
	color: #54BD9D;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

/* Rất thấp - Dark Green */
.indicator-badge-text-green {
	color: var(--Colors-green-6, #147D5D);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

/* Chưa xác định - Gray */
.indicator-badge-text-gray {
	color: #8C8C8C;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

.indicator-content-column {
	align-self: stretch;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 4px;
	display: flex;
}

.indicator-row {
	align-self: stretch;
	justify-content: space-between;
	align-items: flex-start;
	display: inline-flex;
}

.indicator-label {
	color: var(--Text-Text-Secondary, #595959);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

.indicator-value {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	word-wrap: break-word;
}

.indicator-value-neutral {
	color: var(--Text-Text-Primary, black);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

.indicator-change-container {
	justify-content: flex-start;
	align-items: center;
	gap: 2px;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
}

.indicator-change-icon {
	width: 12px;
	height: 12px;
	position: relative;
	overflow: hidden;
}

.indicator-change-icon-dot {
	width: 6.75px;
	height: 6.75px;
	left: 2.63px;
	top: 2.63px;
	position: absolute;
	background: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.indicator-change-value {
	text-align: right;
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

.indicator-value-container {
	justify-content: flex-start;
	align-items: center;
	gap: 2px;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
}

/* Technical analysis specific */
.technical-analysis-badge-container {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-direction: row;
}

.technical-analysis-badge {
	padding: 6px 12px;
	background: var(--Background-Layout-2, #F5F5F5);
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.technical-analysis-badge-text {
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	word-wrap: break-word;
}

.technical-analysis-badge-text.strong-increase {
	color: #1AA67C !important;
}

.technical-analysis-badge-text.increase {
	color: #54BD9D !important;
}

.technical-analysis-badge-text.average {
	color: #FADB14 !important;
}

.technical-analysis-badge-text.decrease {
	color: #FFA940 !important;
}

.technical-analysis-badge-text.strong-decrease {
	color: #FF4D4F !important;
}

#chart_rsi_symbol {
	width: 110px;
	height: 70px;
}

/* Modal dialog and body styles */
.modal-dialog.modal-full {
	width: 1200px;
	height: auto;
	overflow: clip;
	margin: 30px auto;
	max-width: 95%;
}

/* Consultation modal sizing */
#Popup_Consultation .modal-dialog {
	width: 1200px;
	max-width: 1200px;
	margin: 30px auto;
	/* ensure vertical centering when combined with modal-dialog-centered */
	display: flex;
	align-items: center;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 11000 !important;
}

#Popup_Consultation .modal-content {
	margin: 0 auto;
	max-height: calc(100vh - 80px);
	overflow: auto;
}

.modal-content {
	height: 100%;
}

.modal-header {
	padding: 0;
}

.stock-range-value.floor {
	color: red;
}

.stock-range-value.ceiling {
	color: #1AA67C;
}

.stock-header-title-row-inner {
	display: flex;
	align-items: center;
	gap: 4px;
}

.modal-close-btn {
	margin: 0 4px 0 0;
}

.modal-body {
	height: calc(100% - 80px) !important;
	overflow: auto;
	padding-top: 5px;
	padding-bottom: 0px;
}

.tabs-row {
	margin-top: 16px;
}

.nav-tabs li {
	margin-right: 15px !important;
}

.nav-tabs li a {
	padding: 5px 0px !important;
}

.form-body {
	padding-top: 0px;
}

/* Range slider styles */
.stock-range-slider img {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 16px;
}

/* Consultation button */
.consultation-button {
	padding-left: 12px;
	padding-right: 12px;
	padding-top: 8px;
	padding-bottom: 8px;
	background: linear-gradient(134deg, #2A99E2 0%, #691DFF 100%);
	border-radius: 4px;
	justify-content: center;
	align-items: center;
	gap: 8px;
	display: inline-flex;
	cursor: pointer;
	border: none;
}

.consultation-button:hover {
	opacity: 0.9;
}

.consultation-button-inner {
	justify-content: center;
	align-items: center;
	gap: 8px;
	display: flex;
}

.consultation-button-text {
	text-align: center;
	justify-content: center;
	display: flex;
	flex-direction: column;
	color: var(--Text-Text-White, white);
	font-size: 16px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	line-height: 18px;
	word-wrap: break-word;
}

/* Consultation modal */
.consultation-modal {
	border-radius: 12px;
	overflow: hidden;
	border: 0;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.consultation-body {
	background: #fff;
	padding: 12px 16px 16px 16px;
}

.consultation-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 4px 16px 4px;
}

.consultation-title {
	font-size: 14px;
	font-weight: 600;
	color: #000;
}

.consultation-badge {
	font-size: 12px;
	color: #0958D9;
	border: 1px solid #4096FF;
	border-radius: 4px;
	padding: 4px 10px;
	background: #F0F7FF;
}

.consultation-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 16px;
	padding: 0 4px;
}

.consultation-card {
	border-radius: 10px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-height: 340px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ai-card {
	background: linear-gradient(136deg, #EFF6FF 5%, #FFFFFF 100%);
}

.expert-card {
	background: linear-gradient(136deg, #EAF4FF 5%, #FFFFFF 100%);
}

.consultation-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.consultation-card-title {
	font-size: 28px;
	font-weight: 700;
	color: #111827;
	line-height: 1.2;
}

.consultation-card-price {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
}

.price-number {
	font-size: 30px;
	font-weight: 600;
	color: #111827;
}

.price-suffix {
	font-size: 16px;
	font-weight: 500;
	color: #111827;
}

.consultation-card-desc {
	font-size: 14px;
	color: #111827;
	line-height: 1.5;
}

.consultation-card-sub {
	font-size: 14px;
	color: #4B5563;
}

.consultation-actions {
	display: flex;
	gap: 10px;
	margin-top: auto;
}

.consultation-btn {
	min-width: 130px;
	border-radius: 6px !important;
	height: 38px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-family: Inter, sans-serif;
	font-weight: 400;
	line-height: 22px;
	color: var(--Text-Text-88, #111827);
	background: #fff;
	border: 1px solid #d9d9d9;
}

.consultation-btn.gradient {
	background: linear-gradient(134deg, #2A99E2 0%, #691DFF 100%) !important;
	border: none !important;
	color: #fff !important;
	box-shadow: 0 8px 24px rgba(42, 153, 226, 0.25);
	opacity: 1 !important;
	pointer-events: auto;
}

.consultation-btn.gradient:hover {
	opacity: 0.92;
	color: #fff !important;
}

.consultation-footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 16px;
	padding: 0 4px;
}

.consultation-footer .consultation-btn {
	height: 32px;
	min-width: 90px;
	padding: 0 12px;
	font-size: 13px;
}

.consultation-illustration {
	width: 160px;
	height: 140px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	flex-shrink: 0;
}

.ai-illustration {
	background-image: url('/assets/frontend/layout/img/Bill_empty.svg');
}

.expert-illustration {
	background-image: url('/assets/frontend/layout/img/User_empty.svg');
}

/* New Stock Price Box UI */
.stock-price-box-new {
	width: 100%;
	height: 100%;
	border-radius: 4px;
	display: inline-flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 8px;
}

.stock-price-main-row {
	align-self: stretch;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
}

.stock-price-value-new {
	font-size: 20px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	line-height: 24px;
	word-wrap: break-word;
}

.stock-price-value-new.positive {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.stock-price-value-new.negative {
	color: var(--Colors-Color-Price-Price-Down, #F5222D);
}

.stock-price-value-new.neutral {
	color: var(--Colors-Color-Price-Price-Fix, #E78B03);
}

.stock-price-change-row {
	flex: 1 1 0;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
	align-content: center;
}

.stock-price-change-row.positive {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.stock-price-change-row.negative {
	color: var(--Colors-Color-Price-Price-Down, #F5222D);
}

.stock-price-change-row.neutral {
	color: var(--Colors-Color-Price-Price-Fix, #E78B03);
}

.stock-price-change-abs,
.stock-price-change-pct {
	text-align: right;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

.stock-price-levels {
	display: inline-flex;
	justify-content: flex-start;
	align-items: center;
	gap: 12px;
}

.stock-price-level {
	display: inline-flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 4px;
}

.stock-price-level-value {
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

.stock-price-level.san .stock-price-level-value {
	color: var(--Colors-Color-Price-Price-Min, #088DB7);
}

.stock-price-level.tc .stock-price-level-value {
	color: var(--Colors-Color-Price-Price-Fix, #E78B03);
}

.stock-price-level.tran .stock-price-level-value {
	color: var(--Colors-Color-Price-Price-Max, #BE00BE);
}

/* Index stock colors: floor is red (like price down), ceiling is green (like price up) */
.stock-price-level.index-floor .stock-price-level-value {
	color: var(--Colors-Color-Price-Price-Down, #F5222D);
}

.stock-price-level.index-ceiling .stock-price-level-value {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.stock-price-updated {
	color: black;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

/* New Stock Info Panel Layout */
.stock-info-panel-new {
	width: 100%;
	height: 100%;
	background: var(--Background-White, white);
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
}

.stock-info-left {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 24px;
}

/* New Range Section */
.stock-range-section-new {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
}

.stock-range-item-new {
	align-self: stretch;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
}

.stock-range-label-new {
	width: 110px;
	color: var(--Text-Text-Secondary, #595959);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	word-wrap: break-word;
}

.stock-range-control-new {
	flex: 1;
	padding-top: 8px;
	padding-bottom: 8px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 8px;
}

.stock-range-value-new {
	width: 40px;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

.stock-range-value-new.down {
	color: var(--Colors-Color-Price-Price-Down, #F5222D);
}

.stock-range-slider-new {
	width: 120px;
	height: 6px;
	background: #F5F5F5;
	border-radius: 4px;
	position: relative;
	margin: 0 8px;
}

.stock-range-track {
	height: 100%;
	background: #2F80ED;
	border-radius: 4px;
	position: relative;
}

.stock-range-track::before {
	content: '';
	position: absolute;
	right: -4px;
	top: -5px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #FAAD14;
}

.stock-range-track::after {
	content: '';
	position: absolute;
	right: -4px;
	bottom: -5px;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-bottom: 5px solid #FAAD14;
}

.stock-range-value-new.up {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.stock-range-value-new.neutral {
	color: var(--Text-Text-Primary, black);
}

.stock-range-slider-new {
	flex: 1 1 0;
	height: 6px;
	background: var(--Border-Border-1, #F0F0F0);
	border-radius: 32px;
	position: relative;
}

.stock-range-track {
	height: 6px;
	background: var(--Primary-Brand, #2980B9);
	border-radius: 100px;
	position: absolute;
	left: 0;
	top: 0;
}

/* Action Buttons Section */
.stock-info-actions {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	gap: 8px;
	overflow: visible;
	/* Ensure dropdowns are not clipped */
}

.btn-consultation-expert {
	height: 32px;
	padding: 8px 12px;
	background: linear-gradient(134deg, #2A99E2 0%, #691DFF 100%);
	border-radius: 4px;
	border: none;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	color: var(--Text-Text-White, white);
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	cursor: pointer;
	transition: opacity 0.2s;
}

.btn-consultation-expert:hover {
	opacity: 0.92;
}

.btn-follow-dropdown {
	position: relative;
}

.btn-follow {
	height: 32px;
	padding: 8px;
	background: var(--Text-Text-White, white);
	border-radius: 4px;
	border: 1px solid var(--Border-Border-2, #D9D9D9);
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	color: rgba(0, 0, 0, 0.88);
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	cursor: pointer;
	transition: border-color 0.2s;
}

.btn-follow:hover {
	border-color: var(--Primary-Brand, #2980B9);
}

.btn-follow svg {
	width: 12px;
	height: 12px;
}

/* Modal Footer Disclaimer */
.stock-modal-footer {
	width: 100%;
	padding: 8px 16px !important;
	background: var(--Background-White, white);
	border-top: 1px solid var(--Border-Stroke-1, #F0F0F0) !important;
	display: inline-flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
}

.stock-disclaimer-text {
	flex: 1 1 0;
	text-align: center;
	color: #434343;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}

/* Tổng Quan Tab New Layout */
.tong-quan-container {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	gap: 8px;
	padding-bottom: 8px;
	height: 480px;
}

.tong-quan-sidebar {
	padding: 12px;
	background: rgba(16, 16, 16, 0.10);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 360px;
	flex-shrink: 0;
	overflow-y: auto;
}

.tong-quan-chart {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	border-radius: 4px;
	gap: 8px;
}

.chart-container {
	width: 100%;
	height: 360px;
	flex: none;
	background: white;
	overflow: hidden;
	border-radius: 4px 4px 0 0;
	border: 0.5px solid var(--Border-Stroke-1, #F0F0F0);
}

#tv_chart_symbol {
	width: 100%;
	height: 100%;
}

/* Indicator Sections */
.indicator-section {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.indicator-section-title {
	color: black;
	font-size: 14px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	word-wrap: break-word;
}

.indicator-section-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.trend-content {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-end;
	gap: 40px;
}

/* Popup RSI Container - Matches left sidebar RSI chart layout */
.popup-rsi-container {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-width: 0;
}

.popup-rsi-container .stats-card {
	cursor: default;
}

.popup-rsi-gauge-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.popup-stats-cards-grid {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	align-content: center;
	min-width: 0;
}

.popup-stats-cards-grid .stats-card:hover {
	border-color: var(--Border-Stroke-Brand-Light, #CADFEE);
	box-shadow: none;
}

.trend-gauge {
	width: 140px;
	height: 70px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.trend-badge {
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	background: var(--Colors-green-1, #E3F4EF);
	color: var(--Colors-green-6, #147D5D);
}

.trend-badge.bullish {
	background: var(--Colors-green-1, #E3F4EF);
	color: var(--Colors-green-6, #147D5D);
}

.trend-badge.bearish {
	background: var(--Colors-red-1, #FFF1F0);
	color: #FF362F;
}

.trend-badge.neutral {
	background: var(--Colors-yellow-1, #FEFFE6);
	color: var(--Colors-yellow-7, #D4B106);
}

/* Financial Health New */
.financial-health-new {
	width: 100%;
	position: relative;
	padding-top: 40px;
}

.financial-health-track-new {
	display: flex;
	align-items: center;
	gap: 2px;
}

.financial-health-bar-new {
	flex: 1 1 0;
	height: 4px;
	border-radius: 2px;
}

.financial-health-bar-new.bar-1 {
	background: var(--Colors-red-5, #FF4D4F);
}

.financial-health-bar-new.bar-2 {
	background: var(--Colors-orange-5, #FFA940);
}

.financial-health-bar-new.bar-3 {
	background: var(--Colors-yellow-6, #FADB14);
}

.financial-health-bar-new.bar-4 {
	background: var(--Colors-green-4, #54BD9D);
}

.financial-health-bar-new.bar-5 {
	background: var(--Colors-green-5, #1AA67C);
}

.financial-health-tooltip-new {
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.financial-health-tooltip-box-new {
	background: var(--Background-White, white);
	border-radius: 6px;
	padding: 4px 8px;
	box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05);
	white-space: nowrap;
}

.financial-health-tooltip-text-new {
	color: var(--Colors-green-5, #1AA67C);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
	white-space: nowrap;
}

.financial-health-tooltip-text-gray {
	color: #8C8C8C !important;
}

.financial-health-tooltip-arrow-new {
	width: 10px;
	height: 6px;
	background: var(--Background-White, white);
	clip-path: polygon(50% 100%, 0 0, 100% 0);
}

/* Indicator Section Header */
.indicator-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.indicator-section-title-row {
	display: flex;
	align-items: center;
	gap: 4px;
}

.pro-badge {
	padding: 4px 8px;
	background: #E6F7F1;
	border-radius: 4px;
	border: 1px solid #B3E6D3;
	color: #1AA67C;
	font-size: 10px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
}

.indicator-badge-cyan {
	padding: 4px 8px;
	background: #E6FFFB;
	border-radius: 4px;
	color: #006D75;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

.indicator-badge-text-cyan {
	color: #006D75;
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

.indicator-badge-green {
	padding: 4px 8px;
	background: var(--Colors-green-1, #E3F4EF);
	border-radius: 4px;
	color: var(--Colors-green-6, #147D5D);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

.indicator-badge-orange {
	padding: 4px 8px;
	background: var(--Colors-orange-1, #FFF7E6);
	border-radius: 4px;
	color: var(--Colors-orange-6, #FA8C16);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

.indicator-detail-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.indicator-detail-label {
	color: var(--Text-Text-Secondary, #595959);
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

.indicator-detail-value {
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
}

.indicator-detail-value.positive {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.indicator-detail-value.negative {
	color: var(--Colors-Color-Price-Price-Down, #F5222D);
}

.indicator-detail-value.neutral {
	color: #141414;
}

.indicator-detail-value .unit {
	color: #434343;
	font-size: 10px;
	font-weight: 400;
}

/* Performance Bar */
.performance-bar {
	align-self: stretch;
	padding: 0 12px;
	border-radius: 4px;
	border: 1px solid var(--Border-Stroke-2, #D9D9D9);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.performance-item {
	width: 60px;
	padding: 6px 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2px;
}

.performance-label {
	color: var(--Text-Text-Secondary, #595959);
	font-size: 10px;
	font-family: Roboto, sans-serif;
	font-weight: 400;
}

.performance-value {
	font-size: 12px;
	font-family: Roboto, sans-serif;
	font-weight: 500;
}

.performance-value.positive {
	color: var(--Colors-Color-Price-Price-Up, #1AA67C);
}

.performance-value.negative {
	color: var(--Colors-Color-Price-Price-Down, #F5222D);
}

.performance-value.neutral {
	color: var(--Colors-Color-Price-Price-Fix, #E78B03);
}

.performance-value.ceiling {
	color: var(--Colors-Color-Price-Price-Max, #BE00BE);
}

.performance-value.floor {
	color: var(--Colors-Color-Price-Price-Min, #088DB7);
}

.performance-divider {
	width: 1px;
	height: 24px;
	background: var(--Border-Stroke-2, #D9D9D9);
}

/* Watchlist Toggle Styles */
.btn-follow.following {
	background-color: #E3F4EF;
	border-color: #E3F4EF;
	color: #147D5D;
}

.btn-follow-dropdown-menu {
	width: 200px;
	padding: 8px 0;
	margin-top: 4px;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border: 1px solid #f0f0f0;
}

.btn-follow-dropdown-menu li>a {
	display: flex;
	align-items: center;
	padding: 8px 16px;
	color: #262626;
	font-size: 13px;
	gap: 8px;
}

.btn-follow-dropdown-menu li>a:hover {
	background-color: #f5f5f5;
	text-decoration: none;
}

.btn-follow-dropdown-menu .check-icon {
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-follow-dropdown-menu .dropdown-header {
	padding: 8px 16px;
	font-size: 12px;
	color: #999;
}

/* Ensure dropdown parent allows positioning */
.btn-follow-dropdown {
	position: relative;
	display: inline-block;
}

/* Force show menu when parent has open class */
.btn-follow-dropdown.open .btn-follow-dropdown-menu {
	display: block;
	position: absolute;
	top: 100%;
	right: 0;
	/* Align right */
	background-color: white;
	z-index: 1000;
}

/* Overrides to fix clipping issues */
.btn-follow-dropdown-menu {
	width: 240px !important;
	/* Increase width */
	max-width: 300px;
	white-space: nowrap;
}

.stock-header {
	overflow: visible !important;
	/* Ensure header doesn't clip */
}

/* Ultimate fix for dropdown visibility */
.btn-follow-dropdown-menu {
	z-index: 99999 !important;
	/* Always on top */
	min-width: 240px;
	width: auto !important;
	/* Allow auto width */
}

.stock-info-panel,
.stock-header,
.stock-info-actions,
.stock-info-left,
.stock-info-right {
	overflow: visible !important;
	z-index: auto;
	/* Reset z-index context if needed */
}

/* Ensure modal content allows overflow if needed */
#Popup_Stock .modal-content {
	overflow: visible !important;
}

/* Custom Range Slider Styles */
.range-slider-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin-top: 15px;
}

.range-row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.range-label {
	width: 100px;
	/* User requested 100px */
	color: #595959;
	flex-shrink: 0;
	font-weight: 500;
	font-size: 13px;
}

.range-slider-wrapper {
	display: flex;
	align-items: center;
	flex: 1;
	width: 100%;
	/* Ensure full width in flex container */
	gap: 10px;
}

.range-val {
	font-size: 13px;
	font-weight: 500;
	min-width: 50px;
}

.range-val.left {
	text-align: right;
}

.range-val.right {
	text-align: left;
}

.range-val.red {
	color: #F5222D;
}

.range-val.green {
	color: #1AA67C;
}

.range-val.neutral {
	color: #262626;
}

.custom-range-slider {
	position: relative;
	width: 130px;
	/* Fixed width 130px as requested */
	flex: none;
	/* Prevent flexing */
	height: 6px;
	margin: 0 8px;
}

.range-track {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #D9D9D9;
	/* Darker grey as requested */
	border-radius: 4px;
	z-index: 1;
}

.range-bar {
	position: absolute;
	top: 0;
	bottom: 0;
	background-color: #2980B9;
	border-radius: 4px;
	z-index: 2;
	min-width: 4px;
	/* Ensure visibility */
}

/* Orange Triangles Indicator */
.current-price-indicator {
	position: absolute;
	top: 50%;
	width: 10px;
	/* Width of the indicator area */
	height: 20px;
	margin-left: -5px;
	/* Center perfectly on the percentage point */
	margin-top: -10px;
	z-index: 100;
	pointer-events: none;
}

/* Top Triangle (pointing down) */
.current-price-indicator::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #FA8C16;
}

/* Bottom Triangle (pointing up) */
.current-price-indicator::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 6px solid #FA8C16;
}