.mini-list {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 170px);
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;

  &__item {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: inherit;
    display: block;

    &:last-child {
      border-bottom: none;
    }

    &:hover {
      background: #f8f9fa;
    }

    &--selected {
      border: 2px solid #2060c0;
      border-radius: 4px;
    }
  }

  &__flight-number {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
  }

  &__content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    gap: 8px 12px;
  }

  &__dep-time,
  &__arr-time {
    font-size: 16px;
    font-weight: 500;
    color: #1a3a5c;
  }

  &__arr-time {
    text-align: right;
  }

  &__status-icon {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  &__dep-station {
    grid-column: 1;
    grid-row: 2;
    font-size: 14px;
    color: #333;
  }

  &__arr-station {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
    font-size: 14px;
    color: #333;
  }
}
