*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}



.c-msg-popup{
    margin-top: 80px;
}
.outer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    margin-bottom: 4rem;
}
    
    
   

.container1 {
    position: relative;
    top: 80px;
    width: 800px;
    height: 450px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    margin: 20px;
    overflow: hidden;


}




.form-box {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    color: #523426;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 40px;
    z-index: 1;
    transition: 0.6s ease-in-out 1.2s, visibility 0s 1s;
}

.container1.active .form-box {
    right: 50%;
}

.form-box.register {
    visibility: hidden;
}

.container1.active .form-box.register {
    visibility: visible;
}

form {
    width: 100%;
}

.container1 h1 {
    font-size: 25px;
    margin: -10px 0;
}

.input-box {
    position: relative;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
                     
    padding: 6px 30px 6px 9px;
    background: #f9f6ef;              
    border-radius: 10px;
    border: 1.5px solid #d8ccb2;      
    outline: none;
    font-size: 15px;
    color: #523426;
    transition: all 0.25s ease;
}

.input-box input::placeholder {
    color: #888;
}

.input-box input:focus {
    background: #ffffff;
    border-color: #7494ec;
    box-shadow: 0 0 0 2px rgba(116,148,236,0.15);
}

.input-box i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    color: #9a9a9a;
}


.forget-link {
    margin: -15px 0 15px;
}

.forget-link a {
    font-size: 14.5px;
    color: #523426;
    text-decoration: none;
}




.btn1 {
    width: 80%;
    height: 48px;
    background: linear-gradient(90deg, #6f8fe8, #5a7ae0);
    border-radius: 12px;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.btn1:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}







.container1 .login-prag{
    color: #523426;
}

.container1 p {
    font-size: 12px;
    margin: 15px 0;
    color: #e1d6bd;
}




.toggle-box {
    position: absolute;
    width: 100%;
    height: 100%;
}

.toggle-box::before {
    content: '';
    position: absolute;
    left: -250%;
    width: 300%;
    height: 100%;
    background: #7494ec;
    border-radius: 150px;
    z-index: 2;
    transition: 1.8s ease-in-out;
}

.container1.active .toggle-box::before {
    left: 50%;
}

.toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: all 0.6s ease-in-out;
}

.toggle-panel.toggle-left {
    left: 0;
    transition-delay: .6s;
}

.container1.active .toggle-panel.toggle-left {
    left: -50%;
    transition-delay: .6s;
}

.toggle-panel.toggle-right {
    right: -50%;
    transition-delay: .6s;
}

.container1.active .toggle-panel.toggle-right {
    right: 0;
    transition-delay: 1.2s;

}

.toggle-panel p {
    margin-bottom: 20px;
}

.toggle-panel h1{
    color: #e1d6bd;
}

.toggle-panel .btn1 {
    width: 150px;
    height: 40px;
    background: transparent;
    color: #e1d6bd;
    border: 2px solid #b8b8b8;
    box-shadow: none;
}




@media screen and (max-width:650px){
    .container1{
        height: calc(100vh - 50px);
    }

    .form-box{
        bottom: 0;
        width: 100%;
        height: 70%;
    }

    .container1.active .form-box{
        right: 0;
        bottom: 30%;
    }
    .toggle-box::before{
        left: 0;
        top:-270%;
        width: 100%;
        height: 300%;
        border-radius: 20vw;
    }
    .container1.active .toggle-box::before{
        left:0;
        top:70%;
    }
    .toggle-panel{
        width: 100%;
        height: 30%;
    }
    .toggle-panel.toggle-left{
        top:0;
    }

    .container1.active .toggle-panel.toggle-left{
        left:0;
        top:-30%;
    }
    .toggle-panel.toggle-right{
        right: 0;
        bottom: -30%;
    }

    .container1.active .toggle-panel.toggle-right{
        bottom:0;
    }
}









