@charset "utf-8";

/* 견적 진행 현황 (order-form.css 의 토큰/버튼을 함께 사용한다) */
.qs-page {
	padding: 24px 0 100px;
	font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
	color: var(--of-text, #1f2937);
	background: #ffffff;
}

.qs-inner {
	max-width: 880px;
	margin: 0 auto;
	padding: 0 24px;
}

.qs-crumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #9aa4b2;
}

.qs-crumb a {
	color: inherit;
	text-decoration: none !important;
}

.qs-crumb strong {
	font-weight: 600;
	color: #6b7280;
}

.qs-head {
	padding: 46px 0 40px;
	text-align: center;
}

.qs-head__title {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #111827;
}

.qs-head__desc {
	margin: 0;
	font-size: 13px;
	color: #6b7280;
}

/* ============================== 조회 폼 */
.qs-search {
	max-width: 520px;
	margin: 0 auto;
	padding: 30px 28px;
	background: #f7f9fc;
	border: 1px solid #e5e9ef;
	border-radius: 10px;
}

.qs-search__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 18px;
}

.qs-search__field label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
}

.qs-search__field input {
	width: 100%;
	padding: 12px 14px;
	font-size: 13px;
	color: #1f2937;
	background: #ffffff;
	border: 1px solid #dfe4ec;
	border-radius: 6px;
	outline: none;
}

.qs-search__field input:focus {
	border-color: var(--of-navy, #123a63);
}

.qs-search__error {
	margin: 0 0 16px;
	font-size: 12px;
	color: #d94a4a;
}

.qs-search__btn {
	margin: 0;
}

/* ============================== 접수번호 */
.qs-receipt {
	padding: 34px 0 30px;
	text-align: center;
}

.qs-receipt__label {
	margin: 0 0 10px;
	font-size: 12px;
	color: #6b7280;
}

.qs-receipt__no {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #111827;
	word-break: break-all;
}

/* ============================== 진행 단계 */
.qs-steps {
	display: flex;
	margin: 20px 0 40px;
	padding: 0;
	list-style: none;
}

.qs-step {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* 단계 사이 연결선 */
.qs-step:not(:first-child)::before {
	content: "";
	position: absolute;
	top: 17px;
	right: 50%;
	left: -50%;
	height: 2px;
	background: var(--of-navy, #123a63);
}

.qs-step:not(.is-done):not(.is-current)::before,
.qs-step.is-current + .qs-step::before {
	background: transparent;
	border-top: 2px dotted #d7dfe9;
	height: 0;
}

.qs-step__dot {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 14px;
	color: #ffffff;
	background: #dfe4ec;
	border-radius: 50%;
}

.qs-step.is-done .qs-step__dot {
	background: var(--of-navy, #123a63);
}

.qs-step.is-current .qs-step__dot {
	background: #ffffff;
	border: 4px solid var(--of-navy, #123a63);
}

.qs-step__name {
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #9aa4b2;
}

.qs-step.is-done .qs-step__name,
.qs-step.is-current .qs-step__name {
	color: #111827;
}

.qs-step.is-current .qs-step__name {
	color: var(--of-navy, #123a63);
}

.qs-step__date {
	font-size: 11px;
	color: #9aa4b2;
}

.qs-step.is-current .qs-step__date {
	font-weight: 700;
	color: var(--of-navy, #123a63);
}

/* ============================== 안내 메시지 */
.qs-message {
	padding: 28px 20px;
	margin-bottom: 48px;
	text-align: center;
	background: #f4f7fc;
	border-radius: 10px;
}

.qs-message__title {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
}

.qs-message__desc {
	margin: 0;
	font-size: 12px;
	color: #6b7280;
}

/* ============================== 견적 정보 */
.qs-info__title {
	margin: 0 0 16px;
	padding-bottom: 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--of-navy, #123a63);
	border-bottom: 2px solid var(--of-navy, #123a63);
}

.qs-info__table {
	width: 100%;
	border-collapse: collapse;
}

.qs-info__table tr {
	border-bottom: 1px solid #e5e9ef;
}

.qs-info__table th {
	width: 160px;
	padding: 16px 8px;
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
	text-align: left;
	vertical-align: top;
}

.qs-info__table td {
	padding: 16px 8px;
	font-size: 13px;
	color: #1f2937;
}

.qs-info__products table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}

.qs-info__products td,
.qs-info__products th {
	padding: 6px 8px;
	border: 1px solid #e5e9ef;
}

.qs-actions {
	display: flex;
	gap: 10px;
	margin-top: 32px;
}

.qs-actions .of-btn {
	margin: 0;
}

.qs-tel {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
	padding: 16px;
	font-size: 13px;
	color: #6b7280;
	background: #f2f5f9;
	border-radius: 8px;
}

.qs-tel strong {
	font-size: 15px;
	font-weight: 800;
	color: var(--of-navy, #123a63);
}

/* ============================== 반응형 */
@media (max-width: 768px) {
	.qs-inner {
		padding: 0 16px;
	}

	.qs-head {
		padding: 30px 0 26px;
	}

	.qs-head__title {
		font-size: 22px;
	}

	.qs-receipt__no {
		font-size: 20px;
	}

	.qs-search__row {
		grid-template-columns: 1fr;
	}

	.qs-steps {
		margin-bottom: 30px;
	}

	.qs-step__dot {
		width: 30px;
		height: 30px;
		margin-bottom: 10px;
	}

	.qs-step:not(:first-child)::before {
		top: 14px;
	}

	.qs-step__name {
		font-size: 11px;
	}

	.qs-step__date {
		font-size: 10px;
	}

	.qs-info__table th {
		width: 96px;
		font-size: 12px;
	}

	.qs-actions {
		flex-direction: column;
	}
}
