/* ICT Rank — Public (widget + relatório) */

.ict-rank-widget {
	max-width: 680px;
	margin: 0 auto;
	font-family: inherit;
}

.ict-rank-widget-form {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	padding: 20px;
}

.ict-rank-widget-input-row {
	display: flex;
	gap: 10px;
	margin: 12px 0 6px;
	flex-wrap: wrap;
}

.ict-rank-widget .ict-rank-url-input {
	flex: 1;
	min-width: 240px;
	padding: 10px 12px;
	font-size: 15px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
}

.ict-rank-widget .ict-rank-analyze-btn {
	padding: 10px 22px;
	font-weight: 700;
	border-radius: 6px;
	border: none;
	background: #1e73be;
	color: #fff;
	cursor: pointer;
}

.ict-rank-widget .ict-rank-analyze-btn:disabled { opacity: 0.6; cursor: wait; }

.ict-rank-widget-note { color: #646970; font-size: 13px; margin: 6px 0 0; }

.ict-rank-widget-progress {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 10px;
	padding: 16px 20px;
	margin-top: 14px;
	text-align: center;
}

.ict-rank-progress-track {
	background: #e5e5e5;
	border-radius: 99px;
	height: 12px;
	overflow: hidden;
	margin: 10px 0;
}

.ict-rank-progress-bar {
	background: linear-gradient(90deg, #1e73be, #00b0f0);
	height: 100%;
	width: 0%;
	border-radius: 99px;
	transition: width 0.4s ease;
}

.ict-rank-progress-pct { font-weight: 700; }

.ict-rank-widget-error {
	background: #fbeaea;
	border: 1px solid #dc3232;
	color: #b32d2e;
	border-radius: 8px;
	padding: 12px 16px;
	margin-top: 14px;
	font-weight: 600;
}

.ict-rank-widget-result { margin-top: 16px; }

/* Relatório público */
.ict-rank-report {
	max-width: 860px;
	margin: 0 auto;
	padding: 20px;
	color: #1d2327;
}
.ict-rank-report p,
.ict-rank-report li,
.ict-rank-report td {
	color: #1d2327;
}
.ict-rank-report-hero {
	background: linear-gradient(135deg, #1e73be, #00b0f0);
	color: #fff;
	border-radius: 12px;
	padding: 24px 28px;
}
.ict-rank-report-hero h1 { color: #fff; margin: 0 0 6px; font-size: 26px; }
.ict-rank-report-date { margin: 0 0 14px; opacity: 0.92; }
.ict-rank-print-btn {
	background: #fff;
	color: #1e73be;
	border: none;
	border-radius: 6px;
	padding: 8px 16px;
	font-weight: 700;
	cursor: pointer;
}

.ict-rank-section {
	background: #fff;
	border: 1px solid #e2e4e7;
	border-radius: 10px;
	padding: 18px 22px;
	margin-top: 16px;
}
.ict-rank-section h2 { margin: 0 0 12px; font-size: 19px; }

.ict-rank-problem {
	border-left: 4px solid #e74c3c;
	background: #fdf6f6;
	padding: 12px 14px;
	margin: 10px 0;
	border-radius: 6px;
}
.ict-rank-strengths li {
	border-left: 4px solid #27ae60;
	background: #f0faf3;
	padding: 10px 14px;
	margin: 8px 0;
	list-style: none;
	border-radius: 6px;
}
.ict-rank-eeat li { margin: 6px 0; }
.ict-rank-impact {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 99px;
	font-size: 11px;
	font-weight: 700;
	color: #fff;
	margin-right: 8px;
}
.ict-rank-fix { color: #444; font-size: 14px; }

.ict-rank-table { border-collapse: collapse; width: 100%; }
.ict-rank-table th, .ict-rank-table td {
	border: 1px solid #e2e4e7;
	padding: 8px 12px;
	text-align: left;
	font-size: 14px;
}
.ict-rank-table th { background: #f6f7f7; width: 240px; }
.ict-rank-meta { color: #646970; font-size: 13px; }

.ict-rank-report-footer {
	text-align: center;
	color: #646970;
	font-size: 13px;
	margin-top: 20px;
}

/* Print — Exportar PDF */
@media print {
	header, footer, nav, .site-header, .site-footer, .ict-rank-print-btn { display: none !important; }
	.ict-rank-report { max-width: 100%; padding: 0; }
	.ict-rank-report,
	.ict-rank-report h2,
	.ict-rank-report p,
	.ict-rank-report li,
	.ict-rank-report td,
	.ict-rank-report th,
	.ict-rank-report strong,
	.ict-rank-report em,
	.ict-rank-report-footer {
		color: #000 !important;
	}
	.ict-rank-report-hero,
	.ict-rank-report-hero h1,
	.ict-rank-report-hero p,
	.ict-rank-report-hero .ict-rank-impact {
		color: #fff !important;
	}
	.ict-rank-section { break-inside: avoid; }
	body { background: #fff !important; }
}
