@use "../theme/colors" as *;
@use "../theme/breakpoints" as *;

#meeting {
    #calendar {
        .jsCalendar-current {
            color: white !important;
        }

        * {
            color: black;
        }

        .disabled {
            pointer-events: none;
            color: #888888;
        }

        .enabled {
            pointer-events: auto;
            cursor: pointer;
        }

        .jsCalendar-active {
            background-color: $main-color;
            color: #fff;
            border-radius: 50%;
        }
    }

    form {
        padding: 2rem;
        background: transparent linear-gradient(90deg,rgba(27,37,70,0) 0%,rgba(32,39,66,.7019607843) 16%,#222841 25%,#16161f 100%) 0 0 no-repeat padding-box;
        box-shadow: 0 3px 10px #ffffff29;
        position: relative;

        @media screen and (max-width: $breakpoints-xl) {
            padding: 2rem 1rem;
        }

        @media screen and (max-width: $breakpoints-lg) {
            grid-template-columns: 1fr;
        }

        @media screen and (max-width: $breakpoints-sm) {
            padding: 2rem 0;
        }

        @media screen and (max-width: $breakpoints-md) {
            box-shadow: unset;
            background: unset;
        }

        #left-form, #right-form {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        > div {
            text-align: center;
        }

        .input-control {
            width: 350px;

            @media screen and (max-width: $breakpoints-xl) {
                width: 300px;
            }
        }

        .btn {
            margin-top: 1rem;
        }

        .previous {
            position: absolute;
            background: transparent;
            top: .5rem;
            right: .5rem;
            cursor: pointer;
            border: none;
            font-size: 1.5rem;

            @media screen and (max-width: $breakpoints-md) {
                top: -0.5rem;
                right: -0.5rem;
            }
        }

        #right-form {
            > div:first-of-type {
                padding-bottom: 1rem;
                border-bottom: 1px solid #fff;
            }

            .meeting-type {
                display: none;

                &.active {
                    display: block;
                }
            }

            #dateValue, #timeValue {
                font-weight: bold;
            }
        }
    }
}
