body {
	background: #f5f7fa;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
}

#listado {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
	margin-top: 1rem;
}

.card {
	background: #ffffff;
	border-radius: 12px;
	padding: 1.2rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.card h3 {
	margin: 0 0 0.5rem 0;
	font-size: 1.2rem;
	font-weight: bold;
	color: #222;
}

.card p {
	margin: 0.2rem 0;
	color: #555;
	font-size: 0.95rem;
}

.card .acciones {
	margin-top: 1rem;
	display: flex;
	justify-content: flex-end;
	gap: 0.8rem;
}

.card button {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	padding: 0.3rem 0.6rem;
	border-radius: 6px;
	transition: background 0.2s ease;
}

.card button:hover {
	background: rgba(0, 0, 0, 0.05);
}

.card .editar {
	color: #1976d2;
}

.card .borrar {
	color: #d32f2f;
}
