/**
 * Print document styles
 *
 * Table of contents
 * 1. Page foundation
 * 2. Withdrawal sheet
 * 3. Actions
 * 4. Responsive and print rules
 */

/* 1. Page foundation
-------------------------------------------------------------- */
@page {
	size: A4;
	margin: 16mm;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: #eef2f7;
	color: #172033;
	font: 15px/1.5 Arial, sans-serif;
}
/* End page foundation */

/* 2. Withdrawal sheet
-------------------------------------------------------------- */
.rwlwc-print-sheet {
	width: 210mm;
	min-height: 297mm;
	margin: 20px auto;
	padding: 18mm;
	background: #fff;
	box-shadow: 0 8px 30px #192b461f;
}

.rwlwc-print-sheet h1 {
	padding-bottom: 12px;
	border-bottom: 3px solid #173faf;
}

.rwlwc-print-recipient {
	padding: 14px 16px;
	border-left: 4px solid #173faf;
	background: #f4f7ff;
}

.rwlwc-print-sheet .field {
	margin: 18px 0;
}

.rwlwc-print-sheet .line {
	display: block;
	min-height: 30px;
	border-bottom: 1px solid #283548;
}
/* End withdrawal sheet */

/* 3. Actions
-------------------------------------------------------------- */
.rwlwc-print-actions {
	display: flex;
	gap: 12px;
	max-width: 210mm;
	margin: 20px auto;
}

.rwlwc-print-actions button,
.rwlwc-print-actions a {
	padding: 11px 18px;
	border: 0;
	border-radius: 4px;
	background: #173faf;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}
/* End actions */

/* 4. Responsive and print rules
-------------------------------------------------------------- */
@media (max-width: 850px) {
	.rwlwc-print-sheet {
		width: auto;
		min-height: 0;
		margin: 0;
		padding: 24px;
	}

	.rwlwc-print-actions {
		padding: 0 16px;
	}
}

@media print {
	body {
		background: #fff;
	}

	.rwlwc-print-sheet {
		width: auto;
		min-height: 0;
		margin: 0;
		padding: 0;
		box-shadow: none;
	}

	.rwlwc-print-actions {
		display: none;
	}
}
/* End responsive and print rules */
