#msform {
	text-align: center;
	position: relative;
	margin-top: 20px;
}
.form-card {
	margin-top: 50px;
	margin-bottom: 50px;
}
#msform fieldset {
	background: white;
	border: 0 none;
	border-radius: 0.5rem;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding-bottom: 20px;
	position: relative;
}
#msform fieldset:not(:first-of-type) {
	display: none;
}
#msform .action-button {
	width: 100px;
	background: #3b3bff;
	color: white;
	border: 0 none;
	border-radius: 0px;
	cursor: pointer;
	padding: 10px 5px;
	/* margin: 10px 0px 10px 5px; */
	float: right;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: start;
}
#msform .action-button:hover,
#msform .action-button:focus {
	background-color: #311b92;
}
#msform .action-button-previous {
	width: 100px;
	background: #616161;
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 0px;
	cursor: pointer;
	padding: 10px 5px;
	margin: 10px 5px 10px 0px;
	float: right;
}
#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
	background-color: #000000;
}
.card {
	z-index: 0;
	border: none;
	position: relative;
}
.fs-title {
	font-size: 25px;
	color: #673ab7;
	margin-bottom: 15px;
	font-weight: normal;
	text-align: left;
}
.purple-text {
	color: #673ab7;
	font-weight: normal;
}
.steps {
	font-size: 25px;
	color: gray;
	margin-bottom: 10px;
	font-weight: normal;
	text-align: right;
}
.fieldlabels {
	color: gray;
	text-align: left;
}
#progressbar {
	margin-bottom: 30px;
	overflow: hidden;
	color: lightgrey;
	display: flex;
	position: relative;
	height: 274px;
	display: flex;
	justify-content: center;
}
#progressbar:before {
	/* content: "";
	background-image: url(../img/step-wrapper.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
	display: flex;
	position: absolute;
	display: flex;
	align-items: center;
	width: 100%; */
	height: 231px;
}
#progressbar .active {
	color: #673ab7;
}
#progressbar li img.img-fluid {
	position: absolute;
	width: 148px;
	height: 148px;
	object-fit: scale-down;
}
#progressbar li {
	list-style-type: none;
	font-size: 15px;
	width: 100%;
	float: left;
	position: relative;
	font-weight: 400;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
#progressbar #contact:before {
	content: "";
	background-image: url(../img/ste-img3.png);
	background-repeat: no-repeat;
	background-size: 45% 35%;
	background-position: center;
	position: relative;
	left: -5px;
}
#progressbar #pickup:before {
	content: "";
	background-image: url(../img/ste-img4.png);
	background-repeat: no-repeat;
	background-size: 45% 45%;
	background-position: center;
	position: relative;
}
#progressbar #delivery:before {
	content: "";
	background-image: url(../img/ste-img2.png);
	background-repeat: no-repeat;
	background-size: 45% 45%;
	background-position: center;
	position: relative;
}
#progressbar #cargo:before {
	content: "";
	background-image: url(../img/ste-img1.png);
	background-repeat: no-repeat;
	background-size: 45% 45%;
	background-position: center;
	position: relative;
}
#progressbar #logistics:before {
	content: "";
	background-image: url(../img/ste-img.png);
	background-repeat: no-repeat;
	background-size: 45% 45%;
	background-position: center;
	position: relative;
}
#progressbar li:before {
	width: 80px;
	height: 80px;
	line-height: 10px;
	display: block;
	font-size: 20px;
	color: #ffffff;
	background: rgb(172, 172, 172);
	background: linear-gradient(
		100deg,
		rgba(172, 172, 172, 1) 17%,
		rgba(93, 93, 93, 1) 49%,
		rgba(93, 93, 93, 1) 76%
	);
	border-radius: 50%;
	/* margin: 47px 43px; */
	padding: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid;
	border: 7px solid #000;
	position: relative;
	left: 0px;
	top: 14px;
}
#progressbar li:after {
	content: "";
	width: 108px;
	height: 2px;
	background: lightgray;
	position: absolute;
	left: 156px;
	top: 119px;
	z-index: -1;
	transition: all 0.5s;
}
#progressbar li.active:after {
	background: #673ab7;
	transition: all 0.5s;
}
#progressbar #logistics:after {
	display: none !important;
}
#progressbar .wrapper-cargo-wap:after {
	display: none !important;
}
#progressbar li.active:before,
#progressbar li.active:after {
	border-color: #2e31fc;
}
.progress {
	height: 7px;
	background-color: #d5d6fe;
}
.progress-bar {
	background-color: #2e31fc;
}
.fit-image {
	width: 100%;
	object-fit: cover;
}
#progressbar li h3 {
	position: relative;
	bottom: -60px;
	margin-top: 17px;
	text-align: center;
	height: 40px;
}
.service-detail-img-step {
	width: 100%;
	height: 400px;
	object-fit: fill;
	padding-left: 30px;
}
.action-container {
	display: flex;
	align-items: center;
	justify-content: end;
	width: 147px;
	position: relative;
}

#msform .action-button {
	background: #3b3bff;
	color: white;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	padding: 10px 15px;
	width: 160px;
	text-align: left;
	margin-top: 20px;
}
.border-radius-man-wra {
	border-radius: 30px;
}
#msform .btn-arrow {
	margin-left: 5px;
	position: absolute;
	right: 10px;
	display: flex;
	bottom: 7px;
}

.location-wrapper {
	position: absolute;
	bottom: 13px;
	right: 12px;
	border-left: 1px solid #b8b8b6;
	padding-left: 10px;
}

/* Toggle Button Container */
.toggle-button {
	position: relative;
	width: 48px;
	height: 24px;
	background-color: #b8b8b6;
	border-radius: 30px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

/* Toggle Switch */
.toggle-button::before {
	content: "";
	position: absolute;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background-color: #000;
	top: -1px;
	left: -1px;
	transition: transform 0.3s ease;
}

/* Active State */
.toggle-button.active {
	background-color: #b8b8b6;
}

.toggle-button.active::before {
	transform: translateX(30px);
}

/* Optional: Label for the toggle button */
.toggle-label {
	font-size: 14px;
	margin-left: 10px;
	font-family: "poppins-medium";
	color: #000;
}

.toggle-content {
	display: flex;
	align-items: center;
	flex-direction: row-reverse;
	gap: 8px;
	position: absolute;
	top: 11px;
	right: 10px;
}

h3.wrapper-content-additional {
	font-style: italic;
}
/* Hide the default browser icon for date and time inputs */
/* input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
	opacity: 1;
	cursor: pointer;
} */

/* Styling the custom input fields */
.custom-input {
	padding-right: 40px; /* Adds space for the custom icon */
	font-family: "montserrat-Regular", sans-serif;
	font-size: 16px;
	color: #4b4b4b;
	background: #ffffff;
}

/* Positioning the custom icon */
.pickup-wrapper {
	position: absolute;
	bottom: 11px;
	right: 16px;
	cursor: pointer; /* Pointer cursor for the icon */
}

.custom-icon {
	width: 20px; /* Adjust icon size */
	height: auto;
}

.pickup-wrapper:before {
	content: "";
	width: 1px;
	height: 22px;
	position: absolute;
	left: -10px;
	top: 3px;
	background: #5e5e5e;
}
input.form-control.custom-input.pe-5.w-100.bg-transparent {
	padding-right: 14px !important;
}
.location-wrapper img {
	position: relative;
	top: -2px;
}
.uploadimgwrapper a {
	text-decoration: underline;
	color: #696a80;
	font-size: 15px;
	margin-left: 17px;
	font-style: italic;
}
.uploadimgwrapper img {
	background: #b8b8b6;
	padding: 10px;
	border-radius: 20px;
}
/* Styles for the tab navigation */
.cargo-upload .nav-tabs {
	border-bottom: none;
	margin-bottom: 15px;
	width: 100%;
	display: flex;
	align-items: center;
	border: 1px solid #71716e;
	border-radius: 50px;
}

.cargo-upload .nav-tabs .nav-link {
	padding: 10px 15px;
	font-family: "Primary-Regular";
	font-size: 16px;
	color: #6c757d;
	background-color: #f8f8f8;
	border: 1px solid transparent;
	border-radius: 5px;
	transition: background-color 0.3s ease;
	max-width: 100%;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50px;
	margin: 0;
	font-family: var(--primary-regular-font);
}
.cargo-upload li.nav-item {
	width: 50%;
}
.cargo-upload .nav-tabs .nav-link.active {
	color: #ffffff;
	background-color: #2e31fc;
	border-color: #2e31fc;
}

/* Styling for tab content */
.cargo-upload .tab-content .tab-pane {
	border-radius: 5px;
	padding: 20px;
}

.cargo-upload #uploadTab {
	background-color: #f0f0f0; /* Light gray background for Upload tab */
	color: #333333; /* Dark gray text color */
}
.wrapper-upload-cargo {
	width: 35px;
	height: 35px;
	object-fit: scale-down;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f8f8;
	padding: 0px;
	border-radius: 10px;
	border: 1px solid #71716e;
}
h3.wrapper-content-additional.additional-upload-heading {
	font-size: 24px;
}
@media (max-width: 1400px) {
	#progressbar li:after {
		content: "";
		width: 70px;
		height: 2px;
		background: lightgray;
		position: absolute;
		left: 148px;
		top: 119px;
		z-index: -1;
		transition: all 0.5s;
	}
	.cargo-upload .nav-tabs .nav-link {
		font-size: 13px;
	}
	.toggle-content {
		top: 10px;
	}
	.toggle-button {
		position: relative;
		width: 38px;
		height: 21px;
		background-color: #b8b8b6;
		border-radius: 30px;
		cursor: pointer;
		transition: background-color 0.3s ease;
	}
	.toggle-button::before {
		content: "";
		position: absolute;
		width: 22px;
		height: 22px;
		border-radius: 50%;
		background-color: #000;
		top: -1px;
		left: -1px;
		transition: transform 0.3s ease;
	}
}
@media (max-width: 1282px) {
	#progressbar li:after {
		content: "";
		width: 91px;
		height: 2px;
		background: lightgray;
		position: absolute;
		left: 138px;
		top: 99px;
		z-index: -1;
		transition: all 0.5s;
	}
	#progressbar li:before {
		width: 70px;
		height: 70px;
		/* left: -5px; */
		top: 19px;
	}
	#progressbar li img.img-fluid {
		position: absolute;
		width: 148px;
		height: 122px;
		object-fit: scale-down;
	}
	#progressbar {
		margin-bottom: 30px;
		overflow: hidden;
		color: lightgrey;
		display: flex;
		position: relative;
		height: 225px;
		display: flex;
		justify-content: center;
	}
	#progressbar li h3 {
		position: relative;
		bottom: -60px;
		font-size: 13px;
	}
}
@media (max-width: 1200px) {
	#progressbar li:after {
		content: "";
		width: 59px;
		height: 2px;
		background: lightgray;
		position: absolute;
		left: 124px;
		top: 99px;
		z-index: -1;
		transition: all 0.5s;
	}
}
@media (max-width: 1100px) {
	#progressbar li:after {
		content: "";
		width: 67px;
		height: 2px;
		background: lightgray;
		position: absolute;
		left: 118px;
		top: 99px;
		z-index: -1;
		transition: all 0.5s;
	}
}
@media (max-width: 1000px) {
	#progressbar li:after {
		content: "";
		width: 42px;
		height: 2px;
		background: lightgray;
		position: absolute;
		left: 118px;
		top: 99px;
		z-index: -1;
		transition: all 0.5s;
	}
}

@media (max-width: 800px) {
	#progressbar li img.img-fluid {
		position: absolute;
		width: 138px;
		height: 105px;
		object-fit: scale-down;
	}
	#progressbar li:before {
		width: 60px;
		height: 60px;
		left: -5px;
		top: 0px;
	}
	#progressbar li:after {
		content: "";
		width: 55px;
		height: 2px;
		background: lightgray;
		position: absolute;
		left: 111px;
		top: 99px;
		z-index: -1;
		transition: all 0.5s;
	}
}
@media (max-width: 778px) {
	#progressbar li:after {
		content: "";
		width: 60px;
		height: 2px;
		background: lightgray;
		position: absolute;
		left: 108px;
		top: 101px;
		z-index: -1;
		transition: all 0.5s;
	}
}
@media (max-width: 771px) {
	#progressbar li img.img-fluid {
		position: absolute;
		width: 138px;
		height: 95px;
		object-fit: scale-down;
	}
	#progressbar li:before {
		width: 55px;
		height: 55px;
		left: -4px;
		top: 0px;
	}
	#progressbar h3 {
		font-size: 12px;
		white-space: nowrap;
	}
	#progressbar #contact:before {
		top: 0px;
	}
}
/* Additional styling to make the tabs look nicer on smaller screens */
@media (max-width: 768px) {
	.nav-tabs .nav-link {
		font-size: 14px;
		padding: 8px 10px;
	}
	.tab-content .tab-pane {
		padding: 15px;
	}
}
