/* ADP Big Company template – div-based layout */
.psg-template--adp-blue {
	font-family: Arial, Helvetica, sans-serif;
	background: #fff;
	padding: 32px 34px 24px;
	color: #222;
	font-size: 12px;
	box-sizing: border-box;
}

.psg-template--adp-blue *,
.psg-template--adp-blue *::before,
.psg-template--adp-blue *::after {
	box-sizing: border-box;
}

/* ── Header ─────────────────────────────────────────── */
.psg-adp__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 26px;
}

.psg-adp__logo {
	width: 44px;
	height: 44px;
	overflow: hidden;
	margin-bottom: 5px;
}

.psg-adp__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.psg-adp__company {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.psg-adp__company-name {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 4px;
}

.psg-adp__company-line {
	font-size: 11px;
	line-height: 1.35;
	color: #333;
}

.psg-adp__title {
	text-align: right;
}

.psg-adp__title-main {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 2px;
}

.psg-adp__title-sub {
	font-size: 11px;
	line-height: 1.45;
	color: #333;
}

/* ── Info bar ────────────────────────────────────────── */
.psg-adp__info-bar {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	background: #d8e3f7;
	padding: 14px 16px;
	margin-bottom: 26px;
	font-size: 11.5px;
	line-height: 1.55;
}

.psg-adp__info-right {
	text-align: right;
	font-size: 13px;
	font-weight: 700;
	padding-top: 2px;
}

/* ── Generic row (display:table) ─────────────────────── */
.psg-adp__row {
	display: table;
	width: 100%;
	table-layout: fixed;
}

.psg-adp__col {
	display: table-cell;
	vertical-align: middle;
	padding: 0;
}

/* ── Head rows (Earnings / Deductions headers) ───────── */
.psg-adp__row--head {
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
}

.psg-adp__row--head .psg-adp__col {
	font-weight: 700;
	font-size: 11.5px;
	color: #333;
	padding: 9px 10px;
}

/* ── Earnings data rows ──────────────────────────────── */
.psg-adp__row--data .psg-adp__col {
	font-size: 12px;
	padding: 16px 10px;
	vertical-align: middle;
}

/* Muted first column (grey background + side borders) */
.psg-adp__col--muted {
	background: #f3f4f6;
}

/* ── Spacer row ──────────────────────────────────────── */
.psg-adp__row--spacer .psg-adp__col {
	height: 58px;
}

/* ── Blue bar rows (Cross Pay / Net Pay) ─────────────── */
.psg-adp__row--bar .psg-adp__col {
	background: #d8e3f7;
	font-weight: 700;
	font-size: 12px;
	padding: 10px 10px;
}

/* ── Deductions header spacing ───────────────────────── */
.psg-adp__row--ded-head {
	margin-top: 18px;
}

/* ── Deductions data ─────────────────────────────────── */
.psg-adp__row--ded-data {
	display: table;
	width: 100%;
	table-layout: fixed;
}

.psg-adp__row--ded-data .psg-adp__col {
	padding: 10px 10px;
	vertical-align: top;
}

/* Type column – grey box with full border */
.psg-adp__col--type {
	background: #f3f4f6;
	font-size: 12px;
	line-height: 1.65;
	padding: 10px 12px;
}

/* Amount columns in deductions – right-aligned */
.psg-adp__col--amount {
	font-size: 12px;
	line-height: 1.65;
	text-align: right;
	padding-right: 14px;
}

/* ── Net Pay bar ─────────────────────────────────────── */
.psg-adp__row--netpay {
	margin-bottom: 18px;
}

/* ── Summary line ────────────────────────────────────── */
.psg-adp__summary {
	font-size: 12px;
	margin: 0 0 22px;
}

/* ── Cut line ────────────────────────────────────────── */
.psg-adp__cut-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 28px;
}

.psg-adp__scissor {
	font-size: 16px;
	line-height: 1;
	color: #333;
}

.psg-adp__cut {
	flex: 1;
	border-top: 1.5px dashed #999;
}

/* ── Check section ───────────────────────────────────── */
.psg-adp__check-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 16px;
}

.psg-adp__check-company,
.psg-adp__check-meta {
	font-size: 11.5px;
	line-height: 1.4;
}

.psg-adp__check-meta {
	text-align: right;
}

.psg-adp__payee-name {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
}

/* ── Amount bar ──────────────────────────────────────── */
.psg-adp__amount-bar {
	display: flex;
	align-items: stretch;
	margin-bottom: 36px;
}

.psg-adp__amount-words {
	flex: 1;
	background: #d8e3f7;
	padding: 10px 14px;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
}

.psg-adp__amount-value {
	background: #2c52ad;
	color: #fff;
	min-width: 110px;
	text-align: right;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

/* ── Signature ───────────────────────────────────────── */
.psg-adp__sig-wrap {
	display: flex;
	justify-content: flex-end;
}

.psg-adp__sig {
	width: 240px;
	border-top: 1px solid #bbb;
	text-align: center;
	padding-top: 8px;
	font-size: 11px;
	color: #444;
}
