/* Progenion Retour & Reparatie — frontend (Mijn account). */

.pgr-account {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.pgr-card {
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: 14px;
	box-shadow: 0 2px 10px rgba( 17, 24, 39, 0.05 );
	padding: 24px;
}

.pgr-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
}

.pgr-row {
	display: flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.pgr-row:hover {
	box-shadow: 0 6px 18px rgba( 17, 24, 39, 0.1 );
	transform: translateY( -1px );
}

.pgr-row-number {
	font-weight: 600;
}

.pgr-row-date {
	color: #6b7280;
	font-size: 0.9em;
}

.pgr-badge {
	display: inline-block;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-left: auto;
	padding: 4px 12px;
	white-space: nowrap;
}

.pgr-tabs {
	display: flex;
	gap: 8px;
	margin: 16px 0;
}

.pgr-tab {
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	cursor: pointer;
	padding: 8px 18px;
}

.pgr-tab.is-active {
	background: #111827;
	border-color: #111827;
	color: #fff;
}

.pgr-fields {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat( auto-fit, minmax( 180px, 1fr ) );
}

.pgr-message {
	border-radius: 10px;
	display: none;
	margin-top: 12px;
	padding: 12px 16px;
}

.pgr-message.is-error,
.pgr-success .is-error {
	background: #fee2e2;
	color: #991b1b;
}

.pgr-message.is-info {
	background: #dbeafe;
	color: #1e40af;
}

.pgr-product {
	border: 1px solid #eef0f3;
	border-radius: 12px;
	margin-bottom: 12px;
	padding: 14px 16px;
}

.pgr-product-head {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 12px;
	margin: 0;
}

.pgr-product-img img {
	border-radius: 8px;
	display: block;
	height: 48px;
	object-fit: cover;
	width: 48px;
}

.pgr-product-fields {
	border-top: 1px dashed #e5e7eb;
	margin-top: 14px;
	padding-top: 14px;
}

.pgr-timeline {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.pgr-timeline li {
	border-left: 2px solid #e5e7eb;
	margin: 0;
	padding: 8px 0 8px 16px;
	position: relative;
}

.pgr-timeline li::before {
	background: #93c5fd;
	border-radius: 50%;
	content: '';
	height: 10px;
	left: -6px;
	position: absolute;
	top: 14px;
	width: 10px;
}

.pgr-timeline-date {
	color: #6b7280;
	display: block;
	font-size: 0.85em;
}

.pgr-success {
	background: #dcfce7;
	border-color: #bbf7d0;
}

@media ( max-width: 600px ) {
	.pgr-card {
		padding: 16px;
	}

	.pgr-row {
		flex-wrap: wrap;
	}
}
