.otw-timeline-wrapper {
	margin-top: 20px;
	padding: 16px;
	border: 1px solid #e5e5e5;
	background: #fff;
	border-radius: 6px;
}

.otw-timeline {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
	display: flex;
	gap: 24px;
	align-items: center;
}

.otw-timeline-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	position: relative;
	color: #777;
	min-width: 120px;
	text-align: center;
}

.otw-timeline-item::after {
	content: "";
	position: absolute;
	top: 12px;
	right: -22px;
	width: 24px;
	height: 2px;
	background: #ddd;
}

.otw-timeline-item:last-child::after {
	display: none;
}

.otw-timeline-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ddd;
	display: inline-block;
}

.otw-timeline-item.is-complete .otw-timeline-dot,
.otw-timeline-item.is-current .otw-timeline-dot {
	background: var(--otw-accent, #3b82f6);
}

.otw-timeline-item.is-complete {
	color: #444;
}

.otw-timeline-item.is-current {
	color: var(--otw-accent, #3b82f6);
	font-weight: 600;
}

.otw-timeline-events {
	margin-top: 16px;
	border-top: 1px solid #eee;
	padding-top: 12px;
	display: grid;
	gap: 8px;
}

.otw-timeline-event {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 12px;
	font-size: 14px;
	color: #555;
}

.otw-timeline-event-date {
	color: #999;
}

.otw-timeline--compact .otw-timeline {
	gap: 12px;
}

.otw-timeline--compact .otw-timeline-item {
	min-width: 90px;
	font-size: 13px;
}

@media (max-width: 768px) {
	.otw-timeline {
		flex-direction: column;
		align-items: flex-start;
	}

	.otw-timeline-item {
		flex-direction: row;
		min-width: auto;
	}

	.otw-timeline-item::after {
		display: none;
	}

	.otw-timeline-event {
		grid-template-columns: 1fr;
	}
}
