/**
 * BFSI AIOps diagnostic — page-builder / theme overrides only.
 *
 * Loaded ONLY on diagnostic pages (see bfsi_should_load_aiops_page_overrides() in functions.php).
 * Scoped with body.bfsi-aiops-diagnostic-page so other site pages are unaffected.
 *
 * Add Thrive Architect, section, or global theme overrides here — not component styles.
 */

/* OS display scale 125% / 150% — see assets/js/bfsi-display-scale.js */
body.bfsi-aiops-diagnostic-page.bfsi-display-scale-compensate {
	zoom: 90%;
}

@media (min-resolution: 1.18dppx) and (max-resolution: 1.32dppx) {
	body.bfsi-aiops-diagnostic-page {
		zoom: 90%;
	}
}

@media (min-resolution: 1.43dppx) and (max-resolution: 1.57dppx) {
	body.bfsi-aiops-diagnostic-page {
		zoom: 90%;
	}
}

/* Thrive: remove side padding so the diagnostic can use full content width */
body.bfsi-aiops-diagnostic-page .content-section .section-content,
body.bfsi-aiops-diagnostic-page .section-content:has(#bfsi-aiops-unified-app),
body.bfsi-aiops-diagnostic-page .section-content:has([data-bfsi-unified-app]),
body.bfsi-aiops-diagnostic-page .section-content:has(#bfsi-aiops-stepform-app),
body.bfsi-aiops-diagnostic-page .section-content:has(#bfsi-aiops-app),
body.bfsi-aiops-diagnostic-page .section-content:has([data-bfsi-scoreboard]) {
	padding: 0 !important;
}

body.bfsi-aiops-diagnostic-page .content-section {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.bfsi-aiops-diagnostic-page .main-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Diagnostic app shells — full width inside Thrive content column */
body.bfsi-aiops-diagnostic-page #bfsi-aiops-unified-app.bfsi-aiops-unified-page,
body.bfsi-aiops-diagnostic-page #bfsi-aiops-stepform-app,
body.bfsi-aiops-diagnostic-page #bfsi-aiops-app,
body.bfsi-aiops-diagnostic-page [data-bfsi-scoreboard] {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}

.tve-theme-45 .main-container {
	padding: 0 !important;
}

.tab_content_title h4 {
	font-weight: bold !important;
	font-size: 24px !important;
	margin-bottom: 40px !important;
}

/* Honeypot — hidden from users, visible to naive bots */
.bfsi-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}