/* WooCommerce Wallet Cashback — front-end styles */

.ww-wallet-checkout {
	margin: 0 0 16px;
	padding: 16px;
	background: var(--card-bg);
	border: var(--border-hairline) solid var(--card-border);
	border-radius: var(--card-radius);
}

.ww-wallet-checkout__balance {
	margin: 8px 0;
}

.ww-wallet-checkout .ww-wallet-use-row {
	margin-bottom: 10px;
}

.ww-wallet-checkout .ww-wallet-use-row label {
	display: flex;
	align-items: center;
	gap: 10px;
	position: static !important;
}

.ww-wallet-checkout .ww-wallet-use-row input {
	accent-color: var(--action-primary);
}

.ww-wallet-checkout .ww-wallet-use-row input:focus,
.ww-wallet-checkout .ww-wallet-use-row input:focus-visible {
	outline: 2px solid var(--border-focus);
	outline-offset: 2px;
}

.ww-wallet-amount {
	font-weight: 600;
}

/* Green 700 and red 500: the saving and danger text colours. */
.ww-amount-positive {
	color: var(--text-success);
}

.ww-amount-negative {
	color: var(--text-danger);
}

.ww-wallet-pending {
	color: var(--text-tertiary);
}

.ww-wallet-history-count {
	margin: 0 0 8px;
	color: var(--text-tertiary);
	font-size: 0.9em;
}

.ww-wallet-pagination {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.ww-wallet-pagination__status {
	color: var(--text-tertiary);
	font-size: 0.9em;
}
