/* ---------------------------------------------------------------------------
   Post-login welcome banner — same size as tridev / d247.

   The reference sites render the provider's banner in a stock Bootstrap modal:
   d247's bundle builds it as react-bootstrap `Modal size="lg"` with a
   `Modal.Header closeButton` and an `img-fluid` inside a `p-0` body, so the
   popup's measurements come straight from Bootstrap's own modal rules, which
   this app already ships (public/css/bootstrap.min.css):

     .modal-dialog                  max-width: 500px; margin: 1.75rem auto  (>=576px)
     .modal-dialog.modal-lg         max-width: 800px                        (>=992px)
     .modal-body (p-0)              no padding
     .img-fluid                     max-width: 100%; height: auto

   Two of this app's global rules override exactly those values, so the banner
   was clipped into a scroll box and pushed 40px down the page:

     style.css:155          .modal-body    { max-height: calc(96vh - 47px); overflow: auto }
     style.css / admin-style .modal-content { border: 0; border-radius: 0; margin-top: 5% }

   Everything below is scoped to `.welcome-modal` (the popup's own class), so no
   other modal in the app is affected. The header, including this app's themed
   close button, is deliberately left as it is: it comes out ~44px against the
   reference's 49px, a 5px difference on a ~1700px popup.
   --------------------------------------------------------------------------- */

.welcome-modal .modal-content {
  margin-top: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  background-clip: padding-box;
}

.welcome-modal .modal-body {
  max-height: none;
  overflow: visible;
  padding: 0;
}

/* `.img-fluid` already does this; restated because the banner must fill the
   dialog width and keep its own aspect ratio, with no viewport-height cap. */
.welcome-modal .modal-body img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
}
