.regis{
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    display: flex;
    padding: 4rem 1rem 1rem 1rem;
}

.regis-left , .regis-right{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.regis-right>h2{
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.regis-left-img img{
    width: 100%;
    max-height: 600px;
    object-fit: contain;
}

.regis-steps{
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    padding: 2rem 1rem;
    margin-top: 1rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 10px #00000015;
}

.regis-step-info{
    margin-top: 1rem;
}

.regis-step-info h4{
    text-align: center;
}

.regis-wrap{
    width: 100%;
    max-width: 500px;
    margin: 0rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 5px 15px #00000015;
}

.regis-progress{
    display: flex;
    width: 100%;
    max-width: 300px;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.progress-bar{
    width: 95%;
    height: 100%;
    position: absolute;
    transform: translateY(25%);
    z-index: 0;
}

.progress-bar-bg{
    height: 5px;
    width: 90%;
    background-color: #eee;
    z-index: 0;
    margin: auto;
}

.progress-bar-tab{
    height: 5px;
    transition: .2s ease-out;
    background-color: #e66912;
}


.step-1 .progress-bar-tab{
    width: 0%;
}

.step-2 .progress-bar-tab{
    width: 50%;
}

.step-3 .progress-bar-tab{
    width: 100%;
}

.progress-step{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.progress-step p{
    font-size: .8rem;
}

.step-icon{
    padding: 5px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s ease-out;
}

.step-1 #pro-step-1 .step-icon{
    background-color: #e66912;
}

.step-1 #pro-step-2 .step-icon{
    background-color: rgb(174, 174, 174);
}

.step-1 #pro-step-3 .step-icon{
    background-color: rgb(174, 174, 174);
}

.step-2 #pro-step-1 .step-icon{
    background-color: #e66912;
}

.step-2 #pro-step-2 .step-icon{
    background-color: #e66912;
}

.step-2 #pro-step-3 .step-icon{
    background-color: rgb(174, 174, 174);
}

.step-3 #pro-step-1 .step-icon{
    background-color: #e66912;
}

.step-3 #pro-step-2 .step-icon{
    background-color: #e66912;
}

.step-3 #pro-step-3 .step-icon{
    background-color: #e66912;
}

.regis-form{
    display: flex;
    width: 100%;
    max-width: 400px;
    flex-direction: column;
    margin: auto;
    height: 500px;
}

.regis-form-wrap{
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    padding: 1rem 0rem 2rem 0rem;
    
}

.regis-form-wrap .input-wrap p.warning{
    padding: 5px 0px 0px 0px;
    font-size: .8rem;
    text-align: right;
    margin-bottom: 0 !important;
}

.form-wrap{
    width: 100% !important;
    height: auto;
    position: absolute;
    transition: .3s ease-out;
    opacity: 1;
}

.first-active #first-step{
    transform: translateX(0%);
}

.first-active #second-step{
    transform: translateX(100%);
    opacity: 0;
}

.first-active #third-step{
    transform: translateX(200%);
    opacity: 0;
}

.second-active #first-step{
    transform: translateX(-100%) ;
    opacity: 0;
}
.second-active #second-step{
    transform: translateX(0%) ;
}
.second-active #third-step{
    transform: translateX(100%) ;
    opacity: 0;
}

.third-active #first-step{
    transform: translateX(-200%) ;
    opacity: 0;
}
.third-active #second-step{
    transform: translateX(-100%) ;
    opacity: 0;    
}
.third-active #third-step{
    transform: translateX(0%) ;
}

.input-wrap{
    width: 100%;
    margin-bottom: 1rem;
}

.input-wrap p{
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.input-wrap input{
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgb(214, 214, 214);
    outline: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif;
}

.form-wrap button[type="submit"]{
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    background: linear-gradient(270deg, #f7a019, #f27f0c);
    border-radius: 10px;
    border: none;
    outline: none;
    margin-top: 25px;
    font-size: 1.1rem;
    color: #fff;
    cursor: pointer;
}

.btn-control{
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.btn-control div{
    display: flex;
}

.prev-btn:hover p , .next-btn:hover p{
    color:#e66912;
}

.prev-btn:hover svg path , .next-btn:hover svg path{
    fill:#e66912;
}

.first-active>.btn-control .prev-btn p , .first-active>.btn-control .prev-btn svg{
    display: none;
}

.second-active>.btn-control .next-btn p , .second-active>.btn-control .next-btn svg{
    display: none;
}

.alert-warn{
    display: none;
    width: 100%;
    text-align: center;
    padding: 1rem;
    background: #ffb5b5;
    color: #a00000;
    border-radius: 5px;
}

.alert-warn.active{
    display: flex;
}

@media screen and (max-width:441px) {
    .regis{
        flex-direction: column;
    }

    .regis-left , .regis-right{
        width: 100%;
    }
}

/* Regis Success */
.regis-success{
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.regis-success img{
    width: 100%;
    max-width: 500px;
}

.regis-success h1{
    color: var(--primary-color);
    font-weight: 800;
    margin-top: 2rem;
}

.regis-success p{
    color: #7a7a7a;
    font-weight: 700;
}
/* Regis Success */