* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /*font-family: 'Poppins', sans-serif;*/
}

body {
    min-height: 100vh;
    background: linear-gradient(120deg, #cc933d0d, #cc933d0d);

}

.container {
    position: relative;
    width: 850px;
    height: 850px;
    background-color: #fff;
    border-radius: 30px;
    margin: 20px;
    /* box-shadow: 0 0 30px rgba(0, 0, 0, 0.2); */
    overflow: hidden;
}

.form-box {
    position: absolute;
    height: 100%;
    width: 50%;
    background: #ffffff;
    right: 0;
    display: flex;
    align-items: center;
    color: #022a49;
    text-align: center;
    padding: 40px;
    z-index: 1;
    transition: 0.5s ease-in-out 1s, visibility 0s 1s;
}

.container.active .form-box {
    right: 50%;
}

.form-box.register {
    visibility: hidden;
}

.container.active .form-box.register {
    visibility: visible;
}

form {
    width: 100%;
}

.container h1 {
    font-size: 33px;
    margin: -10px 0;
    color: #efdbbf !important;

}

.form-box h1 {
    color: #022a49 !important;
}

.input-box {
    position: relative;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f6f5f3;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: #022a49;
}

.input-box input::placeholder {
    color: #787373;
    font-weight: 400;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #022a49;
}

.forget-link {
    margin: -15px 0 15px;
}

.forget-link a {
    font-size: 12.5px;
    color: #79373a;
    text-decoration: none;
}

.btn {
    width: 100%;
    height: 48px !important;
    background-color: #cc933d !important;
    border-radius: 8px !important;
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
    font-size: 14px !important;
    border: none !important;
    cursor: pointer;
    color: #fff !important;
    font-weight: 600 !important;
}

.container p {
    font-size: 12.5px;
    margin: 15px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons a {
    display: inline-flex;
    padding: 10px;
    border: 1px solid #79373a;
    border-radius: 8px;
    font-size: 22px;
    color: #79373a;
    text-decoration: none;
    margin: 0 8px;

}

.toggle-box {
    position: absolute;
    width: 100%;
    height: 100%;
}

.toggle-box::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 100%;
    left: -250%;
    border-radius: 100px;
    background-color: #022a49;
    z-index: 2;
    transition: 1.4s ease-in-out;
}
.toggle-box .reg-head {
    width: 80%;
    text-align: center;
    color: #cc933d !important;
    display: flex;
    margin-bottom: 20px;
}

.container.active .toggle-box::before {
    left: 50%;
}

.toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    /* background-color: #022a49; */
    color: #efdbbf !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: 0.5s ease-in-out;
}

.toggle-panel.toggle-left {
    left: 0;
    transition-delay: 1s;
}

.container.active .toggle-panel.toggle-left {
    left: -50%;
    transition-delay: 0.5s;
}

.toggle-panel.toggle-right {
    right: -50%;
    transition-delay: 0.5s;
}

.container.active .toggle-panel.toggle-right {
    right: 0;
    transition-delay: 1s;
}

.toggle-panel p {
    margin-bottom: 20px;
}

.toggle-panel .btn {
    width: 160px;
    height: 46px;
    background: #cc933d !important;
    border: 2px solid #efdbbf !important;
    color: #efdbbf !important;
    box-shadow: none;
}

.reset-link {
    margin: 0;
}

@media screen and (max-width: 650px) {
    form{
        height:350px;
    }
    .container {
        height: calc(100vh - 40px);
        width:100%;
    }
    .toggle-right .reg-head{
        display: none;
    }

    .form-box {
        /* background-color: purple; */
        width: 100%;
        height: 80%;
        bottom: 0;

    }

    .container.active .form-box {
                right: 0;
        bottom: unset;
        top: -5px;
        height: auto;
        overflow-y: auto;
    }

    .toggle-box::before {
        left: 0;
        top: -270%;
        width: 100%;
        height: 300%;
        border-radius: 20vw;
    }

    .container.active .toggle-box::before {
        left: 0;
        top: 70%;
    }

    .toggle-panel {
        width: 100%;
        height: 30%;
    }

    .toggle-panel.toggle-left {
        top: 0;
    }

    .container.active .toggle-panel.toggle-left {
        left: 0;
        top: -30%;
    }

    .toggle-panel.toggle-right {
        right: 0;
        bottom: -30%;
    }

    .container.active .toggle-panel.toggle-right {
        bottom: 0;
    }
}

@media screen and (max-width: 400px) {
    .form-box {
        padding: 20px;
    }

    .toggle-panel h1 {
        font-size: 30px;
    }

    .toggle-box {
        left: 0;
    }

    .toggle-box::before {
        border-radius: 30px;
    }

    .container.active .toggle-box::before {
        border-radius: 30px;
    }

    .input-box {
        margin: 0;
    }

    form h1 {
        margin: 0 0 31px !important;

    }
}