/* =========================================================
   DIRECT LOCAL - ONBOARDING
   ========================================================= */

.dl-onboarding {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 10px 0 60px;
	color: #061625;
}

/* Header */

.dl-onboarding-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 25px;
}

.dl-onboarding-header h1 {
	margin: 8px 0 8px;
	font-size: 42px;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -1.5px;
}

.dl-onboarding-header p {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #64748b;
}

.dl-eyebrow {
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 1.8px;
	color: #18c380;
	text-transform: uppercase;
}

.dl-onboarding-progress {
	min-width: 90px;
	text-align: right;
}

.dl-onboarding-progress strong {
	display: block;
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
}

.dl-onboarding-progress span {
	display: block;
	margin-top: 5px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.2px;
	color: #64748b;
}

/* Progress bar */

.dl-onboarding-progress-bar {
	width: 100%;
	height: 7px;
	margin-bottom: 30px;
	overflow: hidden;
	background: #e5eaf0;
	border-radius: 20px;
}

.dl-onboarding-progress-fill {
	height: 100%;
	background: #18c380;
	border-radius: 20px;
	transition: width .25s ease;
}

/* Messages */

.dl-onboarding-message {
	margin-bottom: 25px;
	padding: 16px 20px;
	border-radius: 10px;
	font-size: 14px;
}

.dl-onboarding-error {
	background: #fff1f1;
	border: 1px solid #f3caca;
	color: #a33a3a;
}

.dl-onboarding-error ul {
	margin: 8px 0 0 18px;
}

.dl-onboarding-success {
	background: #effaf5;
	border: 1px solid #b9ecd7;
	color: #08794d;
}

/* Main active step */

.dl-onboarding-step {
	display: flex;
	gap: 25px;
	padding: 30px;
	margin-bottom: 25px;
	background: #ffffff;
	border: 1px solid #dfe5eb;
	border-radius: 14px;
	box-shadow: 0 5px 20px rgba(6, 22, 37, .04);
}

.dl-onboarding-step-number {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #061625;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
}

.dl-onboarding-step-content {
	flex: 1;
	min-width: 0;
}

.dl-onboarding-step-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 25px;
}

.dl-onboarding-step-heading h2 {
	margin: 0 0 7px;
	font-size: 27px;
	line-height: 1.2;
	font-weight: 700;
	color: #061625;
}

.dl-onboarding-step-heading p {
	margin: 0;
	max-width: 760px;
	font-size: 14px;
	line-height: 1.6;
	color: #64748b;
}

/* Complete badge */

.dl-onboarding-complete {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 12px;
	background: #eafaf3;
	border-radius: 30px;
	color: #0a8f5d;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

/* Form */

.dl-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.dl-form-field-full {
	grid-column: 1 / -1;
}

.dl-form-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 600;
	color: #061625;
}

.dl-form-field label span {
	color: #18c380;
}

.dl-form-field input,
.dl-form-field textarea,
.dl-form-field select {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 15px;
	border: 1px solid #d8dee5;
	border-radius: 7px;
	background: #ffffff;
	color: #061625;
	font-family: inherit;
	font-size: 14px;
	outline: none;
}

.dl-form-field input:focus,
.dl-form-field textarea:focus,
.dl-form-field select:focus {
	border-color: #18c380;
	box-shadow: 0 0 0 3px rgba(24, 195, 128, .10);
}

.dl-form-field textarea {
	min-height: 90px;
	resize: vertical;
}

.dl-form-field small {
	display: block;
	margin-top: 7px;
	font-size: 12px;
	line-height: 1.5;
	color: #7a8795;
}

/* Form footer */

.dl-onboarding-form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #edf0f3;
}

.dl-onboarding-form-footer > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.dl-onboarding-form-footer strong {
	font-size: 13px;
	color: #061625;
}

.dl-onboarding-form-footer span {
	font-size: 12px;
	color: #7a8795;
}

.dl-button-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border: 0;
	border-radius: 7px;
	background: #18c380;
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: .2s ease;
}

.dl-button-primary:hover {
	background: #0eaa6d;
	transform: translateY(-1px);
}

/* =========================================================
   REMAINING ONBOARDING STEPS
   ========================================================= */

.dl-onboarding-steps {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dl-onboarding-mini-step {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 19px 22px;
	background: #ffffff;
	border: 1px solid #dfe5eb;
	border-radius: 11px;
	text-decoration: none;
	color: #061625;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dl-onboarding-mini-step:hover {
	border-color: #18c380;
	box-shadow: 0 5px 18px rgba(6, 22, 37, .06);
	transform: translateY(-1px);
}

.dl-onboarding-mini-number {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d8dee5;
	border-radius: 50%;
	background: #f7f9fa;
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
}

.dl-onboarding-mini-step.is-complete .dl-onboarding-mini-number {
	border-color: #18c380;
	background: #eafaf3;
	color: #0a8f5d;
}

.dl-onboarding-mini-content {
	flex: 1;
	min-width: 0;
}

.dl-onboarding-mini-content strong {
	display: block;
	margin-bottom: 4px;
	font-size: 15px;
	line-height: 1.3;
	color: #061625;
}

.dl-onboarding-mini-content span {
	display: block;
	font-size: 13px;
	line-height: 1.4;
	color: #7a8795;
}

.dl-onboarding-mini-status {
	flex: 0 0 auto;
}

.dl-onboarding-mini-status span {
	display: inline-flex;
	align-items: center;
	padding: 7px 11px;
	border-radius: 30px;
	background: #f3f5f7;
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
}

.dl-onboarding-mini-step.is-complete .dl-onboarding-mini-status span {
	background: #eafaf3;
	color: #0a8f5d;
}

/* Mobile */

@media (max-width: 767px) {

	.dl-onboarding {
		padding: 10px 15px 40px;
	}

	.dl-onboarding-header {
		display: block;
	}

	.dl-onboarding-header h1 {
		font-size: 32px;
	}

	.dl-onboarding-progress {
		margin-top: 20px;
		text-align: left;
	}

	.dl-onboarding-step {
		display: block;
		padding: 22px;
	}

	.dl-onboarding-step-number {
		margin-bottom: 20px;
	}

	.dl-onboarding-step-heading {
		display: block;
	}

	.dl-onboarding-step-heading h2 {
		font-size: 24px;
	}

	.dl-form-grid {
		grid-template-columns: 1fr;
	}

	.dl-form-field-full {
		grid-column: auto;
	}

	.dl-onboarding-form-footer {
		display: block;
	}

	.dl-button-primary {
		width: 100%;
		margin-top: 18px;
	}

	.dl-onboarding-mini-step {
		gap: 12px;
		padding: 15px;
	}

	.dl-onboarding-mini-number {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
	}

	.dl-onboarding-mini-status {
		display: none;
	}
}

/* Uploaded logo */
.dl-onboarding-uploaded-file {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px;
	margin-bottom: 16px;
	border: 1px solid #e4e9ee;
	border-radius: 10px;
	background: #fafbfc;
}

.dl-onboarding-uploaded-preview {
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	border: 1px solid #e5e9ed;
}

.dl-onboarding-uploaded-preview img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}


/* Uploaded photos */
.dl-onboarding-uploaded-photos {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.dl-onboarding-uploaded-photo {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid #e4e9ee;
	background: #fff;
}

.dl-onboarding-uploaded-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.dl-onboarding-uploaded-photo a {
	display: block;
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}


/* File inputs */
.dl-onboarding-form input[type="file"] {
	width: 100%;
	padding: 14px;
	border: 1px dashed #cbd3da;
	border-radius: 8px;
	background: #f7f8fa;
	box-sizing: border-box;
	cursor: pointer;
}


/* Mobile */
@media (max-width: 767px) {

	.dl-onboarding-uploaded-photos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}