

.activator{
    cursor: pointer;
}

.block{
    display: flex;
    width: 100vw;
    height: 100vh;
    position:fixed;
    top: 0;
    left: 0;
    background-color: var(--clr-black-lt);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    .card{
        color: var(--neutrals-black-88, rgba(0, 0, 0, 0.88));
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        text-transform: none;
        padding: 30px;
        background-color: #FFF;
        width: 600px;
        display: flex;
        flex-wrap: wrap;
        gap:20px;
        .submit{
            flex: 1 1 40%;
            margin-top: 10px;
        }
    }
    .field{
        flex: 1 1 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;
        label{
            color: var(--clr-black-lt);
        }
        input, textarea{
            padding: 20px;
            border-radius: 4px;
            border: 1px solid var(--clr-gr);
            resize: none;
            font-family: Montserrat;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 24px;
            // &.ng-untouched.ng-invalid{
            //     box-shadow: 0px 0px 0px 2px var(--clr-warning);
            // }
            &.ng-touched.ng-invalid{
                box-shadow: 0px 0px 0px 2px var(--clr-danger);
            }
        }
    }
    .tel{
        flex-basis: 40%;
    }
    .close{
        background-color: transparent;
        border: none;
        margin-left: auto;
        color: var(--clr-black-lt);
        cursor: pointer;
    }

}

.hidden{
    display: none;
}

@media screen and (max-width: 1024px){
    .block{
        display: block;
        overflow-y: scroll;
        display: block;
        position: fixed;
        width: 100vw;
        height: calc(100vh + 100px);
        
        z-index: 1000;
        .card{
            width: auto;
            border-radius: 0;
            max-width: 600px;
            margin: auto;
            padding-bottom: 130px;
        }
    }
    .hidden{
        display: none;
    }
    
}

