/**
 * Pending auction invoice on My Account > Orders.
 */
.gle-auction-payment-due {
	margin: 0 0 32px;
	padding: clamp(20px, 3vw, 26px);
	border: 1px solid #d9dfe7;
	border-top: 4px solid #b68a3a;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(23, 54, 93, 0.08);
}

.gle-auction-payment-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 10px;
}

.gle-auction-payment-kicker {
	margin: 0 0 3px;
	color: #6b7280;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.gle-auction-payment-heading h2,
.gle-order-history-title {
	margin: 0;
	color: #17365d;
}

.gle-auction-payment-heading h2 {
	font-size: 27px;
	line-height: 1.2;
}

.gle-auction-payment-status {
	flex: 0 0 auto;
	padding: 7px 11px;
	border-radius: 999px;
	background: #fff4d6;
	color: #765300;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.gle-auction-payment-intro {
	margin: 0 0 16px;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.5;
}

.gle-auction-payment-table {
	width: 100%;
	margin: 0 0 18px;
	border-collapse: collapse;
}

.gle-auction-payment-table th,
.gle-auction-payment-table td {
	padding: 10px 11px;
	border-bottom: 1px solid #e5e7eb;
	text-align: left;
	vertical-align: middle;
}

.gle-auction-payment-table th:last-child,
.gle-auction-payment-table td:last-child {
	text-align: right;
	white-space: nowrap;
}

.gle-auction-payment-table thead th {
	background: #f7f4ee;
	color: #17365d;
	font-size: 12px;
}

.gle-auction-payment-table tbody td:first-child a {
	color: #17365d;
	font-weight: 600;
	text-decoration: none;
}

.gle-auction-payment-table tbody td:first-child a:hover {
	color: #9b722b;
}

.gle-auction-ended-date {
	display: block;
	margin-top: 2px;
	color: #747b85;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.35;
}

/* Simple Auctions may inject countdown markup after the table renders. */
.gle-auction-payment-due .auction-time,
.gle-auction-payment-due .auction-time-countdown,
.gle-auction-payment-due .main-auction,
.gle-auction-payment-due .hasCountdown,
.gle-auction-payment-due .countdown_row,
.gle-auction-payment-due .countdown_section,
.gle-auction-payment-due [class*="countdown"] {
	display: none !important;
}

.gle-auction-payment-table tfoot th {
	color: #374151;
	font-weight: 600;
}

.gle-auction-payment-table .gle-auction-payment-total th,
.gle-auction-payment-table .gle-auction-payment-total td {
	border-top: 2px solid #17365d;
	border-bottom: 0;
	color: #17365d;
	font-size: 17px;
	font-weight: 800;
}

.woocommerce-account .gle-auction-payment-button {
	min-width: 190px;
	text-align: center;
}

.gle-order-history-title {
	margin: 0 0 14px;
	font-size: 23px;
}

@media (max-width: 600px) {
	.gle-auction-payment-due {
		margin: 0 0 26px;
		padding: 18px 15px;
		border-radius: 7px;
		box-shadow: 0 5px 16px rgba(23, 54, 93, 0.07);
	}

	.gle-auction-payment-heading {
		display: block;
		margin-bottom: 10px;
	}

	.gle-auction-payment-heading h2 {
		font-size: 23px;
	}

	.gle-auction-payment-status {
		display: inline-block;
		margin-top: 8px;
		padding: 6px 10px;
	}

	.gle-auction-payment-intro {
		margin-bottom: 13px;
		font-size: 13px;
	}

	.gle-auction-payment-table {
		margin-bottom: 16px;
	}

	.gle-auction-payment-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.gle-auction-payment-table tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 12px;
		padding: 10px 0;
		border-bottom: 1px solid #e5e7eb;
	}

	.gle-auction-payment-table tbody td {
		display: block;
		min-width: 0;
		padding: 0;
		border: 0;
		text-align: left;
		white-space: normal;
	}

	.gle-auction-payment-table tbody td::before {
		display: none;
		content: none;
	}

	.gle-auction-payment-table tbody td:last-child {
		text-align: right;
	}

	.gle-auction-payment-table tbody td:first-child a {
		display: block;
		overflow-wrap: anywhere;
	}

	.gle-auction-ended-date {
		margin-top: 3px;
		font-size: 10px;
	}

	.gle-auction-payment-table tfoot th,
	.gle-auction-payment-table tfoot td {
		padding: 9px 0;
		font-size: 13px;
	}

	.gle-auction-payment-table .gle-auction-payment-total th,
	.gle-auction-payment-table .gle-auction-payment-total td {
		font-size: 16px;
	}

	.woocommerce-account .gle-auction-payment-button {
		display: block;
		width: 100%;
		min-height: 44px;
	}

	.gle-order-history-title {
		margin-bottom: 12px;
		font-size: 21px;
	}
}
