.main-background {
	background: url(/images/rukun-negara-main-background-mobile.jpg) no-repeat center top;
	background-size: cover;
	min-height: 100%;
}

/* @media (min-width: 768px) {
	.max-h-screen--mainbg {
		min-height: 740px;
	}
} */

@media (min-width: 768px) and (min-height: 740px) {
	.main-background {
		background: url(/images/rukun-negara-main-background.jpg) no-repeat center;
		background-size: cover;
		min-height: calc(100vh - 106px);
	}

	.min-h-screen--mainbg {
		min-height: calc(100vh - 106px);
	}

	.max-h-screen--mainbg {
		max-height: calc(100vh - 106px);
	}

	.max-h-screen--resultdetails {
		max-height: calc(100vh - 290px);
	}
}

/* Result Styling */
.list-no-last-border li:last-child {
  border: none;
}
.badge--compliant svg{
	color: #00C535;
}
.badge--violation svg {
	color: #FF0000;
}
#clipboard.rating-icon.active,
#thumb-up.rating-icon.active {
	color: #1E40FF;
}
#thumb-down.rating-icon.active {
	color: #7d7d7d;
}

.max-h-screen--mainbg.afterResultShown {
	filter: blur(12px);
	pointer-events: none;
}

@media (max-width: 767px) {
	.max-h-screen--mainbg.afterResultShown {
		display: none !important;
	}	
}


/* Custom Scrollbar for result */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .4);
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, .4);
}

/* Tooltip Styles */
.tooltip--content {
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
	cursor: default;
}

.tooltip--content.active {
  pointer-events: auto;
}

@media (max-width: 992px) {
  .tooltip--content.active {
    z-index: 999;
    position: absolute;
  }
}

.tooltip--content.hidden {
  opacity: 0;
  transform: scale(0.95);
}

.tooltip--content.active:not(.hidden) {
  opacity: 1;
  transform: scale(1);
}

.tooltip--icon {
  transition: border 0.2s ease;
}

/* Fix the icon rotation selector */
.icon-plus {
  transition: transform 0.3s ease;
}

.icon-plus.icon--active {
  transform: rotate(45deg);
}