.sgbs-message {
  --sgbs-ink: #17323c;
  --sgbs-accent: #24657b;
  position: fixed;
  z-index: 99990;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(760px, calc(100vw - 32px));
  padding: 14px 14px 14px 18px;
  color: var(--sgbs-ink);
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(36, 101, 123, .24);
  border-left: 5px solid var(--sgbs-accent);
  border-radius: 13px;
  box-shadow: 0 14px 40px rgba(16, 45, 56, .22);
  font-family: inherit;
  opacity: 0;
  transform: translate(-50%, 24px);
  transition: opacity .22s ease, transform .22s ease;
}

.sgbs-message--visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sgbs-message--closing {
  opacity: 0;
  transform: translate(-50%, 18px);
}

.sgbs-message__content {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  flex: 1;
}

.sgbs-message__icon {
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
}

.sgbs-message__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.sgbs-message__label {
  margin-bottom: 2px;
  color: #68747a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sgbs-message__title {
  color: var(--sgbs-ink);
  font-size: 16px;
}

.sgbs-message__text {
  margin-top: 2px;
  color: #45585f;
  font-size: 13px;
}

.sgbs-message__actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.sgbs-message__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  color: #fff !important;
  background: var(--sgbs-accent);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
}

.sgbs-message__button:hover,
.sgbs-message__button:focus {
  color: #fff !important;
  background: #194d60;
}

.sgbs-message__button:focus-visible,
.sgbs-message__close:focus-visible {
  outline: 3px solid #f0b74a;
  outline-offset: 2px;
}

.sgbs-message__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #53656c;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font: 400 28px/1 Arial, sans-serif;
}

.sgbs-message__close:hover {
  color: #162f39;
  background: #eef3f4;
}

@media (max-width: 700px) {
  .sgbs-message {
    bottom: 10px;
    gap: 10px;
    width: calc(100vw - 20px);
    padding: 12px 10px 12px 13px;
    border-radius: 11px;
  }

  .sgbs-message__icon {
    font-size: 23px;
  }

  .sgbs-message__title {
    font-size: 14px;
  }

  .sgbs-message__text {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .sgbs-message__actions {
    align-self: stretch;
  }

  .sgbs-message__button {
    max-width: 120px;
    padding: 7px 10px;
    white-space: normal;
  }

  .sgbs-message__close {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .sgbs-message {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .sgbs-message__actions {
    width: 100%;
    justify-content: flex-end;
  }

  .sgbs-message__button {
    flex: 1;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sgbs-message {
    transition: none;
  }
}

