.hf-calculadora {
	max-width: 780px;
	margin: 0 auto;
	font-family: inherit;
}

.hf-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 32px;
}

@media (max-width: 640px) {
	.hf-grid {
		grid-template-columns: 1fr;
	}
}

.hf-camp-boto {
	display: flex;
	flex-direction: column;
}

.hf-label-spacer {
	display: block;
	visibility: hidden;
	font-weight: 600;
	margin-bottom: -10px;
}

.hf-camp {
	margin-bottom: 18px;
}

.hf-camp label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.hf-opcional {
	font-weight: 400;
	color: #888;
	font-size: 13px;
}

.hf-input-wrap {
	display: flex;
	align-items: center;
	border: 1px solid #ccc !important;
	border-radius: 4px;
	overflow: hidden;
	background: #fff !important;
}

.hf-calculadora .hf-input-wrap input {
	flex: 1;
	border: none !important;
	padding: 10px 12px;
	font-size: 15px;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	width: 100%;
}

.hf-input-wrap:focus-within {
	border-color: #002c5f !important;
	box-shadow: 0 0 0 2px rgba(0, 44, 95, 0.15) !important;
}

.hf-calculadora .hf-input-wrap input.hf-input-error {
	background: #fdecea !important;
}

.hf-suffix {
	padding: 0 12px;
	color: #666;
	font-size: 14px;
}

.hf-error {
	color: #c00;
	font-size: 13px;
	line-height: 1.3;
	margin-top: 4px;
	min-height: 16px;
}

.hf-calculadora .hf-boto {
	width: 100%;
	padding: 12px;
	font-size: 16px;
	font-weight: 600;
	border: none !important;
	border-radius: 4px;
	background: #002c5f !important;
	color: #fff !important;
	cursor: pointer;
}

.hf-calculadora .hf-boto:hover {
	background: #001d40 !important;
	color: #fff !important;
}

.hf-calculadora .hf-boto:disabled {
	opacity: 0.6;
	cursor: default;
}

.hf-resultat {
	background: #eef3f9;
	border-radius: 4px;
	padding: 16px;
	text-align: center;
	margin-bottom: 16px;
}

.hf-resultat-label {
	display: block;
	font-size: 14px;
	color: #444;
	margin-bottom: 4px;
}

.hf-resultat-valor {
	display: block;
	font-size: 28px;
	font-weight: 700;
	color: #002c5f;
}

.hf-avis-legal {
	font-size: 12px;
	color: #888;
	text-align: center;
}
