@use "../../../../styles/colors" as colors;
@use "../../../../styles/variables" as vars;
@use "../../../../styles/fonts" as fonts;

// Mirrors Angular's `transfer.component` host:
//   background: $blue-extra-light (#f3f9ff), border: 1px $blue-light2,
//   padding: $space-m $space-l (10px 15px), font-size: $font-size-s (12px).
//   Icon SVG is a narrow horizontal arrow (~20.5×6.5px), not a 20×20 square.
.transfer-bar {
  display: flex;
  align-items: center;
  gap: vars.$space-l;
  background: colors.$blue-extra-light;
  border: 1px solid colors.$blue-light2;
  padding: vars.$space-m vars.$space-l;
  min-height: 50px;
  font-size: fonts.$font-size-s;

  &--separated {
    margin: vars.$space-m 0;
    border-radius: vars.$border-radius;
  }

  &__icon svg {
    fill: colors.$orange;
    width: 20.5px;
    height: 6.5px;
  }

  &__content {
    flex: 1;
    display: flex;
    gap: vars.$space-m;
    align-items: center;
    flex-wrap: wrap;
  }

  &__type { font-weight: fonts.$font-medium; }

  &__times { color: colors.$blue-dark; }

  @media (max-width: 640px) {
    &__content {
      flex-direction: column;
      align-items: flex-start;
      gap: vars.$space-s;
    }
  }
}

.transfer-time {
  font-weight: fonts.$font-medium;
  color: colors.$orange;
}
