.package-filter {
    background-color: #f0f0f5;
    border-radius: 1rem;
    padding: 1rem 1rem calc(1rem + 21px) 1rem;
    .btn-reset {
        font-size: 14px;
        margin-top: 1.5rem;
        height: 3.7rem;
    }

    label {
        margin-bottom: 0;
        padding-left: 1rem;
    }

    /* Overlapping label */
    /* label { */
    /*     position: absolute; */
    /*     top: -0.8rem; */
    /*     left: 2.1rem; */
    /*     margin: 0; */
    /*     z-index: 10; */
    /*     background-color: white; */
    /* } */

}
.traveller-selector {
    position: relative;
    height: 3.7rem;
    border: 1px solid #ced4da;
    background: white;
    border-radius: 2rem;
    cursor: pointer;
    user-select: none;
    .options {
        cursor: auto;
        display: none;
        position: absolute;
        background: white;
        z-index: 1000;
        top: 100%;
        width: 24rem;
        overflow-y: auto;
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
        border: 1px solid #aaaaaa;
        scrollbar-width: 0;
        &.shown {
            display: block !important;
        }
        .btn-confirm {
            width: 100%;
            font-size: 12px;
            border-radius: 1rem;
        }
        .rooms {
            display: flex;
            > * {
                display: flex;
                flex: none;
                cursor: pointer;
                > div {
                    padding: 0.5rem 1rem;
                }
                border: 1px solid #aaaaaa;
                &:not(last-child) {
                    border-left: none;
                }
                &:first-child {
                    .delete-room-button {
                        display: none;
                    }
                }
                &.selected {
                    background-color: var(--primary);
                    color: white;
                }
            }
            .add-room {
                display: none;
                padding: 0.5rem 1rem;
                background-color: var(--success);
                color: white;
            }
            .delete-room-button {
                background-color: var(--danger);
                color: white;
                border: none;
                flex: none;
            }
        }
        hr {
            height: 1px;
            border: none;
            background-color: #aaaaaa;
            margin: 0.5rem 0;
        }
        .adults,
        .children,
        .babies,
        .room-types,
        .board-types {
            padding: 0.5rem 1rem;
            display: flex;
            > * {
                flex: 1;
            }
            > select {
                width: 10rem;
                flex: none;
                align-self: center;
            }
            label {
                font-weight: bold;
                margin: 0;
            }
        }
    }
    .text {
        display: flex;
        align-items: center;
        height: 100%;
        padding-left: 1rem;
        line-height: 2.5rem;
    }
}

.multi-selector {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 2rem;
    height: 3.7rem;
    border: 1px solid #ced4da;
    cursor: pointer;
    user-select: none;

    .value {
        display: flex;
        align-items: center;
        height: 100%;
        padding-left: 1rem;
        line-height: 2.5rem;
    }
    > .content {
        display: none;
        position: absolute;
        background: white;
        z-index: 1001;
        top: 100%;
        width: 100%;
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
        border: 1px solid #aaaaaa;
        &.shown {
            display: block !important;
        }
        .btn-confirm {
            width: 100%;
            font-size: 12px;
            border-radius: 1rem;
        }
        .options {
            max-height: 20rem;
            overflow-y: auto;
            scrollbar-width: 0;
            > * {
                position: relative;
                padding: 0.5rem 0.5rem 0.5rem 2rem;

                &:hover {
                    background-color: lightgrey;
                }
                &.selected {
                    &::before {
                        position: absolute;
                        /* color: #11e38c; */
                        font-family: "Line Awesome Free";
                        -webkit-text-stroke: 0 white;
                        font-weight: 900;
                        content: "\f14a";
                        left: 0.5rem;
                        top: 0.5rem;
                    }
                    background-color: var(--primary);
                    color: white;
                }
                &::before {
                    position: absolute;
                    /* color: #11e38c; */
                    font-family: "Line Awesome Free";
                    -webkit-text-stroke: 0 black;
                    font-weight: 900;
                    content: "\f04d";
                    left: 0.5rem;
                    top: 0.5rem;
                }
            }
        }
    }
}
.cover {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 1002;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.price-selector {
    position: relative;
    width: 100%;
    height: 3.7rem;
    border: 1px solid #ced4da;
    background: white;
    border-radius: 2rem;
    cursor: pointer;
    user-select: none;
    padding-left: 0.8rem;
}

@media screen and (max-width: 540px) {
    .traveller-selector .options,
    .multi-selector .content {
        position: fixed;
        z-index: 1003;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 100vw;
    }
    .cover.shown {
        display: block;
    }
}
