#voucher {
    display: none;
}

.Booking {
    display: flex;
    padding: 20px;
    padding-top: 0;
    gap: 20px;

    & .Options {
        max-width: 250px;
        width: 30%;
        background-color: var(--main-light);
        padding: 15px;
        font-family: "Montserrat-Medium";
        font-size: 0.9rem;
        height: fit-content;

        & ul {
            padding: 0;

            & .Warning {
                background-color: var(--gray-20);
                color: var(--main-dark);
                padding: 5px;
                font-size: 0.8rem;
                border-radius: 5px;
                margin-bottom: 10px;

                & p {
                    margin: 0;
                }
            }

            & li {
                height: 35px;
                display: flex;
                align-items: center;
                color: var(--main-dark);
                border: 2px transparent solid;
                padding: 0 8px;
                transition: 0.3s border-color, background-color;
                cursor: pointer;
                border-radius: 5px;
                background-color: transparent;

                &#Complete {
                    background-color: #6ea77a;
                    margin-bottom: 8px;
                    transition: 0.3s background-color;
                    color: white;

                    &:hover {
                        background-color: #3d6b47;
                        border-color: #1c4625;
                    }

                    & i {
                        color: white;
                    }
                }

                &#Cancel {
                    background-color: #a76e6e;
                    color: white;
                    transition: 0.3s background-color;

                    &:hover {
                        background-color: #963030;
                        border-color: #5c1c1c;
                    }

                    & i {
                        color: white;
                    }
                }

                & i {
                    font-family: "EurynomaCustom";
                    font-style: normal;
                    font-size: 25px;
                    color: var(--main-dark);
                    margin-right: 5px;
                    font-weight: 400;
                }

                &:hover {
                    background-color: var(--gray-20);
                    border-color: var(--gray-50);
                }

                &.Selected {
                    background-color: var(--contrast-30);
                }
            }
        }

        & #MessageBox {
            background-color: var(--MessColor);
            overflow: hidden;
            color: var(--MessFont);
            font-family: Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif;
            border-radius: 5px;
            font-size: 0.9rem;
            font-weight: 600;
            max-height: 0px;
            transition: 0.5s max-height;

            & p {
                margin: 0;
                padding: 7px;
                line-height: 100%;
            }

            &.Open {
                max-height: 600px;
            }
        }
    }

    & .Details {
        background-color: var(--main-light);
        flex-grow: 1;
        padding: 15px;
        color: var(--main-dark);
        font-family: Optima, Segoe, Segoe UI, Candara, Calibri, Arial, sans-serif;

        & #TripData {
            column-width: 21rem;

            & #TripDetails,
            #ClientDetails,
            #PaymentDetails,
            #DriverDetails {
                page-break-inside: avoid;
                break-inside: avoid;
                margin-bottom: 20px;
            }

            & h3 {
                margin: 0;
            }

            & .CustomInput {
                margin-bottom: 5px;
                pointer-events: none;
                position: relative;
                height: fit-content;

                & label {
                    font-weight: 600;
                    font-size: 0.8rem;
                    color: var(--gray-70);
                    margin-bottom: 5px;
                }

                & .Input {
                    position: relative;
                    display: flex;
                    align-items: center;

                    & i {
                        font-family: "EurynomaCustom";
                        font-style: normal;
                        position: absolute;
                        font-size: 20px;
                        left: 5px;
                    }

                    & input,
                    & select,
                    & textarea,
                    & a,
                    & b {
                        background-color: var(--gray-30);
                        border: 1px transparent solid;
                        border-radius: 5px;
                        padding: 5px;
                        padding-left: 30px;
                        color: var(--main-dark);
                        font-size: 0.9rem;
                        font-family: Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif;
                        box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
                        width: 100%;
                        outline: 2px transparent solid;
                    }

                    & a {
                        font-weight: 600;
                        transition: 0.3s text-decoration;

                        &:hover {
                            text-decoration: underline;
                        }
                    }

                    &:focus-within ul {
                        display: block;
                    }

                    & ul {
                        position: absolute;
                        top: 100%;
                        background-color: var(--gray-30);
                        margin: 0;
                        list-style: none;
                        z-index: 10;
                        padding: 0;
                        width: 100%;
                        max-height: 150px;
                        overflow-y: scroll;
                        display: none;

                        & li {
                            padding: 3px 5px;
                            cursor: pointer;

                            &:hover {
                                background-color: var(--gray-40);
                            }
                        }
                    }
                }

                &.Active {
                    pointer-events: all;

                    & .Input {

                        & input,
                        & select,
                        & textarea,
                        & a,
                        & b {
                            background-color: var(--gray-10);
                            transition: all 0.3s;

                            &:hover {
                                border-color: var(--contrast-30);
                            }

                            &:focus {

                                outline-color: var(--contrast-20);
                            }
                        }

                        & a {
                            font-weight: 600;
                            color: var(--contrast-60);
                            transition: 0.3s all;

                            &:hover {
                                text-decoration: underline;
                                color: var(--contrast-90);
                            }
                        }

                        & b {
                            font-weight: 400;
                        }
                    }
                }
            }
        }
    }

    & .Payments {
        margin-top: 15px;

        & h3 {
            margin: 0;
        }

        & ul {
            list-style: none;
            padding: 0;
            column-width: 21rem;

            & li {
                page-break-inside: avoid;
                break-inside: avoid;
                margin-bottom: 5px;
                font-size: 0.9rem;
                display: flex;
                justify-content: space-between;
                padding: 7px;
                border-radius: 5px;
                box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
                transition: background-color 0.3s;
                cursor: pointer;

                &:hover {
                    background-color: var(--gray-20);
                }
            }
        }
    }
}

@media only screen and (max-width: 1150px) {

    .Booking {
        display: block;

        & .Options {
            width: calc(100% - 30px);
            max-width: 300px;
            margin: auto;
            margin-bottom: 20px;
        }
    }

}