:root {
	--conv-rubi: #a81d3a;
	--conv-rubi-light: #fff1f2;
	--conv-dark: #0f172a;
	--conv-border: #e2e8f0;
	--conv-danger: #ef4444;
	--conv-warning: #f59e0b;
	--conv-success: #10b981;
}

body { font-family: 'Inter', sans-serif; background: #f8fafc; color: #1e293b; padding: 20px; line-height: 1.5; }
.conv-container { max-width: 1000px; margin: 0 auto; }

/* HEADER & UPLOAD */
.conv-header { text-align: center; margin-bottom: 40px; }
.conv-title { color: var(--conv-rubi); font-size: 2.2rem; margin: 0; }

.conv-drop-zone {
	background: #fff;
	border: 3px dashed var(--conv-rubi);
	border-radius: 20px;
	padding: 50px 20px;
	text-align: center;
	transition: 0.3s;
	cursor: pointer;
	box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}
.conv-drop-zone:hover { background: var(--conv-rubi-light); transform: translateY(-3px); }
.conv-drop-zone.dragover { background: #fee2e2; border-style: solid; }

/* RESULT CARDS */
.conv-card {
	background: #fff;
	border-radius: 16px;
	margin-top: 25px;
	border: 1px solid var(--conv-border);
	overflow: hidden;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.card-header {
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #fff;
	border-bottom: 1px solid var(--conv-border);
}

/* RISK INDICATOR */
.risk-badge {
	padding: 10px 20px;
	border-radius: 50px;
	font-weight: 900;
	font-size: 1.2rem;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
}

/* SAFE PREVIEW & LINK SCANNER */


.section-box {
	background: #f8fafc;
	border-radius: 12px;
	padding: 15px;
	border: 1px solid var(--conv-border);
}

.preview-content {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.75rem;
	height: 200px;
	overflow-y: auto;
	white-space: pre-wrap;
	color: #475569;
	background: #fff;
	padding: 10px;
	border-radius: 8px;
}

.link-list { list-style: none; padding: 0; margin: 0; max-height: 200px; overflow-y: auto; }
.link-item {
	display: flex;
	justify-content: space-between;
	background: #fff;
	padding: 8px;
	margin-bottom: 5px;
	border-radius: 6px;
	font-size: 0.7rem;
	border: 1px solid #e2e8f0;
}
.copy-btn {
	background: var(--conv-rubi);
	color: #fff;
	border: none;
	padding: 2px 8px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.6rem;
}

/* THREAT HIGHLIGHTS */
.threat-pill {
	display: inline-block;
	background: #fee2e2;
	color: #991b1b;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.7rem;
	font-weight: 700;
	margin: 2px;
	border: 1px solid #fecdd3;
}

/* LEGEND FOOTER */
.conv-legend {
	margin-top: 50px;
	background: #1e293b;
	color: #cbd5e1;
	padding: 30px;
	border-radius: 16px;
	font-size: 0.8rem;
}
.legend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-top: 20px; }
.legend-item { border-left: 3px solid #475569; padding-left: 10px; }