.sfi-shipping-form {
    max-width: 100%;
    margin: 0 auto;
    font-family: sans-serif;
}

.sfi-container label {
	font-weight: 600;
}

.sfi-row, .sfi-item-row {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	column-gap: 0px;
	width: 100%;
	margin-bottom: 20px;
}

.sfi-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-right: 5px;
}

.mobile-label {
	display: none;
}

.sfi-row-from, .sfi-row-to, .sfi-row-date {
	width: 45%;
}

.sfi-row-separator {
	width: 10%;
	text-align: center;
}

.sfi-separator {
	padding: 11px;
}

.sfi-item-type {
	width: 20%;
}

.sfi-item-details {
	width: 35%;
}

.sfi-item-height, .sfi-item-length, .sfi-item-width, .sfi-item-weight, .sfi-item-qty {
	width: 8%;
}

.sfi-item-remove {
	width: 5%;
}

.sfi-type {
	background-color: transparent;
	padding: 11px 20px;
}

#sfi-submit {
    margin-top: 15px;
    padding: 10px 20px;
    cursor: pointer;
}

button.sfi-remove-item {
	color: #fff !important;
	background-color: #dc0322 !important;
	border: 1px solid #dc0322 !important;
}

button.sfi-remove-item:hover {
	color: #fff !important;
	background-color: #102253 !important;
	border: 1px solid #102253 !important;
}

#sfi-add-item, #sfi-submit {
	color: #fff;
	background-color: #253b84;
	padding: 10px 20px;
	border: none;
}

#sfi-add-item:hover, #sfi-submit:hover {
	color: #fff;
	background-color: #dc0322;
}


@media screen and (max-width: 768px) {
	.sfi-row, .sfi-item-row {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
		justify-content: space-between;
		width: 100%;
		margin-bottom: 20px;
	}

	.sfi-container {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 0 5px 5px;
	}
	
	.sfi-label-row {
		display: none;
	}
	
	.mobile-label {
	display: block;
	}

	.sfi-row-from, .sfi-row-to, .sfi-row-date,
	.sfi-item-type, .sfi-item-details {
		width: 100%;
	}

	.sfi-row-separator {
		width: 100%;
		text-align: left;
	}

	.sfi-separator {
		padding: 11px;
	}

	.sfi-item-height, .sfi-item-length, .sfi-item-width {
		flex: 1;
		min-width: calc(100% / 3);
	}

	.sfi-item-weight, .sfi-item-qty {
		flex: 0 1 40%;
	}

	.sfi-item-remove {
		flex: 0 1 20%;
	}
}
