:root {
	--form-primary-color: #0c7ba8;
	--secondary-color: #64748b;
	--success-color: #2fb55d;
	--background-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
		0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.form-container {
	background: white;
	border-radius: 20px;
	box-shadow: var(--card-shadow);
	overflow: hidden;
	position: relative;
	margin-bottom: 3rem;
}

.progress-bar-container {
	background: #f8fafc;
	padding: 2rem;
	border-bottom: 1px solid #e2e8f0;
}

.progress-steps {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.step {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	background: #e2e8f0;
	color: #64748b;
	white-space: nowrap;
}

.step.active {
	background: var(--form-primary-color);
	color: white;
	transform: scale(1.05);
}

.step.completed {
	background: var(--success-color);
	color: white;
}

.step-connector {
	width: 2rem;
	height: 2px;
	background: #e2e8f0;
	transition: background-color 0.3s ease;
}

.step-connector.completed {
	background: var(--success-color);
}

.progress-bar {
	height: 6px;
	background: #e2e8f0;
	border-radius: 3px;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(
		90deg,
		var(--form-primary-color),
		var(--success-color)
	);
	border-radius: 3px;
	transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step {
	padding: 3rem;
	animation: fadeIn 0.5s ease-in-out;
}

.form-step:not(.step-active) {
	display: none;
}

.form-step.step-active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.step-title {
	font-size: 2rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 0.5rem;
}

.step-description {
	color: var(--secondary-color);
	margin-bottom: 2rem;
	font-size: 1.1rem;
}

.form-label {
	font-weight: 600;
	color: #374151;
	margin-bottom: 0.5rem;
	display: block;
}

.form-control {
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	padding: 0.875rem 1rem;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-control:focus {
	border-color: var(--form-primary-color);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control.is-invalid {
	border-color: #ef4444;
}

.btn-group-custom {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.btn-option {
	padding: 1rem;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	background: white;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.btn-option:hover {
	border-color: var(--form-primary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-option.selected {
	border-color: var(--form-primary-color);
	background: rgba(37, 99, 235, 0.05);
}

.btn-option i {
	font-size: 1.5rem;
	color: var(--form-primary-color);
}

.checkbox-custom {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	margin-bottom: 0.75rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.checkbox-custom input {
	margin: 0 0 0 0;
}

.checkbox-custom:hover {
	border-color: var(--form-primary-color);
	background: rgba(37, 99, 235, 0.02);
}

.checkbox-custom:has(input:checked) {
	border-color: var(--form-primary-color);
	background: rgba(37, 99, 235, 0.05);
}

.navigation-buttons {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2rem 3rem;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
}

.btn-custom {
	padding: 0.875rem 2rem;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.btn-primary-custom {
	background: var(--form-primary-color);
	color: white;
}

.btn-primary-custom:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary-custom {
	background: #f1f5f9;
	color: var(--secondary-color);
	border: 1px solid #e2e8f0;
}

.btn-secondary-custom:hover {
	background: #e2e8f0;
}

.file-upload-area {
	border: 2px dashed #d1d5db;
	border-radius: 12px;
	padding: 3rem;
	text-align: center;
	transition: all 0.3s ease;
	cursor: pointer;
}

.file-upload-area:hover {
	border-color: var(--form-primary-color);
	background: rgba(37, 99, 235, 0.02);
}

.file-upload-area.dragover {
	border-color: var(--form-primary-color);
	background: rgba(37, 99, 235, 0.05);
}

.success-message {
	text-align: center;
	padding: 3rem;
}

.success-icon {
	font-size: 4rem;
	color: var(--success-color);
	margin-bottom: 1rem;
}

@media (max-width: 768px) {
	.form-step {
		padding: 2rem 1.5rem;
	}

	.navigation-buttons {
		padding: 1.5rem;
		flex-direction: column;
		gap: 1rem;
	}

	.progress-steps {
		gap: 0.5rem;
	}

	.step-connector {
		display: none;
	}

	.step {
		font-size: 0.8rem;
		padding: 0.5rem 1rem;
	}
}
/*** select2 styles for form ***/
.select2.select2-container.select2-container--default {
	width: 100% !important;
}
.select2-container--default .select2-selection--single {
	width: 100%;
	height: 56px !important;
   border-radius: 10px;
}
.select2-selection__rendered {
	margin-top: 12px;
	margin-left:12px;
	font-size: 16px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #000 transparent transparent transparent;
	border-width: 10px 8px 0 8px;
	margin-left: -28px;
	margin-top: 10px;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent #000 transparent;
	border-width: 0 8px 10px 8px;
}
/*** google autocomplete styles ***/
.pac-container {
  border: 1px solid #e6e6e6;
  border-radius: 0 0 8px 8px;
  border-top: 0;
  box-shadow: none;
  color: #0079c2;
  font: 400 14px Poppins,"Open Sans", sans-serif !important;
  margin: 0 0 0 1px;
  z-index: 10000;
}
.pac-container .pac-matched {
  color: #0079c2 !important;
  font: inherit !important;
  font-weight: 600 !important;
}
.pac-item {
  border: 1px solid #e6e6e6;
  color: #606265 !important;
  font: inherit !important;
  padding: 9px 15px 7px;
}
.pac-item:hover,.pac-item:active,.pac-item:focus {
  background: rgba(0,121,194,.1);
  border-color: rgba(0,121,194,.25);
  color: #0079c2 !important;
}
.hdpi.pac-logo:after {
  background: none;
}
.pac-logo:after {
  content: "";
  padding: 0;
  height: 0;
}
.pac-item-query { color: currentColor !important;padding-right: 3px; }
.pac-item:first-child { border-top: 0; }
.pac-item:last-child { border-radius: 0 0 7px 7px; }

/* ===== Review Step (Step 5) Styles ===== */
.review-section {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1.25rem;
	transition: box-shadow 0.2s ease;
}

.review-section:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.review-section-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--form-primary-color);
}

.review-section-header i {
	font-size: 1.1rem;
	color: white;
	background: var(--form-primary-color);
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.review-section-header h5 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: #1e293b;
}

.review-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem 2rem;
}

.review-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.review-item .review-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.review-item .review-value {
	font-size: 0.95rem;
	font-weight: 500;
	color: #1e293b;
}

.review-item.full-width {
	grid-column: 1 / -1;
}

.review-subsection {
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-top: 0.75rem;
}

.review-subsection-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: #475569;
}

.review-subsection-header i {
	color: var(--form-primary-color);
	font-size: 0.85rem;
}

.review-method-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, var(--form-primary-color), #0a6a93);
	color: white;
	padding: 0.5rem 1.25rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.9rem;
}

.review-method-badge i {
	font-size: 0.85rem;
}

.review-service-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--success-color);
	color: white;
	padding: 0.4rem 1rem;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.85rem;
}

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