/* 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;
}

/* ==== Wederverkopersportaal 2.0 ==== */

.pgr-reseller {
	margin: 0 auto;
	max-width: 980px;
}

.pgr-reseller {
	--pgr-blue: #1268b1;
	--pgr-blue-dark: #0d4f87;
	--pgr-blue-light: #c8e6f8;
	--pgr-orange: #ff6900;
	--pgr-orange-dark: #e05e00;
}

.pgr-hero {
	background: linear-gradient( 135deg, var( --pgr-blue-dark ) 0%, var( --pgr-blue ) 100% );
	border-radius: 18px;
	color: #fff;
	margin-bottom: 28px;
	padding: 40px 36px;
}

.pgr-hero h2 {
	color: #fff;
	font-size: 28px;
	margin: 0 0 8px;
}

.pgr-hero > p {
	color: #cbd5e1;
	font-size: 16px;
	margin: 0 0 28px;
	max-width: 640px;
}

.pgr-steps {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat( auto-fit, minmax( 200px, 1fr ) );
}

.pgr-step {
	background: rgba( 255, 255, 255, 0.07 );
	border: 1px solid rgba( 255, 255, 255, 0.12 );
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
}

.pgr-step-nr {
	align-items: center;
	background: var( --pgr-orange );
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-weight: 700;
	height: 26px;
	justify-content: center;
	margin-bottom: 6px;
	width: 26px;
}

.pgr-step strong {
	color: #fff;
}

.pgr-step span:last-child {
	color: #cbd5e1;
	font-size: 13px;
}

.pgr-grid-2 {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr 1.2fr;
}

.pgr-reseller .pgr-card h3 {
	margin-top: 0;
}

.pgr-reseller input[type='text'],
.pgr-reseller input[type='email'],
.pgr-reseller input[type='password'],
.pgr-reseller input[type='number'],
.pgr-reseller select,
.pgr-reseller textarea {
	border: 1px solid #d1d5db;
	border-radius: 10px;
	box-sizing: border-box;
	padding: 10px 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	width: 100%;
}

.pgr-reseller input:focus,
.pgr-reseller select:focus,
.pgr-reseller textarea:focus {
	border-color: var( --pgr-blue );
	box-shadow: 0 0 0 3px rgba( 18, 104, 177, 0.15 );
	outline: none;
}

.pgr-reseller a {
	color: var( --pgr-blue );
}

.pgr-reseller .pgr-card h3 {
	border-bottom: 3px solid var( --pgr-blue-light );
	display: inline-block;
	padding-bottom: 6px;
}

.pgr-logout {
	color: var( --pgr-blue );
	float: right;
	font-size: 13px;
	font-weight: 400;
}

.pgr-reseller .form-row label,
.pgr-reseller form p > label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 4px;
}

.pgr-reseller .button,
.pgr-reseller input[type='submit'] {
	background: var( --pgr-orange );
	border: 0;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	font-weight: 600;
	padding: 12px 24px;
	transition: background 0.15s ease;
	width: auto;
}

.pgr-reseller .button:hover,
.pgr-reseller input[type='submit']:hover {
	background: var( --pgr-orange-dark );
	color: #fff;
}

.pgr-reseller .login-remember {
	margin: 8px 0;
}

.pgr-reseller h4 {
	border-top: 1px dashed #e5e7eb;
	margin: 22px 0 10px;
	padding-top: 18px;
}

.pgr-reseller-customer-address {
	background: #f9fafb;
	border-radius: 10px;
	margin-top: 8px;
	padding: 12px 16px;
}

@media ( max-width: 760px ) {
	.pgr-grid-2 {
		grid-template-columns: 1fr;
	}

	.pgr-hero {
		padding: 28px 22px;
	}
}

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

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

/* ---- Wederverkopersportaal: blokindeling van het aanmeldformulier ---- */

.pgr-muted {
	color: #6b7280;
	font-size: 13px;
}

.pgr-form-grid {
	align-items: start;
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr 1fr;
}

.pgr-block {
	background: #fcfdfe;
	border: 1px solid #eef0f3;
	border-radius: 12px;
	padding: 18px 20px;
}

.pgr-block-wide {
	margin-top: 20px;
}

.pgr-reseller .pgr-block h4 {
	align-items: center;
	border-top: 0;
	display: flex;
	gap: 10px;
	margin: 0 0 12px;
	padding-top: 0;
}

.pgr-block-nr {
	align-items: center;
	background: var( --pgr-blue );
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	height: 24px;
	justify-content: center;
	width: 24px;
}

.pgr-choices {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr 1fr;
	margin: 14px 0 4px;
}

.pgr-choice {
	background: #fff;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	cursor: pointer;
	display: block;
	padding: 16px 18px;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.pgr-choice:hover {
	border-color: var( --pgr-blue-light );
}

.pgr-choice.is-active {
	background: #f5faff;
	border-color: var( --pgr-blue );
}

.pgr-choice-title {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-weight: 700;
	gap: 8px;
}

.pgr-choice-title input[type='radio'] {
	margin: 0;
	width: auto;
}

.pgr-choice-tag {
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 10px;
}

.pgr-choice-tag.is-paid {
	background: var( --pgr-orange );
	color: #fff;
}

.pgr-choice-tag.is-free {
	background: #dcfce7;
	color: #166534;
}

.pgr-choice p {
	color: #6b7280;
	font-size: 13px;
	margin: 8px 0 0;
}

.pgr-address-box {
	background: #f9fafb;
	border-left: 4px solid var( --pgr-blue );
	border-radius: 10px;
	line-height: 1.6;
	margin-top: 14px;
	padding: 14px 18px;
}

.pgr-label-question {
	margin-top: 16px;
}

.pgr-submit-row {
	margin-top: 20px;
}

.pgr-row-tag {
	background: #f3f4f6;
	border-radius: 999px;
	color: #4b5563;
	font-size: 12px;
	padding: 2px 10px;
	white-space: nowrap;
}

@media ( max-width: 760px ) {
	.pgr-form-grid,
	.pgr-choices {
		grid-template-columns: 1fr;
	}
}

/* ---- Betaalpagina retourlabel (order-pay, alleen portaalorders) ---- */

.pgr-pay .woocommerce {
	margin: 0 auto;
	max-width: 760px;
}

.pgr-pay .pgr-pay-intro {
	border-left: 4px solid #1268b1;
}

.pgr-pay .pgr-pay-intro h3 {
	margin-top: 0;
}

.pgr-pay table.shop_table {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-collapse: separate;
	border-radius: 12px;
	border-spacing: 0;
	margin: 0 0 24px;
	overflow: hidden;
	width: 100%;
}

.pgr-pay table.shop_table th,
.pgr-pay table.shop_table td {
	border: 0;
	border-bottom: 1px solid #eef0f3;
	padding: 14px 18px;
	text-align: left;
}

.pgr-pay table.shop_table thead th {
	background: #f8fafc;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
}

.pgr-pay table.shop_table .product-quantity,
.pgr-pay table.shop_table .product-total {
	text-align: right;
}

.pgr-pay table.shop_table tfoot th {
	font-weight: 600;
}

.pgr-pay table.shop_table tfoot td {
	text-align: right;
}

.pgr-pay table.shop_table tfoot tr:last-child th,
.pgr-pay table.shop_table tfoot tr:last-child td {
	border-bottom: 0;
	font-size: 17px;
	font-weight: 700;
}

.pgr-pay #payment {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 20px 22px;
}

.pgr-pay #payment ul.payment_methods {
	list-style: none;
	margin: 0 0 4px;
	padding: 0;
}

.pgr-pay #payment li.wc_payment_method {
	background: #f5faff;
	border: 2px solid #1268b1;
	border-radius: 10px;
	list-style: none;
	margin: 0 0 10px;
	padding: 14px 16px;
}

.pgr-pay #payment li.wc_payment_method label {
	cursor: pointer;
	display: inline;
	font-weight: 700;
	margin: 0;
}

.pgr-pay #payment li.wc_payment_method img {
	margin-left: 8px;
	max-height: 26px;
	vertical-align: middle;
	width: auto;
}

.pgr-pay #payment div.payment_box {
	background: #f8fafc;
	border-radius: 8px;
	font-size: 14px;
	margin-top: 10px;
	padding: 10px 14px;
}

.pgr-pay .woocommerce-terms-and-conditions-wrapper {
	margin: 16px 0;
}

.pgr-pay #place_order {
	background: #ff6900;
	border: 0;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	padding: 14px 30px;
	transition: background 0.15s ease;
}

.pgr-pay #place_order:hover {
	background: #e05e00;
	color: #fff;
}

@media ( max-width: 600px ) {
	.pgr-pay table.shop_table th,
	.pgr-pay table.shop_table td {
		padding: 10px 12px;
	}

	.pgr-pay #place_order {
		width: 100%;
	}
}
