@import "../../../../theme.scss";

.sfsync-accessLostBanner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1.5rem;
  background-color: var(--sfsync-warning-bg);
  border-bottom: 1px solid var(--sfsync-warning-border);

  &-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 240px;

    svg {
      flex-shrink: 0;
    }
  }

  &-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  &-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: $text-primary;
  }

  &-message {
    font-size: 0.8125rem;
    color: $text-secondary;
  }

  &-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  &-dismiss {
    all: unset;
    display: flex;
    cursor: pointer;

    svg {
      height: 18px;
      width: 18px;
    }
  }
}
