/* Square corners everywhere on the site except the public /landing page.
   Loaded by Views/Shared/Partials/_HeadCss.cshtml on every page unless the view sets ViewBag.KeepRounded = true
   (only Views/Home/Landing.cshtml does). It wins over the theme (app.min.css), the plugins and app-api.css,
   including inline styles, so buttons, cards, images, badges, inputs, modals and menus all have square corners. */
*, *::before, *::after { border-radius: 0 !important; }

/* Exception: the signed-in member's photo or initials in the top bar and the side bar stay round. */
.st-me-avatar, .st-me-avatar img { border-radius: 50% !important; }

/* Exception: every member photo (or initials) on /admin/members is round: the cards, the list, the details panel and the
   add / edit dialog. The page sets body.st-page-members (Views/Admin/Members.cshtml); other pages keep square photos. */
.st-page-members .st-users-avatar, .st-page-members .st-users-avatar img,
.st-page-members .st-mem-card-avatar, .st-page-members .st-mem-card-avatar img,
.st-page-members .st-member-avatar, .st-page-members .st-member-avatar img { border-radius: 50% !important; }

/* Exception: team logos (the picture a team uploads) are round: team cards, table, details panel and the team form. */
.st-teams-logo, .st-teams-logo img { border-radius: 50% !important; }

/* Controls whose round shape is how people tell them apart: radio buttons (vs. checkboxes),
   on/off switches and loading spinners. */
.form-check-input[type=radio] { border-radius: 50% !important; }
.form-switch .form-check-input { border-radius: 2em !important; }
.spinner-border, .spinner-grow { border-radius: 50% !important; }

/* Exception: the "Back to top" button (Views/Shared/Partials/_ScrollTop.cshtml) is a circle, as on /landing. */
.st-totop { border-radius: 50% !important; }
