/* ============================================================
   Rhystic MTG Importer — Estilos frontend para descripciones de carta
   ============================================================ */

/* ── Oracle text ─────────────────────────────────────────── */
.rmi-oracle-text {
	background: #f9f7f2;
	border-left: 3px solid #c8a96e;
	padding: 14px 16px;
	margin: 0 0 12px;
	font-size: .92rem;
	line-height: 1.7;
	border-radius: 0 4px 4px 0;
}

.rmi-oracle-text--face2 {
	border-left-color: #8ba0b4;
	background: #f4f6f9;
	margin-top: 8px;
}

/* ── Flavor text ─────────────────────────────────────────── */
.rmi-flavor-text {
	color: #666;
	font-size: .85rem;
	padding: 8px 16px;
	margin-bottom: 20px;
	border-left: 2px solid #ddd;
}

/* ── Títulos de sección ───────────────────────────────────── */
.rmi-details-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 24px 0 10px;
	padding-bottom: 6px;
	border-bottom: 2px solid #e8e8e8;
}

/* ── Tabla de detalles ───────────────────────────────────── */
.rmi-card-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .875rem;
	margin-bottom: 20px;
}

.rmi-card-table th,
.rmi-card-table td {
	padding: 7px 10px;
	text-align: left;
	border-bottom: 1px solid #f0f0f0;
	vertical-align: top;
}

.rmi-card-table th {
	width: 40%;
	font-weight: 600;
	color: #555;
	background: #fafafa;
}

.rmi-card-table td {
	color: #222;
}

.rmi-card-table tr:last-child th,
.rmi-card-table tr:last-child td {
	border-bottom: none;
}

/* ── Legalidades ─────────────────────────────────────────── */
.rmi-legalities {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 20px;
}

.rmi-legal,
.rmi-not-legal {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 3px;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .03em;
}

.rmi-legal {
	background: #2e7d32;
	color: #fff;
}

.rmi-not-legal {
	background: #e0e0e0;
	color: #555;
}
