/* =======
 * Toggles
 * ============ */
.calculators_toggle-wrapper {
	background-color: #f6f6f6;
	padding: 10px;
	border-radius: 12px;
}
.calculators_toggle {
	padding: 10px 30px;
	border: 2px solid transparent;
	border-radius: 12px;
	margin: 0 0.5rem;
	cursor: pointer;
	text-align: center;
	line-height: 1.1;
}
.calculators_toggle-active {
	color: var(--primary);
	font-weight: bold;
	border-color: var(--primary);
	background-color: #fff;
}

/* =======
 * Columns
 * ============ */
.calculators_col-01,
.calculators_col-02,
.calculators_col-03 {
	width: 100%;
	flex-basis: 100%;
}
.calculators_col-01,
.calculators_col-02 {
	margin-bottom: 1rem;
}
.calculators_box {
	box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	overflow: hidden;
}
@media (min-width:992px) {
	.calculators_col-01,
	.calculators_col-02 {
		width: 35%;
		flex-basis: 35%;
		margin-right: 2%;
	}
	.calculators_col-03 {
		width: 26%;
		flex-basis: 26%;
	}
}


/* =======
 * Tooltip
 * ============ */
.calculators_tooltip {
	
}
/* Base tooltip styling */
.calculators_tooltip {
  position: relative;
  cursor: pointer;
  display: inline-block;
  -webkit-tap-highlight-color: transparent;
	background-image: url('https://www.1bioshealth.com/hubfs/Icons/tooltip-info.svg');
	width: 12px;
	height: 12px;
	background-size: 12px;
	margin-left: 3px;
	background-position: center;
	background-repeat: no-repeat
}

/* Remove border for icon tooltips */
.calculators_tooltip-icon {
  border-bottom: none;
  color: #8BC34A;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  padding: 0 2px;
}

/* Tooltip content (hidden by default) */
.calculators_tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: wrap;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.4;
  z-index: 1000;
  opacity: 0;
	min-width: 200px;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Tooltip arrow */
.calculators_tooltip::after {
  content: '';
	display: none;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  z-index: 1000;
}

/* Desktop: Show tooltip on hover */
@media (hover: hover) and (pointer: fine) {
  .calculators_tooltip:hover::before,
  .calculators_tooltip:hover::after {
    opacity: 1;
    visibility: visible;
  }
}

/* Mobile/Tablet: Show tooltip on click (with .active class) */
.calculators_tooltip.calculators_tooltip-active::before,
.calculators_tooltip.calculators_tooltip-active::after {
  opacity: 1;
  visibility: visible;
}
/* Responsive: Adjust for smaller screens */
@media (max-width: 768px) {
  .calculators_tooltip::before {
    max-width: 200px;
    white-space: normal;
  }
}



/* =======
 * Boxes 01, 02, 03
 * ============ */
@media (min-width:992px) {
	.calculators_box_02 .calculators_row {
		padding: 1.5rem 1rem;
	}
}

/* Heading */
.calculators_heading-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	background-color: #fff;
	border-radius: 4px;
}
.calculators_heading-icon img {
	width: max-width: 100%;
}

.calculators_heading-text {
	width: calc(100% - 45px);
	padding-left: 10px;
}
.calculators_heading h4 {
	font-size: 15px;
	margin-bottom: 0.5rem;
}
.calculators_heading p {
	line-height: 1.25;
	font-size: 14px;
}

/* Row */
.calculators_row {
	display: block;
	padding: 1rem;
	border-bottom: 1px solid #e8e8e8;
}
.calculators_row:last-child {
	border-bottom: 0px;
}
.calculators_field-wrapper {
}
.calculators_label {
	width: 100%;
	padding-right: 1rem;
	font-size: 13px;
}
.calculators_field {
	width: 63px;
	flex-basis: 63px;
}
.calculators_field input {
	width: 57px!important;
	border: 1px solid #e8e8e8!important;
	border-radius: 4px;
	padding: 6px 6px!important;
	line-height: 1rem!important;
	height: auto!important;
	min-height: 0px!important;
	font-size: 11px!important;
}
.calculators input.calculators_currency {
  background-image: url('https://www.1bioshealth.com/hubfs/Icons/small-dollar-sign.svg');
	background-position: 6px center;
	background-size: 6px;
	background-repeat: no-repeat;
	padding-left: 14px!important;
}
.calculators_percent {
  background-image: url('https://www.1bioshealth.com/hubfs/Icons/percent-icon.svg');
	background-position: calc(100% - 3px) center;
	background-size: 14px;
	background-repeat: no-repeat;
}
.calculators_field-wrapper-passive {
	padding: 12px;
	background-color: #f5f5f5;
	border-radius: 8px;
	font-weight: bold;
}

/* No Style */
.caculators_input_nostyle-wrapper {
	width: 85px;
	flex-basis: 85px;
}
body .calculators input.caculators_input_nostyle {
	border: 0px !important;
	background: none !important;
	font-weight: bold;
	appearance: none !important;
	font-size: 16px !important;
	font-weight: bold !important;
	text-align: right;
}

/* Overwrite dropdown */
.box_01_row_02_wrapper {
	width: 430px;
	flex-basis: 430px;
}
.box_01_row_02 {
	width: 100%;
	font-weight: normal;
	line-height: 1.2rem;
	color: #56676b;
	background-color: #fffffe;
	border: 1px solid #e8e8e8;
	font-size: 14px;
	padding: 6px;
	border-radius: 4px;
}
.box_01_row_02 select {
	cursor: pointer;
}

/* Disabled */
.calculators_field input:disabled {
	background-color: #f9f9f9!important;
}

/* Scrollbar */
@media (min-width:992px) {
	.calculators_row-wrapper {
		max-height: 495px;
		overflow-y: scroll;
		overflow-x: hidden;
	}
	.calculators_row-wrapper {
		scrollbar-width: thin;
		scrollbar-color: var(--tertiary) #f1f1f1;
	}

	/* Webkit browsers */
	.calculators_row-wrapper::-webkit-scrollbar {
		width: 8px;
	}
	.calculators_row-wrapper::-webkit-scrollbar-track {
		background: #f1f1f1;
		border-radius: 10px;
	}
	.calculators_row-wrapper::-webkit-scrollbar-thumb {
		background: var(--tertiary); /* Green color matching your theme */
		border-radius: 10px;
	}
	.calculators_row-wrapper::-webkit-scrollbar-thumb:hover {
		background: var(--tertiary-700); /* Darker green on hover */
	}
}

/* =======
 * Results 
 * ============ */
.calculators_result {
	box-shadow: 2px 2px 30px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--secondary);
}
.calculators_result-box {
	border-bottom: 1px solid var(--secondary);
}
.calculators_result-box:last-child {
	border-bottom: 0px;
}