In Foundations of Differential Geometry by Kobayashi and Nomizu they give the definition for "A (differentiable) principal fibre bundle over $M$ with group $G$".
$M$ is a (differentiable) manifold, $G$ is a Lie group, $P$ is a (differentiable) manifold. There is a (differentiable) right action of $G$ on $P$.
(1) $G$ acts freely on $P$
(2) $M$ is the quotient space of $P$ by the equivalence relation induced by $G$, $M=P/G$, and the canonical projection $\pi:P\to M$ is differentiable;
(3) $P$ is locally trivial, that is, every point $x$ of $M$ has a neighborhood $U$ such that $\pi^{-1}(U)$ is isomorphic with $U\times G$ in the sense that there is a diffeomorphism $\psi:\pi^{-1}(U)\to U\times G$ such that $\psi(u) = (\pi(u), \varphi(u))$ where $\varphi$ is a mapping of $\pi^{-1}(U)$ into $G$ satisfying $\varphi(ua) = (\varphi(u))a$ for all $u\in \pi^{-1}(U)$ and $a\in G$.
Note that my questions are similar to the one that prompted this answer but I think my questions are even more basic.
(A) In condition (2) what does it mean $M=P/G$? It can't be normal set equality since $M$, $P$, and $G$ are defined separately. Does it mean $M$ and $P/G$ are homeomorphic? Or does it mean $M$ and $P/G$ are diffeomorphic? If it the latter then how do we know $P/G$ has a differential structure on it? Does $P$ being a differentiable manifold and $G$ being a Lie group imply $P/G$ inherits a certain differentiable structure?
(B) Similarly, in (2), it says $\pi: P \to M$ is differentiable. But, by my understanding, $\pi$ is actually a map $\pi: P\to P/G$. Suppose the morphism between $P/G$ and $M$ is called $f: P/G \to M$. If $f$ is a diffeomorphism then I could take the statement to mean $f \circ \pi: P \to M$ is differentiable. But if $f$ is only a homeomorphism it isn't obvious to me that $f\circ \pi$ would be diffeomorphism.
(C) I paraphrased slightly. I want to make sure the definition I've given above exactly matches the definition in the text. Let me know if I've inadvertently made some changes. Namely, is it correct that the right action of $G$ on $P$ should be differentiable? This wasn't explicitly stated in the definition in the book. I also added in parenthetical indications that all manifolds are differentiable manifolds, but I think it is the normal convention in the book that manifold means differentiable manifold.
(D) Is $G$ just a group that is also differentiable manifold such that group multiplication and group inverse are differentiable? Or are there additional conditions on $G$ like compactness or something?
I think my questions are very basic. I'm a beginner when it comes to topology etc. It seems like Kobayashi and Nomizu is a bit of an advanced text and they are using some shorthand notation (like $P/G = M$) that I'm just not familiar with yet. I'm just needing the details spelled out in a more beginner-friendly way.