.saver-plus-calc-wrapper {
	font-family: 'Open Sans', Arial, sans-serif;
	color: #ffffff;
	width: 100%;
	/* Removed padding, margin, and max-width so Elementor controls the container */
}

.saver-plus-result-row[hidden] {
	display: none !important;
}

.saver-plus-calc-header {
	text-align: center;
	margin-bottom: 40px;
}

.saver-plus-calc-header h2 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #ffffff;
}

.saver-plus-calc-header p {
	font-size: 16px;
	margin: 0;
	color: #ffffff;
}

.saver-plus-calc-grid {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 20px;
	position: relative;
}

.saver-plus-calc-panel {
	background: #ffffff;
	border-radius: 5px;
	padding: 35px 25px 10px;
	flex: 1;
	margin: 30px 0 50px 0;
	border: 1px solid #ABB9C3;
	/* color: #333333; */
	/* max-width: 570px; */
	min-height: 500px;
	display: flex;
	flex-direction: column;
	box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.saver-plus-calc-inputs {
	display: flex;
	flex-direction: column;
}

.saver-plus-calc-help {
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	font-weight: 300;
	padding: 0px 15px;
	line-height: 20px;
	color: #000;
	width: 100%;
	margin: 0 auto;
	margin-bottom: 5px;
	text-align: center;
}

.saver-plus-field {
	display: block;
	margin-bottom: 20px;
}

.saver-plus-field-label {
	font-family: "Roboto", sans-serif;
	display: block;
	font-size: 16px;
	line-height: 26px;
	color: #1D5A7A;
	margin-bottom: 8px;
	padding-left: 20px;
	/* text-align: center; */
	font-weight: 500;
}

.saver-plus-input-wrapper {
	position: relative;
	background: #fff;
	height: 50px;
	padding: 0 18px;
	border: 1px solid #1D5A7A;
	border-radius: 25px;
	margin: 0 auto;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.saver-plus-input-wrapper:has(input[type="number"]):focus-within {
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.saver-plus-currency-symbol {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #666;
	font-weight: bold;
	pointer-events: none;
	display: flex;
	align-items: center;
}

.saver-plus-input {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	padding: 12px 15px 12px 25px !important;
	width: 100%;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background: transparent !important;
	box-sizing: border-box;
}

/* Hide number spinner */
.saver-plus-input[type="number"]::-webkit-inner-spin-button,
.saver-plus-input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.saver-plus-input[type="number"] {
	-moz-appearance: textfield;
}

.saver-plus-select {
	padding-left: 35px !important;
	padding-top: 15px !important;
}

.saver-plus-input:focus,
.saver-plus-select:focus {
	outline: none !important;
	box-shadow: none !important;
	border: none !important;
	background-color: transparent !important;
}

.saver-plus-btn {
	background: linear-gradient(180deg, #87C0C6 0%, #1D5A7A 100%);
	color: #fff;
	border: none;
	border-radius: 20px;
	font-family: "Roboto", sans-serif;
	padding: 7px 0px;
	height: 35px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	text-transform: uppercase;
	box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.25);
	min-width: 120px;
	margin: 10px auto;
	padding-left: 40px;
	padding-right: 40px;
	display: block;

}

.saver-plus-btn:hover {
	text-shadow: 0px 0px 10px #fff !important;
	color: #fff;
}

.saver-plus-calc-rates-date {
	font-size: 12px;
	line-height: 18px;
	font-family: "Roboto", sans-serif;
	color: #000;
	font-weight: 400;
	text-align: center;
	margin-top: auto;
	/* margin-bottom: 13px; */
}

.saver-plus-calc-disclaimer {
	font-size: 12px;
	line-height: 18px;
	font-family: "Roboto";
	font-weight: 400;
	color: #000;
	/* line-height: 1.4; */
}

.saver-plus-calc-divider {
	display: flex;
	align-items: center;
	justify-content: center;
}

.saver-plus-arrow-icon {
	background: #9bc0c5;
	color: #fff;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.saver-plus-calc-results {
	display: flex;
	flex-direction: column;
}

.saver-plus-results-title {
	font-family: "Roboto", sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 33px;
	text-align: center;
	margin-bottom: 50px;
	color: #000;
}

.saver-plus-result-row {
	display: flex;
	justify-content: space-between;
	/* margin-bottom: 15px; */
	font-size: 14px;
}

.saver-plus-result-label {
	font-family: "Roboto", sans-serif;
	color: #1D5A7A;
	font-weight: 500;
	line-height: 26px;
	font-size: 16px;
}

.saver-plus-result-value {
	font-family: "Roboto", sans-serif;
	color: #7c95c2;
	font-size: 16px;
	font-weight: 300;
	line-height: 33px;
	font-size: 20px;
}

.saver-plus-separator {
	height: 1px;
	background: #e9eff1;
	margin: 40px -25px 0 -25px;
}

.saver-plus-totals-wrapper {
	background: #E9EBED;
	padding: 20px 25px;
	height: auto;
	min-height: 163px;
	border-radius: 0px 0px 4px 4px;
	margin: 0 -25px -35px -25px;
	display: flex;
	gap: 15px;
}

.saver-plus-one-total {
	justify-content: center;
}

.saver-plus-two-totals {
	justify-content: space-between;
}

.saver-plus-total-box {
	text-align: center;
	flex: 1;
	display: flex;
	flex-direction: column;
	/* justify-content: space-between; */

	align-items: center;
}

.saver-plus-total-label {
	font-family: "Roboto", sans-serif;
	display: block;
	font-size: 12px;
	color: #24334E;
	line-height: 26px;
	margin-bottom: 15px;
	margin-top: 5px;
	font-weight: 500;
}

.saver-plus-total-value {
	font-family: "Montserrat", sans-serif;
	font-style: normal;
	font-weight: bold;
	font-size: 18px;
	text-align: center;
	color: #24334E;
	background: #fff;
	border: 1px solid #1D5A7A;
	box-sizing: border-box;
	border-radius: 35px;
	min-height: 50px;
	word-wrap: break-word;
	width: 80%;
	min-width: 80%;
	max-width: 100%;
	margin: 0 auto;
	padding-top: 12px;
	display: block;
}
.saver-plus-calc-wrapper[data-saver-plus-country="mt"] .saver-plus-result-row{
	margin-bottom: 15px;
}
/* Specific styling ONLY for Malta (mt) */
.saver-plus-calc-wrapper[data-saver-plus-country="mt"] .saver-plus-total-value {
	font-size: 26px !important;
	padding-top: 8px;
}

/* Specific styling ONLY for Belgium (be) */
.saver-plus-calc-wrapper[data-saver-plus-country="be"] .saver-plus-total-value {
	padding-top: 12px;
}

.saver-plus-two-totals .saver-plus-total-value {
	font-size: 18px;
	/* width: auto; */
	min-width: 90%;
	padding-left: 10px;
	padding-right: 10px;
	/* white-space: nowrap;	 */
	word-break: break-all;
}

.saver-plus-calc-again-wrapper {
	display: none;
	text-align: center;
	margin-top: 30px;
}

.saver-plus-btn-calc-again {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	color: #7a1c4b;
	font-weight: 600;
	text-decoration: none !important;
	border-bottom: none !important;
	box-shadow: none !important;
	font-size: 13px;
	text-transform: uppercase;
}

.saver-plus-btn-calc-again svg {
	width: 14px;
	height: 14px;
}

.saver-plus-btn-calc-again:hover {
	text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.saver-plus-calc-grid {
		flex-direction: column;
	}

	.saver-plus-calc-panel {
		min-height: auto;
		height: auto;
		padding: 25px 15px;
	}

	.saver-plus-arrow-icon {
		display: none;
	}

	.saver-plus-calc-wrapper.saver-plus-state-results .saver-plus-calc-inputs {
		display: none;
	}


	.saver-plus-total-label {
		line-height: 0;
		margin-bottom: 27px;
	}

	.saver-plus-totals-wrapper {
		padding: 20px 25px 40px;
	}

	.saver-plus-calc-wrapper.saver-plus-state-results .saver-plus-calc-again-wrapper {
		display: block;
	}

	.saver-plus-calc-again-wrapper {
		/* display: none;
	text-align: center; */
		margin-top: 25px;
	}

	.saver-plus-calc-wrapper:not(.saver-plus-state-results) .saver-plus-calc-results {
		display: none !important;
	}

	.saver-plus-totals-wrapper {
		flex-direction: column;
		/* Base margin */
		margin: 0 -15px -55px -15px;
	}

	/* Specific spacing ONLY for Malta (mt) */
	.saver-plus-calc-wrapper[data-saver-plus-country="mt"] .saver-plus-totals-wrapper {
		margin: 0 -15px -55px -15px;
	}

	/* Specific spacing ONLY for Belgium (be) */
	.saver-plus-calc-wrapper[data-saver-plus-country="be"] .saver-plus-totals-wrapper {
		margin: 0 -15px -53px -15px; /* Adjust Belgium spacing here */
	}

	.saver-plus-separator {
		margin: 20px -15px 0 -15px;
	}

	/* .saver-plus-two-totals .saver-plus-total-box {
		margin-bottom: 15px;
	} */

	.saver-plus-two-totals .saver-plus-total-box:last-child {
		margin-bottom: 0;
	}

	.saver-plus-result-row {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 20px;
	}

	.saver-plus-result-label {
		margin-bottom: 5px;
		font-size: 13px;
	}

	.saver-plus-results-title {
		margin-bottom: 30px;
	}
}