/* Container: fixed top-right, for all screen sizes */
.notifications{
  position: fixed !important;
  top: calc(var(--appbar-h, 56px) + 8px);  /* just under header */
  right: 16px;
  left: auto !important;
  width: auto;
  max-width: 280px;
  z-index: 2000;
  display: block !important;
}

/* Notification box */
.notifications .notification,
.notifications .notification.alert,
.notifications .notification.alert-success,
.notifications .notification.success{
  position: relative;
  display: flex;                 /* center text vertically */
  align-items: center;
  justify-content: center;
  background-color: #C3CDFF !important;  /* your blue */
  color: #000000 !important;
  border: none !important;
  border-radius: 0 !important;           /* sharp corners */
  padding: 14px 54px 14px 20px !important; /* space for the X on the right */
  margin: 0 !important;
  min-height: 48px;                      /* a bit of height */
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  text-align: center;
  min-width: 220px;          /* a bit wider */
  max-width: 320px;          /* still not too huge */
}

/* Close button: top-right corner */
.notifications .notification .btn-close{
  position: absolute;
  top: 6px;
  right: 6px;
  float: none !important;
  padding: 0;
  margin: 0;
  width: 20px;
  height: 20px;
  line-height: 20px;
  opacity: 0.8;
}

/* Make sure the "×" sits centered inside the button */
.notifications .notification .btn-close span{
  display: block;
  line-height: 20px;
}
