/**
 * hns-cx my-account front styles (Phase 6 G1)
 * BAUM 統一トーン: #333 black + #f5f0e8 cream + monospace tracking number.
 * snippet #678 (テーマ統一 CSS) と整合。
 */

/* セクション全体 */
.hns-cx-progress {
	margin: 32px 0;
	padding: 24px;
	background: #fff;
	border: 1px solid #e6e1d6;
	border-radius: 0;
}

.hns-cx-progress__title {
	margin: 0 0 20px;
	padding: 0 0 12px;
	border-bottom: 1px solid #e6e1d6;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #333;
}

/* タイムライン */
.hns-cx-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.hns-cx-timeline__item {
	position: relative;
	padding: 0 0 24px 32px;
	min-height: 36px;
}

.hns-cx-timeline__item:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 18px;
	width: 2px;
	bottom: -6px;
	background: #d6d0c0;
}

.hns-cx-timeline__item.done:not(:last-child)::before {
	background: #333;
}

.hns-cx-timeline__item.pending:not(:last-child)::before {
	background: #d6d0c0;
	border-left: 2px dotted #d6d0c0;
	background: transparent;
}

.hns-cx-timeline__dot {
	position: absolute;
	left: 5px;
	top: 6px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #d6d0c0;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #d6d0c0;
}

.hns-cx-timeline__item.done .hns-cx-timeline__dot {
	background: #333;
	box-shadow: 0 0 0 1px #333;
}

.hns-cx-timeline__item.current .hns-cx-timeline__dot {
	background: #333;
	box-shadow: 0 0 0 4px rgba(51, 51, 51, 0.15);
}

.hns-cx-timeline__content {
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

.hns-cx-timeline__label {
	display: block;
	font-weight: 700;
	color: #333;
}

.hns-cx-timeline__item.pending .hns-cx-timeline__label {
	color: #999;
	font-weight: 500;
}

.hns-cx-timeline__at {
	display: inline-block;
	margin-top: 2px;
	font-size: 12px;
	color: #777;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.hns-cx-timeline__note {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: #777;
	line-height: 1.6;
}

/* 追跡番号ブロック */
.hns-cx-tracking {
	margin-top: 12px;
	padding: 16px;
	background: #f5f0e8;
	border-radius: 0;
}

.hns-cx-tracking__meta {
	margin-bottom: 12px;
}

.hns-cx-tracking__carrier {
	display: inline-block;
	margin-right: 10px;
	padding: 3px 10px;
	background: #333;
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.05em;
}

.hns-cx-tracking__no {
	display: inline-block;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-weight: 700;
	font-size: 16px;
	color: #333;
	user-select: all;
	-webkit-user-select: all;
	letter-spacing: 0.02em;
}

.hns-cx-tracking__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 220px;
	min-height: 48px;
	padding: 12px 24px;
	background: #333;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.05em;
	border: 0;
	transition: background 0.2s ease;
}

.hns-cx-tracking__button:hover,
.hns-cx-tracking__button:focus {
	background: #555;
	color: #fff !important;
	text-decoration: none !important;
	outline: 2px solid rgba(51, 51, 51, 0.4);
	outline-offset: 2px;
}

.hns-cx-tracking__no-url {
	display: block;
	font-size: 12px;
	color: #777;
}

/* モバイル */
@media (max-width: 640px) {
	.hns-cx-progress {
		padding: 16px;
		margin: 16px 0;
	}

	.hns-cx-tracking__button {
		display: block;
		width: 100%;
		min-width: 0;
	}
}
