@import 'scss/font-family.scss';
@import 'theme/variables.scss';

.incomplete-table-container {
    border-radius: 3px;
    font-family: $font-family;

    .incomplete-table-holder {
        height: 26px;
        border-radius: 2px;
        border: none;
        cursor: pointer;
        padding: 0;

        &.stops {
            width: 100%;
            padding: 4px;
            font-size: 14px;

            .stops-side {
                gap: 4px;
                height: 26px;
                min-width: 0;

                .stop-info-container {
                    width: calc(100% - 22px);
                    min-width: 0;
                }

                .location,
                .date,
                .pickupStationNumber,
                .deliveryStationNumber {
                    font-size: 11px;
                    line-height: 14px;
                    color: $black;
                    padding-left: 0px !important;
                }

                .date {
                    color: $bw5 !important;
                }

                .location {
                    width: 90%;
                    min-width: 0;
                }

                .pickupStationNumber,
                .deliveryStationNumber {
                    width: 18px;
                    height: 18px;
                    color: $white;
                    border-radius: 1px;
                }

                .pickupStationNumber {
                    &.active-pickup {
                        background-color: $grey-8;
                        color: $bw6-2;
                    }

                    &.pending-pickup {
                        background-color: $grey-button;
                        color: $green-7;
                    }

                    &.split-pickup {
                        background-color: $ta-yellow-7;
                        color: $ta-yellow-5;
                    }
                }

                .deliveryStationNumber {
                    &.active-delivery {
                        background-color: $grey-8;
                        color: $bw6-2;
                    }

                    &.pending-delivery {
                        background-color: $grey-8;
                        color: $ta-orange-1;
                    }
                }
            }
        }

        &.no-active-load {
            padding: 6px;
            font-size: 11px;
            line-height: 14px;
            color: $bw5;
            opacity: 1;
            transition:
                opacity 0.2s ease-in,
                color 0.2s ease-in;

            &::-moz-selection {
                color: $ta-black-2;
                background: rgb(47, 47, 47, 0.2);
            }

            &::selection {
                color: $ta-black-2;
                background: rgb(47, 47, 47, 0.2);
            }
        }
    }

    &:hover {
        .pickup-delivery-time {
            display: flex !important;
        }

        .no-active-load {
            color: $ta-black;
        }
    }
}
