flights-page-tabs,
schedule-direction-switch {
    .tabs {

        .tabs__row{
            display: flex;
            width: 100%;

            &:not(:first-child) {
                margin-top: 5px;
            }

        }

        .tabs__tab {
            display: flex;
            flex: 1;
            align-items: center;
            justify-content: center;
            height: $button-height;
            border: 1px solid $white;
            color: $white;
            text-decoration: none;
            background-color: transparent;

            @include font-overflow();
 
            &:first-child {
                border-radius: $border-radius 0 0 $border-radius;
            }

            &:last-child {
                border-radius: 0 $border-radius $border-radius 0;
            }

            &.active {
                background-color: $white;
                font-weight: $font-bold;
                color: $blue;

                .p-button-label {
                    font-weight: $font-bold;
                    color: $blue;
                }
            }
        }

          &__tab--full {
            border-radius: $border-radius $border-radius $border-radius $border-radius !important;
        }
    }
}

schedule-direction-switch {
    .tabs__tab {
        flex-basis: auto !important;
    }

    @media (max-width: $media-breakpoint-mobile) {
        max-width: 100% !important;
    }
}
