.trainCenter {
  background-color: var(--c-text--light);
  color: var(--c-text--light-gray);
  width: 20em;
  font-size: 12px;

  justify-content: space-between;
  line-height: 1.25;
  width: fit-content;

  &_lang {
    display: flex;
    padding: 5%;
    line-height: 25px;

    &_code {
      width: fit-content;
      width: 50px;
    }
  }

  &_icon {
    cursor: pointer;
    min-height: 0;
    border-radius: 3px;
    font-size: 10px;
    height: 20px;
    padding: 3px;
    transition: background 0.3s ease-in-out;
    color: var(--lighthouse);

    &:hover {
      background-color: black;
    }

    &_wrap {
      display: flex;
      align-items: center;
      margin-right: 2%;
    }
  }
}

.trainStatus {
  display: flex;
  align-items: center;
  width: fit-content;
  white-space: nowrap;

  &_pending {
    display: flex;

    &.text {
      margin-right: 1em;
    }
  }

  :global(.bp3-button).button {
    background-color: var(--seashell);
    color: var(--shark);
    min-height: 0;
    border-radius: 3px;
    font-size: 10px;
    height: 20px;
    padding: 6px;
    transition: background 0.3s ease-in-out;

    &:hover {
      background-color: var(--gray);
    }

    &.danger {
      background-color: var(--lighthouse);
      color: white;

      &:hover {
        background-color: var(--hover-lighthouse);
      }
    }
  }

  &_message {
    &_light {
      color: var(--gray);
    }

    &_dark {
      color: var(--shark);
    }

    &_spaced {
      margin-right: 2%;
    }
  }
}
