.hidden {
	display: none !important;
}

.text-danger {
	color: #f00;
}

input,
select {
	font-size: 15px;
	font-weight: 500;
	text-align: left;
	text-transform: capitalize;
	letter-spacing: 0.2em;
	padding: 12px 10px 12px 10px;
	width: 90%;
	display: inline-block;
	box-sizing: border-box;
	border: none;
	outline: none;
	background: transparent;
	font-family: "Raleway", sans-serif;
}

.placeholder-select {
	color: #777 !important;
}

/* When user selects a real option */
.placeholder-select:focus,
.placeholder-select:not([value=""]) {
	color: #333;
}

/* Optional: style disabled option (Firefox only) */
.placeholder-select option[disabled] {
	color: #777;
}

i.fa-road,
i.fa-exchange,
i.fa-tint,
i.fa-tachometer,
i.fa-average {
	font-size: 16px;
	vertical-align: middle;
	color: #01cd74;
	box-sizing: border-box;
	float: left;
	width: 6%;
	margin-top: 13px;
	text-align: center;
}

@media screen and (max-width: 800px) {
	input,
	select {
		font-size: 14px;
	}

	i.fa-road,
	i.fa-exchange,
	i.fa-tint,
	i.fa-tachometer,
	i.fa-average {
		margin-top: 10px;
	}
}

@media (min-width: 768px) {
	html,
	body {
		height: 100%;
		margin: 0;
	}

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

/* Modal overlay */
#resultModal {
	display: none; /* hidden by default */
	position: fixed; /* stays in viewport */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.55);

	justify-content: center; /* horizontal center */
	align-items: center; /* vertical center */
	z-index: 9999;
	padding: 15px; /* small padding for mobile */
	box-sizing: border-box;
}

/* Modal box */
.modal-box {
	background: #fff;
	padding: 25px 30px;
	border-radius: 16px;
	width: 100%;
	max-width: 420px; /* limits width on large screens */
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	font-family: "Poppins", sans-serif;
	text-align: center;
}

/* Close button */
.close-btn {
	margin-top: 20px;
	width: 100%;
	padding: 10px;
	border: none;
	border-radius: 12px;
	background: #1f3c88;
	color: #fff;
	cursor: pointer;
}

.close-btn:hover {
	background: #162d63;
}

.result-table {
	margin-top: 20px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.result-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
	font-size: 16px;
}

.caption {
	font-weight: 500;
	color: #555;
}

.value {
	font-weight: 600;
	color: #1f3c88;
}
