:root {
	--conv-primary: #9b1c31;
	--conv-secondary: #7a1526;
	--conv-bg: #f5f5f5;
	--conv-card-bg: #ffffff;
	--conv-text: #1e293b;
	--conv-muted: #64748b;
	--metal: #3b82f6;
	--nonmetal: #10b981;
	--noble: #8b5cf6;
	--semi: #f59e0b;
}

body {
	font-family: 'Segoe UI', system-ui, sans-serif;
	background-color: var(--conv-bg);
	color: var(--conv-text);
	display: flex;
	justify-content: center;
	padding: 20px;
	margin: 0;
}

.conv-container { width: 100%; max-width: 900px; }

.conv-card {
	background: var(--conv-card-bg);
	border-radius: 16px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	border-top: 10px solid var(--conv-primary);
}

/* Display Atômico */
.atom-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #1e293b;
	padding: 20px;
	border-radius: 12px;
	color: white;
	margin-bottom: 20px;
}

.element-symbol {
	font-size: 3.5rem;
	font-weight: 900;
	line-height: 1;
	color: var(--conv-primary);
	text-shadow: 0 0 10px rgba(155, 28, 49, 0.3);
}

/* Estilo Acadêmico de Camadas */
.academic-shells {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	gap: 10px;
	margin: 20px 0;
}

.shell-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 15px;
	border-radius: 8px;
	text-align: center;
}

.shell-name { font-weight: 800; color: var(--conv-primary); font-size: 1.2rem; }
.shell-electrons { font-size: 0.9rem; color: var(--conv-muted); }

/* Grid de Pauling */
.pauling-display {
	background: #0f172a;
	color: #fff;
	padding: 20px;
	border-radius: 12px;
	margin: 20px 0;
}

.orbitals-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }

.sublevel {
	padding: 5px 10px;
	border-radius: 4px;
	font-family: 'JetBrains Mono', monospace;
	font-size: 1rem;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
}

.badge-type {
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
}

.conv-input {
	width: 100%;
	padding: 15px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	font-size: 1.2rem;
	font-weight: bold;
	transition: 0.3s;
}
.conv-input:focus { border-color: var(--conv-primary); outline: none; }