/*
 * DOPR-7438: shared sticky notification for document-view errors.
 *
 * Self-contained so the component (markup in Client/layout.html.twig, this stylesheet, and
 * profile-error-notice.js) lives together and renders on every page that extends the client
 * layout. Mirrors the rules in the ManageClients dashboard SCSS so the look is unchanged there.
 */
.sticky-notification {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #1a1a1a;
  color: #ffffffde;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  margin-left: -610px;
  transition: margin 0.3s;
  width: 482px;
  min-height: 48px;
  line-height: 20px;
  font-family: var(--font-family-aktiv);
  display: none;
}

.sticky-notification.show {
  display: flex;
  margin-left: 0;
}

.sticky-notification-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  position: relative;
}

.sticky-notification-message {
  flex-grow: 1;
  margin-right: 60px;
  font-size: 14px;
  font-weight: 300;
}

.sticky-notification-close {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  font-size: 34px;
  font-weight: 300;
  position: absolute;
  right: 12px;
  top: 14px;
  color: #b2b2b2;
  line-height: 20px;
}
