/* Filter Loading Styles */
.business.loading {
	opacity: 0.7;
	pointer-events: none;
}

.spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid #f3f3f3;
	border-top: 3px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.no-results {
	padding: 2rem;
	text-align: center;
}

.no-results p {
	margin-bottom: 0.5rem;
}

/* Filter form improvements */
#business-model-filter select {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
}

#business-model-filter .advanced-content-item-content-item {
	margin-bottom: 0.5rem;
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

#business-model-filter .advanced-content-item-content-item:hover {
	background-color: #f8f9fa;
}

#business-model-filter .advanced-content-item-content-item input[type="radio"] {
	margin-right: 0.5rem;
	cursor: pointer;
}

#business-model-filter .advanced-content-item-content-item input[type="radio"]:checked + label {
	font-weight: bold;
	color: #f3781d;
}

/* Add visual indicator for uncheckable radio */
#business-model-filter .advanced-content-item-content-item input[type="radio"]:checked {
	position: relative;
}

/* #business-model-filter
  .advanced-content-item-content-item
  input[type="radio"]:checked::after {
  content: "✓";
  position: absolute;
  top: -2px;
  right: -2px;
  background: #3498db;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
} */

/* Add tooltip or hint for unchecking */
#business-model-filter .advanced-content-item-content-item {
	position: relative;
}

#business-model-filter
	.advanced-content-item-content-item
	input[type="radio"]:checked
	+ label::after {
	content: " (Click để bỏ chọn)";
	font-size: 0.8em;
	color: #666;
	font-weight: normal;
}

/* Slider improvements */
.noUi-connect {
	background: #3498db;
}

.noUi-handle {
	border: 1px solid #3498db;
	background: #3498db;
}

.noUi-handle:hover {
	background: #2980b9;
}

/* Filter hint style */
.filter-hint {
	background-color: #f8f9fa;
	border-left: 3px solid #3498db;
	padding: 0.75rem;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.filter-hint i {
	margin-right: 0.5rem;
	color: #3498db;
}

/* Improve advanced content styling */
.advanced-content-item {
	margin-bottom: 1.5rem;
}

.advanced-content-item-title {
	font-weight: bold;
	margin-bottom: 0.75rem;
	color: #333;
	font-size: 1rem;
}

/* .advanced-content-item-content {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
} */

/* Tooltip styles */
.tooltip-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: #3498db;
	color: white;
	border-radius: 50%;
	text-align: center;
	line-height: 16px;
	font-size: 10px;
	font-weight: bold;
	cursor: help;
	margin-left: 8px;
	position: relative;
}

.tooltip-icon:hover::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #333;
	color: white;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	z-index: 1000;
	margin-bottom: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tooltip-icon:hover::before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: #333;
	margin-bottom: -5px;
	z-index: 1000;
}

/* Individual item tooltips */
.advanced-content-item-content-item {
	position: relative;
}

.advanced-content-item-content-item label[data-note]:hover::after {
	content: attr(data-note);
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	background: #333;
	color: white;
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	z-index: 1000;
	margin-left: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	max-width: 200px;
	white-space: normal;
}

.advanced-content-item-content-item label[data-note]:hover::before {
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	border: 5px solid transparent;
	border-right-color: #333;
	margin-left: 0;
	z-index: 1000;
}
body.about .header .header-menu > ul > li.mega-product > a {
	border-bottom-width: 1px;
	border-bottom-color: transparent;
	color: rgb(41 41 41 / var(--tw-text-opacity));
}
