/* ==========================================================================
   Invoice Print Styles
   ========================================================================== */

body, html {
	background: white;
	font: 16px/24px Avenir Next, Open sans, Helvetica, Arial, Sans-Serif;
	width: 100%;
}

/* Only add padding on print preview pages (no .container) */
body:not(:has(.container)) {
	padding-left: 88px;
}

h1 {
	font-size: 2rem;
	line-height: 2.2rem;
	padding: 40px 0 0px 0;
	font-weight: 500;
}

h1 .inv-nn {
	margin-right: 0.3em;
}

.amount-thousands {
	margin-right: 0.2em;
	font-weight: 500;
}

h1 span {
	font-weight: 500;
}

.top {
	padding-top: 4px;
}

.strong {
	font-weight: 600;
}

.legal_id {
	padding-top: 4px;
}

.sort_of_label {
	font-size: 14px;
	color: #FF9000;
	margin: 28px 0 4px 0;
}

.sort_of_label_new {
	font-size: 14px;
	color: #FF9000;
	margin: 16px 0 4px 0;
}

.key {
	font-size: 2rem;
	line-height: 2.2rem;
	padding: 8px 0 0px 0;
	font-weight: 500;
}

.sort_of_space {
	margin-left: 3px;
}

.key .sort_of_space {
	margin-left: 5px;
}

.sort_of_key {
	font-size: 1.5rem;
	line-height: 2rem;
	margin: 0px 0 0px 0;
}

.explanation {
	font-size: 14px;
	margin: 0px 0 0px 0;
}

.detail {
	margin: 8px 0 0px 0;
}

.detail .explanation {
	margin: -8px 0 0px 0;
}

.qr {
	position: absolute;
	float: left;
	margin: 260px 20px 20px 320px;
	width: 300px;
	height: 300px;
}

.pseudospace {
	margin-left: 5px;
}

#account_number {
	width: 340px;
	float: left;
}

.co, .co ul {
	line-height: 1.5;
	font-size: 14px;
}

.template-switch {
	position: absolute;
	top: 20px;
	right: 20px;
}

.template-switch a {
	color: #999;
	font-size: 14px;
}

@media print {
	.no-print {
		display: none;
	}
}

.co ul {
	list-style-type: disc;
	padding-left: 25px;
}

/* Template Toggle */
.template-toggle {
	display: flex;
	gap: 0;
	margin: 20px 0 0 0;
}

.toggle-btn {
	padding: 8px 16px;
	border: 1px solid #ddd;
	background: #f5f5f5;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.2s;
}

.toggle-btn:first-child {
	border-radius: 4px 0 0 4px;
}

.toggle-btn:last-child {
	border-radius: 0 4px 4px 0;
	border-left: none;
}

.toggle-btn:hover {
	background: #eee;
}

.toggle-btn.active {
	background: #1a1a1a;
	color: #fff;
	border-color: #1a1a1a;
}

/* Buttons Section */
.buttons {
	clear: both;
	padding: 60px 0 40px 0;
}

.buttons .button {
	transition: background-color .3s ease;
	box-sizing: border-box;
	width: 220px;
	height: 60px;
	text-align: center;
	position: relative;
	background-color: #FF4500;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	line-height: 60px;
	overflow: hidden;
	float: left;
	box-shadow: 4px 4px lightgrey;
}

.buttons .button:hover {
	box-shadow: 2px 2px lightgrey;
}

.buttons .button p {
	margin: 0;
	line-height: 60px;
}

.buttons .small {
	float: left;
	width: 100px;
	height: 60px;
	color: #777;
	font-size: .875em;
	text-align: center;
	line-height: 60px;
}

.buttons .link {
	display: block;
	position: relative;
	cursor: pointer;
	float: left;
	width: 220px;
	height: 60px;
	color: #ff9000;
	font-weight: 400;
	text-decoration: none;
	line-height: 60px;
	vertical-align: middle;
}

#invoice-content {
	background: white;
}
