@import "../_variables.less";

.busy-popup{
    display:none;
    position:fixed;
    bottom:10px;
    left:50%;
    .transform(translateX(-50%));
    z-index:2500;
    width:calc(100% - 24px);
    max-width:600px;
    box-sizing:border-box;
    padding:22px;
    background:rgba(255,255,255,.75);
    border:1px solid #FFF;
    .background-blur(5px);
    .border-radius(25px);
    box-shadow:0 10px 20px rgba(0,0,0,.2);
    text-align:left;
    animation:slide-fade-in-small-50x .5s ease forwards;

    &.show{
        display:block;
    }

    &__close{
        position:absolute;
        top:6px;right:8px;
        width:40px;height:40px;
        padding:0;
        border:none;
        background:none;
        font-size:32px;
        line-height:40px;
        color:rgba(0,0,0,.18);
        cursor:pointer;
        transition:color .2s ease;

        &:hover{
            color:rgba(0,0,0,.35);
        }
    }

    &__title{
        display:flex;
        align-items:center;
        gap:8px;
        font-size:16px;
        font-weight:700;
        color:rgba(0,0,0,.85);
        margin-bottom:6px;

        IMG{
            width:20px;
            height:20px;
            flex-shrink:0;
        }
    }

    &__text{
        font-size:13px;
        line-height:20px;
        font-weight:500;
        color:rgba(0,0,0,.55);
        margin:0 0 14px;
    }

    &__form{
        width:100%;
    }

    &__field{
        position:relative;
        width:100%;
    }

    &__email{
        display:block;
        width:100%;
        height:40px;
        padding:0 48px 0 14px;
        .font-family();
        font-size:12px;
        line-height:40px;
        font-weight:500;
        color:rgba(0,0,0,.9);
        border:1px solid rgba(0,0,0,.15);
        .border-radius(100px);
        box-sizing:border-box;
        outline:none;
        transition:border-color .2s ease;

        &:focus{
            border-color:@default;
        }

        .placeholder-color(rgba(0,0,0,.4));
    }

    &__submit{
        position:absolute;
        top:50%;
        right:4px;
        .transform(translateY(-50%));
        display:flex;
        align-items:center;
        justify-content:center;
        width:32px;
        height:32px;
        padding:0;
        margin:0;
        border:3px solid @default;
        .default-bg();
        .border-radius(100px);
        box-sizing:border-box;
        overflow:hidden;
        cursor:pointer;
        transition:opacity .2s ease;

        IMG{
            display:block;
            width:100%;
            height:100%;
            object-fit:cover;
        }

        &:hover{
            opacity:.9;
        }
    }
}
