/**
 * Styles only the protected form debug panel; no theme or form selectors are changed.
 *
 * @package KE_Telia_Strong_Auth
 */
#ke-telia-debug {
	position: fixed;
	right: 12px;
	top: 40px;
	z-index: 99999;
	width: min(390px, calc(100vw - 24px));
	max-height: 65vh;
	overflow: auto;
	padding: 12px;
	background: #101827;
	color: #eef4ff;
	border: 1px solid #587296;
	border-radius: 8px;
	box-shadow: 0 4px 20px #0005;
	font: 12px/1.5 ui-monospace, monospace;
	text-align: left;
}

#ke-telia-debug summary {
	cursor: pointer;
	font-weight: 700;
}

#ke-telia-debug ol {
	margin: 0;
	padding-left: 20px;
}

#ke-telia-debug li {
	margin: 7px 0;
	overflow-wrap: anywhere;
}

/* Keep severity colors scoped to the panel, including on pages with custom themes. */
#ke-telia-debug .ke-log-error {
	color: #ffabab;
}

#ke-telia-debug .ke-log-warning {
	color: #ffe09a;
}
