.ig-invoice-wrap {
	max-width: 820px;
	margin: 20px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #222;
}

.ig-invoice-toolbar {
	text-align: right;
	margin-bottom: 12px;
}

.ig-print-btn {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 8px 18px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.ig-invoice-sheet {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	padding: 40px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.ig-invoice-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	border-bottom: 2px solid #222;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.ig-logo {
	max-height: 60px;
	margin-bottom: 10px;
}

.ig-company-info h2 {
	margin: 0 0 6px;
}

.ig-company-info p {
	margin: 2px 0;
	font-size: 13px;
	color: #555;
}

.ig-invoice-meta {
	text-align: right;
}

.ig-invoice-meta h1 {
	margin: 0 0 10px;
	letter-spacing: 2px;
	color: #2271b1;
}

.ig-invoice-meta p {
	margin: 2px 0;
	font-size: 13px;
}

.ig-bill-to {
	margin-bottom: 25px;
}

.ig-bill-to h3 {
	margin: 0 0 6px;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
	color: #888;
}

.ig-line-items {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.ig-line-items th {
	text-align: left;
	background: #f6f7f7;
	padding: 10px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-bottom: 2px solid #e2e2e2;
}

.ig-line-items td {
	padding: 10px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}

.ig-line-items th:nth-child(2),
.ig-line-items th:nth-child(3),
.ig-line-items th:nth-child(4),
.ig-line-items td:nth-child(2),
.ig-line-items td:nth-child(3),
.ig-line-items td:nth-child(4) {
	text-align: right;
}

.ig-totals-block {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 30px;
}

.ig-totals-block table {
	min-width: 280px;
}

.ig-totals-block td {
	padding: 6px 10px;
	font-size: 14px;
}

.ig-totals-block td:last-child {
	text-align: right;
}

.ig-grand-row td {
	border-top: 2px solid #222;
	font-weight: 700;
	font-size: 16px;
	padding-top: 10px;
}

.ig-notes {
	border-top: 1px solid #eee;
	padding-top: 15px;
	font-size: 13px;
	color: #555;
}

.ig-notes h3 {
	margin: 0 0 6px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #888;
}

@media print {
	.ig-invoice-toolbar {
		display: none;
	}
	.ig-invoice-sheet {
		border: none;
		box-shadow: none;
		padding: 0;
	}
	body.ig-standalone {
		margin: 0;
	}
}

@media (max-width: 600px) {
	.ig-invoice-header {
		flex-direction: column;
	}
	.ig-invoice-meta {
		text-align: left;
		margin-top: 15px;
	}
	.ig-invoice-sheet {
		padding: 20px;
	}
}
