
schedule-search-result-header {
    button {
        min-height: 20px;
        min-width: 20px;
        border: none !important;
    }

    .schedule-search-result-header {
        @include h-spacing($space-m);
        align-items: center;
        display: flex;
        padding: 0 $space-xl;

        > div {
            @include font-small();
            align-items: center;
            display: flex;
            height: $big-button-height;
            text-transform: uppercase;
            transition-duration: 0.1s;

            .sort-label {
                position: relative;

                &.label-note {
                    padding-right: $space-m;
                }

                .sort-note {
                    @include font-small();
                    font-size: $font-size-xs;
                    position: absolute;
                    top: -5px;
                    right: 0;
                }
            }
        }

        &__flight {
            width: 80px;
        }

        &__company {
            width: 120px;
            @include tablets() {
                width: 90px;
            }
        }

        &__departure {
            flex: 1;
        }

        &__arrival {
            flex: 1;
        }

        &__time {
            width: 80px;
            display: flex;
            justify-content: center;
        }

        .sort-container {
            margin-left: $space-s;
            @include flex-center-align();
            flex-direction: column;

            > button.sort {
                height: $button-sort-height;
                width: $button-sort-height;
                @include flex-center-align();
                justify-content: center;
                background-color: $white;
                border: none;
                border: 1px solid transparent;
                opacity: 0.3;

                &:hover {
                    border-color: $border;
                    opacity: 0.8;
                }

                &:focus {
                    opacity: 1;
                    border-top: 1px solid;
                    border-right: 1px solid;
                }

                .p-button-label {
                    display: none;
                }
            }
            > button.active {
                border: 1px solid #002776;
                border-radius: 0;
                opacity: 0.7;
            }
        }
    }
}
