/* ============================================================
   Exchange stepper — inc/exchange_steps.inc.php
   (uses the site colours: green #79b45b, blue #3b82f6)
   ============================================================ */
.xsteps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin: 18px 0 24px;
	padding: 0;
	list-style: none;
}
.xstep {
	position: relative;
	flex: 1 1 0;
	text-align: center;
	min-width: 0;
}
.xstep-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #f7f9fb;
	border: 2px solid #e3e8ef;
	color: #9aa5b1;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	position: relative;
	z-index: 2;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.xstep-num .fa { font-size: 15px; }

.xstep-label {
	display: block;
	margin-top: 7px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #8a97a5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* connecting line */
.xstep-line {
	position: absolute;
	top: 20px;
	left: calc(50% + 26px);
	width: calc(100% - 52px);
	height: 2px;
	background: #e3e8ef;
	z-index: 1;
}

/* completed */
.xstep.is-done .xstep-num {
	background: #79b45b;
	border-color: #79b45b;
	color: #fff;
}
.xstep.is-done .xstep-label { color: #5d8a45; }
.xstep.is-done .xstep-line  { background: #79b45b; }

/* current */
.xstep.is-current .xstep-num {
	background: #3b82f6;
	border-color: #3b82f6;
	color: #fff;
	box-shadow: 0 0 0 5px rgba(59, 130, 246, .16);
}
.xstep.is-current .xstep-label { color: #1e40af; }

/* upcoming */
.xstep.is-next .xstep-num { background: #f7f9fb; color: #b3bcc7; }

@media (max-width: 767px) {
	.xsteps { margin: 12px 0 16px; }
	.xstep-num { width: 34px; height: 34px; font-size: 14px; }
	.xstep-num .fa { font-size: 12px; }
	.xstep-line { top: 16px; left: calc(50% + 22px); width: calc(100% - 44px); }
	.xstep-label { font-size: 10px; letter-spacing: .2px; margin-top: 5px; }
}
