.rw-modal{
    display: none;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,.5);
    padding: 15px;
}

.rw-login-modal{
    text-align: center;
}

.rw-modal-content{
    background: #fff;
    width: 100%;
    max-width: 430px;
    border-radius: 18px;
    padding: 30px 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
}

.rw-modal-title{
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 10px;
    color: #222;
}

.rw-modal-body{
    margin-top: 25px;
}

.rw-modal-body p{
    font-size: 15px;
    color: #666;
    margin-bottom: 18px;
}

.rw-modal-content input{
    width: 100% !important;
    height: 52px !important;
    border: 1px solid #ddd;
    border-radius: 10px !important;
    padding: 0 15px;
    font-size: 16px;
    outline: none;
    transition: .3s;
}

.rw-modal-content input:focus{
    border-color: #00a877;
    box-shadow: 0 0 0 3px rgba(0,168,119,.12);
}

.rw-modal-btn-div{
    margin-top: 25px;
}

.rw-modal-btn{
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: #00a877 !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    transition: .3s;
}

.rw-modal-btn:hover{
    background: #008760 !important;
}

.rw-m-close{
    color:#aaa;
    font-size:28px;
    cursor:pointer;
}

.rw-m-close:hover{
    color:#333;
}

.rw-login-welcome-image{
  height: 150px;
  max-height: 150px;
  margin: 10px 0;
}

@media (min-width:768px){

    .rw-modal-content{
        padding: 40px;
    }

    .rw-modal-title{
        font-size: 24px;
    }

    .rw-modal-body p{
        font-size: 16px;
    }
}


/*otp*/
.rw-otp-box{
    margin-top:20px;
}

.rw-otp-text{
    color:#666;
    font-size:14px;
    margin:15px 0;
}

.rw-progress{
    width:100%;
    height:8px;
    background:#ececec;
    border-radius:20px;
    overflow:hidden;
    margin-top:20px;
}

.rw-progress-bar{
    width:100%;
    height:100%;
    background:#00a877;
    border-radius:20px;
     transition:width 1s linear;
}

 

.rw-otp-input{
    width:100%;
    height:52px;
    margin-top:25px;
    margin-bottom:25px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:0 15px;
    text-align:center;
    font-size:18px;
}

.rw-resend-btn{
    width:100%;
    margin-top:15px;
    height:50px;
    border:none;
    border-radius:10px;
    background:#ddd;
    color:#888;
    cursor:not-allowed;
    transition:.3s;
}

.rw-resend-btn.active{
    background:#fff;
    color:#00a877;
    border:1px solid #00a877;
    cursor:pointer;
}

.rw-resend-btn.active:hover{
    background:#00a877;
    color:white;
}
/*end otp*/

/*error box*/
.rw-login-error-box {
    display: none;
    position: relative;
    margin-bottom: 16px;
    padding: 12px 40px 12px 14px;
    border-radius: 12px;
    background: #fff1f2;
    color: #be123c;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #ffe4e6;
}

.rw-login-error-box.show {
    display: block;
}

.rw-login-error-close {
    position: absolute;
    top: 8px;
    left: 10px;
    border: none;
    background: none !important;
    color: #9f1239;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    opacity: .6;
    transition: opacity .2s;
}

.rw-login-error-close:hover {
    opacity: 1;
}
/*error box*/