@import "variables";

.modal {
    width: 100vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    @media only screen and (max-width: 1199px) {
        width: 800px;
    }

    @media only screen and (max-width: 991px) {
        width: 500px;
    }

    &-dialog {
        width: 950px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) !important;

        @media only screen and (max-width: 1199px) {
            width: 800px;
        }

        @media only screen and (max-width: 991px) {
            width: 500px;
        }
    }

    &-content {
        padding: 5rem;
        border: none;
        border-radius: 0;
    }

    &-header {
        padding: 0rem;
        border: none;
        margin-bottom: 3rem !important;

        .close {
            background-color: $main-color;
            outline: none;
            border: none;
            width: 4rem;
            height: 4rem;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;

            span {
                color: #fff;
                font-size: 2.5rem;
                width: 2.1rem;
                height: 2.1rem;
            }
        }
    }

    &-title {
        font-size: 2.5rem !important;
        color: $main-color !important;
        letter-spacing: 0.5px;
        font-weight: $regular !important;
        font-family: $font-family !important;
    }

    &-body {
        padding: 0rem;

        .form-group {
            margin-bottom: 2rem;

            label {
                margin-bottom: 0.7rem;
                font-size: 1.4rem;
                color: $text-color;
                font-weight: $bold;
            }

            .form-select {
                font-size: 1.4rem;
                color: $text-color;
                border: 1px solid #707070;

                &:focus {
                    outline: none !important;
                    box-shadow: none !important;
                }
            }

            .multiple-select {

                border: none !important;
                background-color: #efefef;


                &::-webkit-scrollbar {
                    display: block;
                    width: 5px;
                    background-color: #e9f0f9;
                    border-radius: 5px;
                }

                &::-webkit-scrollbar-thumb {
                    background-color: #ccc;
                    border-radius: 10px;
                }
            }

            .urltocopy {
                width: 100%;
            }
            .e-mail,
            .full-name,
            .days,
            .description {
                padding: 1.8rem;
                background-color: #efefef;
                font-size: 1.4rem;
                color: $text-color;
                border: none;
            }

            .description,
            .days {
                background-color: #fff;
                border: 1px solid $text-color;
            }

            input:focus {
                border: none !important;
                outline: none !important;
                box-shadow: none !important;
            }
        }

        .form-group-last {
            margin-bottom: 4rem;
        }

        .btn-container {
            width: 100%;
            display: flex;
            justify-content: center;

            button {
                height: 44px;
                border-radius: 5px;
                background-color: $main-color;
                color: white;
                text-transform: uppercase;
                font-size: 1.2rem;
                display: flex;
                align-items: center;
                cursor: pointer;
                border: none;
                padding-left: 15px;
                padding-right: 15px;

                &:hover {
                    background-color: $secondary-color;
                    transition: 0.3s;
                }
            }
        }
    }
}
