/*
* Security Ninja - Core Scanner
*/

#sn-cs-report-link-wrap.is-hidden {
	display: none;
}

#sn-cs-report-link-wrap.is-visible {
	display: inline;
}

.sn-cs-primary-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
}

.sn-cs-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin: 16px 0 0;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
}

.sn-cs-meta-items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.sn-cs-scan-meta {
	margin: 0 0 12px;
	color: #646970;
	font-size: 12px;
	line-height: 1.5;
}

.sn-cs-scan-meta .sn-cs-meta-items {
	gap: 6px 16px;
}

.sn-cs-meta-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sn-cs-scan-spinner {
	float: none;
	margin: 0;
}

.sn-cs-scan-spinner.is-active {
	visibility: visible;
}

#wf-sn-core-scanner-response {
	clear: both;
	width: 100%;
	margin-bottom: 12px;
}

.sn-cs-summary {
	margin-bottom: 16px;
}

.sn-cs-scan-context {
	margin: 0 0 4px;
	color: #646970;
	font-size: 13px;
}

.sn-cs-banner {
	padding: 10px 14px;
	border-radius: 6px;
	margin-bottom: 12px;
}

.sn-cs-banner-clean {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.sn-cs-banner-issues {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.sn-cs-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.sn-cs-stat {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 10px 14px;
	min-width: 90px;
	text-align: center;
}

.sn-cs-stat-count {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: #1d2327;
}

.sn-cs-stat-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	color: #646970;
}

.sn-cs-stat-verified .sn-cs-stat-count {
	color: #047857;
}

.sn-cs-findings-wrap {
	margin: 0 0 16px;
}

.sn-cs-section {
	margin-bottom: 12px;
}

.sn-cs-section:last-child {
	margin-bottom: 0;
}

.sn-cs-section h4 {
	margin: 0 0 6px;
	font-size: 14px;
}

.sn-cs-section > .description {
	margin: 0 0 8px;
}

.sn-cs-findings-table {
	margin: 0;
}

.sn-cs-ignored-files {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e2e8f0;
}

.sn-cs-ignored-files h4 {
	margin-top: 0;
}

.sn-cs-ignored-files .malactions button {
	float: none;
	margin: 0;
}

.sn-cs-findings-table .sn-cs-file-path {
	font-size: 12px;
	word-break: break-all;
}

.sn-cs-file-meta {
	font-size: 11px;
	color: #646970;
	margin-top: 4px;
}

.sn-cs-findings-table tr.sn-cs-group-header td {
	background: #f6f7f7;
	font-size: 13px;
	padding: 8px 10px;
	border-bottom: 1px solid #e2e8f0;
}

.sn-cs-findings-table tr.sn-cs-group-header:hover td {
	background: #f6f7f7;
}

.sn-cs-findings-table .sn-cs-guidance {
	font-size: 12px;
	max-width: 420px;
}

.sn-cs-findings-table tr.sn-cs-row-processing td {
	opacity: 0.45;
	pointer-events: none;
}

.sn-cs-findings-table .sn-cs-actions .malactions {
	text-align: right;
}

.sn-cs-findings-table .sn-cs-actions .malactions button {
	float: none;
	margin: 0 0 4px 4px;
}

.sn-cs-findings-table .sn-cs-actions .malactions button[disabled] {
	opacity: 0.5;
	pointer-events: none;
}

.sn-cs-severity {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.sn-cs-severity-critical {
	background: #fee2e2;
	color: #b91c1c;
}

.sn-cs-severity-warning {
	background: #fef3c7;
	color: #b45309;
}

.sn-cs-severity-notice {
	background: #e0f2fe;
	color: #0369a1;
}

.sn-cs-empty-state {
	padding: 20px;
}

.sn-cs-empty-list {
	margin: 0 0 16px 18px;
}

.sn-cs-pro-bridge {
	margin-top: 16px;
}

.sn-cs-delete-all-wrap {
	margin-top: 8px;
}

.toplevel_page_wf-sn .sn-file-list {
	list-style-type: circle;
	list-style-position: inside;
	margin-left: 25px;
}
