

.input-section, .summary-section {
	flex: 1;
	padding: 0px 2rem 2rem;
}



.nationality {
	margin-bottom: 1.5rem;
}

	.nationality button {
		padding: 8px 18px;
		margin-right: 0.5rem;
		border: 1px solid #6b1b47;
		background: none;
		border-radius: 8px;
		cursor: pointer;
	}

		.nationality button.active {
			background: #6b1b47;
			color: white;
		}

.form-group {
	margin-bottom: 1.5rem;
}

	.form-group label {
		display: block;
		margin-bottom: 0.5rem;
		font-weight: 500;
	}

input[type="number"], input[type="range"] {
	width: 100%;
	padding: 0.5rem;
	margin-bottom: 0rem;
}

.gauge-container {
	/* height: 150px; */
	position: relative;
	margin: 2rem 0;
}

	.gauge-container img {
		width: 100%;
	}

.gauge {
	width: 100%;
	height: 100px;
	border: 10px solid #e0e0e0;
	border-bottom: none;
	border-radius: 150px 150px 0 0;
	position: relative;
}

.summary-item {
	margin-bottom: 1.5rem;
	text-align: center;
}

	.summary-item h4 {
		color: #333;
		font-size: 16px;
		margin-bottom: 0.5rem;
		font-weight: 600;
	}

.amount, .period, .rate {
	font-size: 2.5rem;
	color: #1a2b5f;
	font-weight: 600;
}

.qualify-btn {
	width: 100%;
	padding: 1rem;
	background: #6b1b47;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
}

	.qualify-btn:hover {
		background: #571639;
	}

.banner-cover-img {
	margin: 20px auto;
}

	.banner-cover-img img.img-responsive {
		max-height: 800px;
		object-fit: cover;
	}

.icon-img img {
	max-width: 180px;
	right: 100px;
	float: right;
	position: absolute;
	bottom: 30px;
	z-index: 1;
}

.icon-img {
	position: relative;
	margin: 40px 0px;
}

	.icon-img h3 {
		color: #6b1b47;
		font-weight: 600;
		font-size: 35px;
		width: 60%;
	}

/* Popup styling */
.popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
	padding: 20px;
	border: 1px solid #ccc;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	width: 50%;
}

	.popup h3 {
		font-size: 16px;
		font-weight: 600;
		margin: 10px 0px;
	}

	.popup.show {
		display: block;
	}

	.popup label {
		margin-right: 10px;
		display: block;
		margin-bottom: 10px;
	}
/* Overlay for popup */
.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 999;
}

	.overlay.show {
		display: block;
	}

.popup label {
	margin-right: 10px;
	display: block;
	margin-bottom: 10px;
	font-weight: 400;
	font-size: 16px;
}

.form-group.age input[type="range"] {
	width: 70%;
	max-width: 70%;
	margin-right: 10px;
}

.form-group.age .age-display {
	display: inline-block;
	font-weight: bold;
	min-width: 30px;
}

.flex-center {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.form-group.age input {
	margin-bottom: 0px;
}

span#ageDisplay {
	font-size: 20px;
	color: #870051;
}

.form-group input[type="number"]:focus {
	border-color: #870051 !important;
	outline: none;
}

.error-message {
	display: none;
	color: #d32f2f;
	font-size: 14px;
	margin-top: 5px;
	font-weight: 400;
}

	.error-message.show {
		display: block;
	}

.form-group input[type="number"].invalid {
	border-color: #d32f2f;
}

.form-group input {
	border: none;
	border-bottom: 1px solid #333;
	width: 70%;
}

span.aed-currency {
	font-weight: 300;
	font-size: 17px;
	margin-left: -5%;
}

span.txt-percent {
	font-size: 18px;
	margin-left: 15px;
	font-weight: 300;
}

.input-section.calculator-fields .form-group {
	margin: 2.5rem 0 !important;
}

.w-70 {
	width: 70%;
}

.radio-item label {
	font-weight: 300;
}

.inner-box-section {
	background: #f4f4f4;
	padding: 4rem;
	margin: 4rem;
	border-radius: 20px;
}

	.inner-box-section h3 {
		color: #333;
		text-align: center;
		font-size: 18px;
		font-weight: 500;
	}

#chart {
	width: 320px;
	height: 320px;
}

.mar-top--3 {
	margin-top: -8rem;
}

.custom-slider[type="range"] {
	background: none;
}

.custom-slider {
	-webkit-appearance: none; /* Remove default styling for WebKit browsers */
	appearance: none; /* Remove default styling for other browsers */
	width: 100%; /* Full width */
	height: 4px; /* Thickness of the track */
	background: linear-gradient(to right, #6a0dad 0%, #6a0dad calc((21 - 21) / (70 - 21) * 100%), #ccc calc((21 - 21) / (70 - 21) * 100%), #ccc 100%); /* Purple on left, gray on right */
	outline: none; /* Remove default outline */
}

	/* Thumb (the slider handle) */
	.custom-slider::-webkit-slider-thumb {
		-webkit-appearance: none;
		appearance: none;
		width: 20px;
		height: 20px;
		background: #6a0dad; /* Purple color for the thumb */
		clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); /* Hexagon shape */
		cursor: pointer;
	}

	.custom-slider::-moz-range-thumb {
		width: 20px;
		height: 20px;
		background: #6a0dad;
		clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
		cursor: pointer;
	}

	/* Dynamically update the gradient as the slider moves */
	.custom-slider::-webkit-slider-runnable-track {
		height: 4px;
		background: linear-gradient(to right, #6a0dad 0%, #6a0dad calc((var(--value) - 21) / (70 - 21) * 100%), #ccc calc((var(--value) - 21) / (70 - 21) * 100%), #ccc 100%);
	}

	.custom-slider::-moz-range-track {
		height: 4px;
		background: linear-gradient(to right, #6a0dad 0%, #6a0dad calc((var(--value) - 21) / (70 - 21) * 100%), #ccc calc((var(--value) - 21) / (70 - 21) * 100%), #ccc 100%);
	}

@media (max-width: 768px) {
	.icon-img h3 {
		color: #6b1b47;
		font-weight: 600;
		font-size: 35px;
		width: 100%;
	}

	.icon-img img {
		display: none;
	}
}

.radio-item {
	gap: 10px;
}

.radio-grp {
	margin: 10px 0px;
}

.liability-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	
	background: rgb(255, 255, 255);
	padding: 20px;
	border: 1px solid rgb(204, 204, 204);
	z-index: 1000;
	width: 50%;
}
	.liability-popup h3 {
		font-size: 1.25rem;
		font-weight: 600;
		text-align: center;
		margin-bottom: 20px;
	}

	.liability-popup label {
		margin-bottom: 14px;
		font-size: 14px;
	}

.card-item-1 {
	padding: 20px;
	background: #f5f5f5;
	line-height: 150%;
	margin: 20px 0px;
	border-radius: 20px;
	font-size: 16px;
}

.card-item-1 h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: #96004b;
	margin-bottom: 14px;
}

.card-item-1 {
}

	.card-item-1 li {
		font-size: 1rem;
		line-height: 150%;
		margin-bottom: 16px;
		font-weight: 300;
		color: #4c4c4c;
	}

		.card-item-1 li span {
			font-weight: 600;
			color: #333;
			margin-left: 10px;
		}

button.remove-btn {
	margin-bottom: 20px;
	background: transparent;
	border: 1px solid #870051;
	color: #870051;
	padding: 8px 16px;
	font-size: 1rem;
	border-radius: 4px;
}
.total-liabile {
	font-size: 20px;
	margin-top: 20px;
	text-align: center;
	font-weight: 600;
	color: #960069;
}
.total-liabile strong {

	color: #333;
}
