// Modal ====================================
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 110;
    background: rgba(0, 0, 0, .5);
    display: none;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    .inner {
        position: relative;
        max-width: 700px;
        width: calc(100% - 50px);
        height: calc(100% - 100px);
        overflow: auto;
        background: $gray;
    }

    &.active {
        display: flex;
    }

    &_close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        z-index: 4;
        cursor: pointer;

        &:hover {
            svg {
                ellipse {
                    fill: red;
                }

                path {
                    fill: #fff;
                }
            }
        }

        svg {
            @include ImgCon;
            pointer-events: none;

            ellipse,
            path {
                @include transition;
            }
        }
    }

    .movie_desc {
        &-photo {
            width: 100%;
            height: 400px;
            margin-bottom: 15px;

            img {
                @include ImgCov;
            }
        }

        &-info {
            padding: 30px 25px;
        }

        &-title {
            font-weight: 700;
            font-size: 20px;
            line-height: 1.3;
            color: #FFFFFF;
            margin-bottom: 15px;
        }

        &-row {
            display: flex;
            margin-bottom: 25px;

            b {
                font-weight: 400;
                font-size: 18px;
                line-height: 1.5;
                color: #FFFFFF;
                margin-right: 10px;
            }
        }

        &-txt {
            font-weight: 400;
            font-size: 18px;
            line-height: 1.5;
            color: #FFFFFF;
            margin-right: 30px;

            display: flex;
            align-items: center;

            &:last-child {
                margin-right: 0;
            }

            span {
                display: block;
                margin-right: 10px;

                width: 25px;
                height: 25px;

                svg {
                    @include ImgCon;
                }
            }
        }

        &-text {
            font-weight: 400;
            font-size: 18px;
            line-height: 1.4;
            color: #FFFFFF;
            margin-bottom: 30px;
        }



    }

    &.login {
        .inner {
            height: auto;
        }
    }

    .login {
        &_form {
            padding: 65px;
            background: $gray;
        }

        &_title {
            font-weight: 700;
            font-size: 24px;
            line-height: 1.5;
            color: #FFFFFF;
            margin-bottom: 50px;
        }

        &_input {
            width: 100%;
            margin-bottom: 25px;

            label {
                font-weight: 700;
                font-size: 18px;
                line-height: 1.3;
                color: #FFFFFF;
                margin-bottom: 10px;
                display: block;
            }

            input {
                font-weight: 700;
                font-size: 18px;
                line-height: 1.5;
                color: #FFFFFF;
                width: calc(100% - 52px);
                padding: 15px 25px;
                border: 1px solid #fff;
                border-radius: 10px;
                background: transparent;
            }
        }

        &_btn {
            width: 100%;
            padding: 15px 10px;
            border-radius: 10px;
            background: $yellow;
            color: $black;
            cursor: pointer;
            margin-top: 25px;
            font-weight: 700;
            font-size: 18px;
            line-height: 1.5;
            color: $gray;
            @include transition;
            border: 1px solid transparent;

            &:hover {
                background: transparent;
                border-color: $yellow;
                color: $yellow
            }
        }
    }
}



// Modal end ================================