:root {
	--blue: #203f78;
	--gold: #d08f40;
	--red: #ed1c24;
	--green: #35b34a;
	--light: #e6e7e9;
	--text: #67686d;
	--container-max: 1180px;
}

* {
	box-sizing: border-box;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--text);
	background: #fff;
}

.portal-container {
	max-width: var(--container-max);
}

.app-header {
	height: 106px;
	background: var(--light);
	display: flex;
	align-items: center;
}

.home-link {
	font-size: 40px;
	color: var(--blue);
	line-height: 1;
	text-decoration: none;
}

.brand-mark {
	height: 52px;
}

.py-page {
	padding-top: clamp(42px, 6vw, 76px);
	padding-bottom: 64px;
}

.page {
	display: none;
}

.page.active {
	display: block;
}

.page-title {
	font-size: 1.85rem;
	color: var(--gold);
	font-weight: 600;
	margin-bottom: 28px;
}

.page-login {
	min-height: calc(100vh - 88px);
	display: none;
	align-items: center;
	padding: 60px 0;
}

.page-login.active {
	display: flex;
}

.auth-card {
	width: 100%;
	max-width: 480px;
	background: var(--light);
	padding: 36px;
}

.auth-card h1 {
	color: var(--gold);
	font-size: 32px;
	margin-bottom: 28px;
	font-weight: 600;
}

.form-label {
	font-size: 18px;
}

.form-control {
	border-radius: 0;
	min-height: 40px;
	font-weight: 600;
}

.form-control-lg {
	font-size: 1.15rem;
}

.forgot-link {
	color: var(--blue);
	font-size: 16px;
	text-decoration: none;
	display: block;
	margin: 10px 0;
}

.forgot-link:hover {
	text-decoration: underline;
}

.info-card {
	margin-bottom: 28px;
}

.dashboard-grid .info-card {
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
}

.dashboard-grid .card-body {
	flex: 1;
}

.card-head {
	padding: 20px 34px;
	color: #fff;
	line-height: 1.1;
}

.card-head, .card-head strong {
	font-size: 1.3rem;
}

.card-body {
	background: var(--light);
	padding: 26px 34px;
}

.card-body p {
	font-size: 1.3rem;
	line-height: 1.4;
	margin: 0 0 20px;
}

.card-body p:last-child {
	margin-bottom: 0;
}

.info-card-danger .card-head {
	background: var(--red);
}

.info-card-danger strong {
	color: var(--red) !important;
}

.info-card-gold .card-head,
.btn-gold {
	background: var(--gold);
}

.info-card-blue .card-head, .btn-blue {
	background: var(--blue);
}

.info-card-green .card-head,
.btn-green {
	background: var(--green);
}

.card-body .label {
	display:block;
	font-size:.8rem;
	color: #6c6d70;
	text-transform:uppercase;
	margin-bottom:4px;
}

.card-body strong {
	display: block;
	font-size:1.1rem;
	color:#203f78;
}

.btn {
	border: 0;
	border-radius: 0;
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	padding: 15px 18px;
}

.btn-sm {
	padding: 10px 13px;
}

.btn:hover {
	color: currentcolor;
	opacity: 0.75;
}

.pdf-icon {
	width: 64px;
	height: 79px;
	border: 3px solid var(--red);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--red);
	background: #fff;
	text-decoration: none;
}

.pdf-icon i {
	font-size: 30px;
}

.pdf-icon.small {
	width: 52px;
	height: 64px;
	border-width: 3px;
}

.pdf-icon.small i {
	font-size: 24px;
}

.tab-row {
	margin-top: 10px;
}

.portal-tab {
	width: 100%;
	border: 0;
	border-radius: 0;
	padding: 20px 14px;
	background: #bfc0c4;
	color: #fff;
	font-size: 1.3rem;
	font-weight: 600;
}

.portal-tab.active {
	background: var(--blue);
}

.invoice-item,
.pod-item {
	background: var(--light);
	padding: 26px 34px;
	margin-bottom: 28px;
}

.invoice-item span,
.pod-item span {
	display: block;
	font-size: 14px;
	line-height: 1.1;
	letter-spacing: .02em;
}

.invoice-item strong,
.pod-item strong {
	display: block;
	font-size: 1.3rem;
	line-height: 1.15;
	margin-bottom: 18px;
}

.invoice-item strong:last-child {
	margin-bottom: 0;
}

.invoice-item em {
	font-style: normal;
	color: var(--green);
	font-size: 18px;
}

.empty-state {
	text-align: center;
	font-style: italic;
	font-size: 24px;
	margin-top: 120px;
}

.flash-wrap {
	position: fixed;
	top: 115px;
	left: 0;
	right: 0;
	z-index: 9999;
	width: 100%;
	pointer-events: none;
}

.flash-wrap .alert {
	width: 99%;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
	pointer-events: auto;
	display: none;
}

.modal-title {
	color: var(--gold);
}

@media (min-width: 992px) {

	.info-card-gold .btn,
	.info-card-green .btn {
		width: auto !important;
		min-width: 280px;
	}

	#dashboard .info-card-gold .card-body,
	#dashboard .info-card-green .card-body {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: flex-start;
	}
}

@media (max-width: 575.98px) {
	.portal-container {
		padding-left: 24px;
		padding-right: 24px;
	}

	.app-header {
		height: 88px;
	}

	.py-page {
		padding-top: 42px;
	}

	.auth-card {
		padding: 28px;
	}

	.card-head {
		padding: 18px 24px;
	}

	.card-body {
		padding: 24px;
	}

	.invoice-item,
	.pod-item {
		padding: 24px;
	}

	.pdf-icon {
		width: 60px;
		height: 74px;
	}
}