.saver-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-result-row[hidden] {
	display: none !important;
}

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

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

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

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

.saver-calc-panel {
	background: #ffffff;
	border-radius: 8px;
	padding: 30px 25px;
	flex: 1;
	color: #333333;
	/* max-width: 570px; */
	min-height: 460px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

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

.saver-calc-help {
	font-family: "Roboto", sans-serif;
	font-style: normal;
	font-size: 14px;
	color: #000;
	margin-bottom: 20px;
	text-align: center;
	width: 100%;
	margin-bottom: 5px;
}

.saver-field {
	/* margin-top: 20px !important; */
	display: block;
	/* margin-bottom: 20px; */
}

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

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

.saver-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-currency-symbol {
	color: #1D5A7A;
	font-size: 16px;
	font-weight: 400;
	margin-right: 10px;
}

.saver-input {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0;
	flex: 1;
	height: 100%;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #333;
	/* Fallback for var(--bs-body-color) */
	background: transparent !important;
	box-sizing: border-box;
	font-family: "Roboto", sans-serif;
}

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

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

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

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

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

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

.saver-calc-rates-date {
	font-size: 12px;
	color: #000;
	text-align: center;
	margin-bottom: 13px;
}

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

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

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

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

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

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

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

.saver-result-value {
	font-family: "Roboto", sans-serif;
	font-style: normal;
	font-weight: 300;
	line-height: 18px;
	color: #7c95c2;
	font-size: 20px;

}

.saver-separator {
	height: 1px;
	background: #e9eff1;
	/* margin: 20px -30px 0 -30px; */
	margin-top: 62px;
}

.saver-totals-wrapper {
	background: #E9EBED;
	padding: 20px 25px 50px 25px;
	/* Base margin (you can remove this and just use the country-specific ones below) */
	/* margin: 10px -25px -35px -25px; */
	/* auto margin-top pushes to bottom */
	/* border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px; */
	display: flex;
	/* gap: 15px; */
}

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

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

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

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

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

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

.saver-total-value {
	font-family: "Montserrat", sans-serif;
	display: inline-block;
	background: #fff;
	border-radius: 35px;
	margin: 0 auto;
	padding-top: 7px;
	font-size: 26px;
	color: #24334E;
	border: 1px solid #1D5A7A;
	width: 80%;
	box-sizing: border-box;
	min-height: 50px;
	font-weight: bold;
}

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

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

.saver-two-totals .saver-total-label {
	font-size: 12px;
	line-height: 26px;
}

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

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

.saver-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-btn-calc-again svg {
	width: 14px;
	height: 14px;
}

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

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

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

	.saver-result-value {
		margin-top: 5px;
	}

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

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

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

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

	.saver-totals-wrapper {
		flex-direction: column;
	}

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

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

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

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

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

	.saver-btn {
		font-size: 14px !important;
		margin-top: 30px !important;
		height: 30px !important
	}
}