/* Tableau de bord */
.wsc-dashboard-summary {
	margin: 0 0 24px;
}

.wsc-dashboard-summary h3 {
	margin-bottom: 10px;
}

.wsc-dashboard-card {
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	padding: 16px 18px;
	background: #fafafa;
}

.wsc-dashboard-card-main {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.wsc-dashboard-status {
	background: #eef3ee;
	color: #2e4d33;
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 12px;
}

.wsc-dashboard-delivery {
	font-size: 14px;
	color: #444;
	margin-bottom: 10px;
}

.wsc-dashboard-link {
	font-size: 13px;
	text-decoration: underline;
}

/* Colonne "Livraison" dans l'historique de commandes */
.wsc-orders-table-delivery {
	font-size: 13px;
	color: #444;
}

/* Timeline sur la page de suivi de commande */
.wsc-tracking-block {
	margin: 20px 0 30px;
	padding: 18px 20px;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #fff;
}

.wsc-tracking-issue {
	padding: 14px 16px;
	border-radius: 6px;
	margin: 0;
}

.wsc-tracking-issue--payment {
	background: #fdf1f1;
	border: 1px solid #f0c9c9;
}

.wsc-tracking-issue-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #b32d2e;
	margin-bottom: 8px;
}

.wsc-tracking-issue-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #b32d2e;
	color: #fff;
	font-size: 13px;
	line-height: 1;
}

.wsc-tracking-issue-message {
	font-size: 13px;
	color: #6b4a4a;
	margin: 0 0 12px;
}

.wsc-tracking-issue-cta {
	display: inline-block;
	background: #b32d2e;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 16px;
	border-radius: 4px;
}

.wsc-tracking-issue-cta:hover {
	background: #942424;
	color: #fff;
}

.wsc-tracking-issue--neutral {
	font-weight: 600;
	color: #555;
	background: #f5f5f5;
	border: 1px solid #e5e5e5;
}

.wsc-review-cta {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 6px;
	background: #f4f8fb;
	border: 1px solid #dce8f0;
}

.wsc-review-cta-title {
	font-weight: 600;
	margin: 0 0 4px;
	color: #1c4a63;
}

.wsc-review-cta p {
	font-size: 13px;
	color: #444;
	margin: 0;
}

.wsc-timeline {
	list-style: none;
	display: flex;
	margin: 10px 0 18px;
	padding: 0;
}

.wsc-timeline-step {
	flex: 1;
	text-align: center;
	position: relative;
	font-size: 12px;
	color: #999;
}

.wsc-timeline-step::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -50%;
	width: 100%;
	height: 2px;
	background: #e0e0e0;
	z-index: 0;
}

.wsc-timeline-step:first-child::before {
	display: none;
}

.wsc-timeline-dot {
	display: block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #e0e0e0;
	margin: 0 auto 6px;
	position: relative;
	z-index: 1;
}

.wsc-timeline-step--done .wsc-timeline-dot,
.wsc-timeline-step--done::before,
.wsc-timeline-step--current::before {
	background: #4caf50;
}

.wsc-timeline-step--done {
	color: #2e4d33;
}

.wsc-timeline-step--current .wsc-timeline-dot {
	background: #2271b1;
	box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.2);
}

.wsc-timeline-step--current {
	color: #2271b1;
	font-weight: 600;
}

.wsc-timeline-label {
	display: block;
}

.wsc-timeline-date {
	display: block;
	font-size: 11px;
	color: #999;
}

.wsc-estimated-delivery {
	font-size: 14px;
	color: #333;
	margin: 0 0 10px;
}

.wsc-tracking-details {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 13px;
	margin-bottom: 10px;
	color: #555;
}

.wsc-tracking-link {
	font-weight: 600;
	text-decoration: underline;
}
