.afjhv-dashboard,
.afjhv-auth-box,
.afjhv-access-denied {
	max-width: 1120px;
	margin: 30px auto;
	font-family: Arial, Helvetica, sans-serif;
	color: #172033;
}

.afjhv-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.afjhv-dashboard-header h2 {
	margin: 5px 0 0;
	font-size: 28px;
}

.afjhv-label {
	color: #4d61d8;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.5px;
}

.afjhv-secure-session {
	background: #eafff1;
	color: #17683a;
	border-radius: 30px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.afjhv-secure-session span {
	display: inline-block;
	width: 9px;
	height: 9px;
	margin-right: 6px;
	border-radius: 50%;
	background: #18a85f;
}

.afjhv-dashboard-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 20px;
}

.afjhv-card,
.afjhv-auth-box,
.afjhv-access-denied {
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid #e4e8f1;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 5px 20px rgba(17, 24, 39, 0.06);
}

.afjhv-card {
	margin-bottom: 20px;
}

.afjhv-card h3,
.afjhv-access-denied h2 {
	margin-top: 0;
}

.afjhv-card label,
.afjhv-auth-box label {
	display: block;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 700;
}

.afjhv-card small {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 400;
	color: #667085;
}

.afjhv-card input,
.afjhv-card textarea,
.afjhv-auth-box input {
	box-sizing: border-box;
	width: 100%;
	margin-top: 7px;
	padding: 11px 12px;
	border: 1px solid #cbd3e1;
	border-radius: 8px;
	background: #ffffff;
	font: inherit;
}

.afjhv-card textarea {
	resize: vertical;
}

.afjhv-card input:focus,
.afjhv-card textarea:focus,
.afjhv-auth-box input:focus {
	border-color: #4d61d8;
	box-shadow: 0 0 0 3px rgba(77, 97, 216, 0.13);
	outline: none;
}

.afjhv-primary-button,
#afjhv-download-report {
	margin-top: 18px;
	padding: 11px 16px;
	border: 0;
	border-radius: 8px;
	background: #4055c7;
	color: #ffffff;
	font-weight: 700;
	cursor: pointer;
}

.afjhv-primary-button:hover,
#afjhv-download-report:hover {
	background: #3042a6;
}

.afjhv-primary-button:disabled,
#afjhv-download-report:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.afjhv-status {
	margin: 14px 0 0;
	font-size: 14px;
	color: #4c5b72;
}

.afjhv-score-card {
	text-align: center;
}

.afjhv-score-ring {
	display: flex;
	align-items: baseline;
	justify-content: center;
	box-sizing: border-box;
	width: 150px;
	height: 150px;
	margin: 28px auto;
	padding-top: 50px;
	border: 10px solid #8290ff;
	border-radius: 50%;
}

.afjhv-score-ring strong {
	font-size: 40px;
}

.afjhv-score-ring span {
	color: #667085;
	font-size: 14px;
}

.afjhv-score-help {
	text-align: left;
	border-top: 1px solid #e8ebf2;
	padding-top: 10px;
	font-size: 13px;
	color: #4d5b70;
}

.afjhv-report-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.afjhv-report-header h3 {
	margin-bottom: 5px;
}

.afjhv-report-header p {
	margin: 0;
	font-size: 13px;
	color: #667085;
}

#afjhv-download-report {
	margin-top: 0;
}

#afjhv-report-output {
	min-height: 180px;
	margin: 18px 0 0;
	padding: 18px;
	overflow-x: auto;
	white-space: pre-wrap;
	word-wrap: break-word;
	border-radius: 8px;
	background: #f7f8fc;
	color: #26324a;
	font-family: Consolas, Monaco, monospace;
	font-size: 13px;
	line-height: 1.65;
}

.afjhv-log-item {
	padding: 13px 0;
	border-top: 1px solid #edf0f5;
}

.afjhv-log-item:first-child {
	border-top: 0;
}

.afjhv-log-item div {
	display: inline-block;
}

.afjhv-log-item span {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	color: #667085;
}

.afjhv-log-item b {
	float: right;
	color: #4055c7;
}

.afjhv-log-item p {
	margin: 8px 0 0;
	color: #4d5b70;
	font-size: 14px;
}

.afjhv-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 15px;
	border-bottom: 1px solid #e4e8f1;
}

.afjhv-tab {
	padding: 10px 14px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: #5b6b89;
	font-weight: 700;
	cursor: pointer;
}

.afjhv-tab.active {
	border-bottom-color: #4055c7;
	color: #4055c7;
}

.afjhv-auth-box {
	max-width: 480px;
}

#afjhv-register-message {
	margin-top: 12px;
	color: #4055c7;
	font-size: 14px;
}

.afjhv-access-denied {
	max-width: 650px;
	text-align: center;
}

@media (max-width: 760px) {
	.afjhv-dashboard-header,
	.afjhv-report-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.afjhv-dashboard-grid {
		grid-template-columns: 1fr;
	}

	#afjhv-download-report {
		margin-top: 5px;
	}
}

.afjhv-download-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.afjhv-download-actions button {
	margin-top: 0;
	padding: 10px 13px;
	border: 0;
	border-radius: 7px;
	background: #4055c7;
	color: #ffffff;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
}

.afjhv-download-actions button:hover {
	background: #3042a6;
}

.afjhv-download-actions button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.afjhv-report-output {
	min-height: 220px;
	margin-top: 18px;
	padding: 22px;
	overflow-x: auto;
	border: 1px solid #e7eaf2;
	border-radius: 10px;
	background: #fbfcff;
	color: #24314a;
	font-size: 14px;
	line-height: 1.65;
}

.afjhv-empty-report {
	margin: 0;
	color: #69758d;
}

.afjhv-report-output h1,
.afjhv-report-output h2,
.afjhv-report-output h3,
.afjhv-report-output h4 {
	color: #263b8e;
	line-height: 1.3;
}

.afjhv-report-output h1 {
	font-size: 24px;
}

.afjhv-report-output h2 {
	margin-top: 30px;
	padding-bottom: 8px;
	border-bottom: 2px solid #dce2ff;
	font-size: 19px;
}

.afjhv-report-output h3 {
	margin-top: 22px;
	font-size: 16px;
}

.afjhv-report-output p {
	margin: 10px 0;
}

.afjhv-report-output ul,
.afjhv-report-output ol {
	margin: 10px 0 16px 20px;
	padding-left: 15px;
}

.afjhv-report-output li {
	margin-bottom: 6px;
}

.afjhv-report-output strong {
	color: #172c75;
}

.afjhv-report-score {
	display: inline-block;
	margin: 0 0 12px;
	padding: 9px 13px;
	border: 1px solid #bcc7ff;
	border-radius: 8px;
	background: #eaf0ff;
	color: #243fa4;
	font-size: 18px;
	font-weight: 800;
}

.afjhv-report-output table {
	width: 100%;
	margin: 14px 0 20px;
	border-collapse: collapse;
	font-size: 13px;
}

.afjhv-report-output th {
	padding: 10px;
	border: 1px solid #4e63c7;
	background: #4055c7;
	color: #ffffff;
	text-align: left;
	vertical-align: top;
}

.afjhv-report-output td {
	padding: 10px;
	border: 1px solid #d9dfec;
	text-align: left;
	vertical-align: top;
}

.afjhv-report-output tr:nth-child(even) td {
	background: #f5f7ff;
}

.afjhv-report-output blockquote {
	margin: 16px 0;
	padding: 12px 16px;
	border-left: 4px solid #7a8cf6;
	background: #f3f5ff;
	color: #43506a;
}

.afjhv-pdf-wrapper {
	width: 190mm;
	padding: 0;
	background: #ffffff;
	color: #172033;
	font-family: Arial, sans-serif;
}

.afjhv-pdf-brand {
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #4055c7;
}

.afjhv-pdf-brand h1 {
	margin: 0 0 5px;
	color: #3148aa;
	font-size: 22px;
}

.afjhv-pdf-brand p {
	margin: 0;
	color: #667085;
	font-size: 12px;
}

.afjhv-pdf-export {
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
}

.afjhv-pdf-export table {
	page-break-inside: avoid;
}

@media (max-width: 600px) {
	.afjhv-download-actions {
		width: 100%;
	}

	.afjhv-download-actions button {
		flex: 1 1 100%;
	}

	.afjhv-report-output {
		padding: 14px;
		font-size: 13px;
	}

	.afjhv-report-output table {
		min-width: 650px;
	}
}