body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    position: relative;

    width: 400px;
    height: 520px;

    background-color: #fff;

    margin: 10px auto;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    overflow: hidden;
}

.container .toggle-box {
    display: flex;

    position: relative;

    width: 220px;

    background-color: #eeeeee;
    
    margin: 30px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 30px;

    .active {
        position: absolute;
        top: 0;
        left: 0;
        
        width: 110px;
        height: 50px;

        background-color: var(--primary-color);
        
        border-radius: 30px;

        transition: all 0.3s ease-in-out;
    }

    > .toggle-btn {
        position: relative;

        width: 110px;
        height: 50px;

        background: transparent;
        
        border: none;
        outline: none;

        cursor: pointer;

        font-size: 20px;
    }

    > .login-toggle {
        color: #fff;
    } 
}

.container .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    > a {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;

        background-color: var(--primary-color);

        color: #fff;
        text-decoration: none;

        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }
}

.container .form {
    position: absolute;
    top: 170px;

    width: 300px;

    transition: all 0.3s ease-in-out;

    > h2 {
        text-align: center;
        color: #000;
        font-size: 30px;
        font-weight: 700;
    }
}

.form .input-field {
    width: 100%;

    background: transparent;

    color: #000;
    font-size: 18px;

    margin: 10px 0;
    padding: 10px 0;
    border: none;
    outline: none;
    border-bottom: 1px solid #000;
}

.form .remember-me, .terms-checkbox {
    display: flex;
    align-items: center;

    margin-top: 10px;

    > input {
        width: 20px;
        height: 20px;
        
        margin-right: 10px;
        cursor: pointer;
    }

    > label {
        font-size: 15px;
        color: #000;
    }
}

.form .login-btn, .register-btn {
    width: 100%;
    height: 40px;

    background-color: var(--primary-color);

    margin-top: 20px;
    border: none;
    border-radius: 10px;
    outline: none;
    cursor: pointer;

    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.form .forgot-pw {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    
    color: #000;
    text-decoration: none;
    font-size: 15px;

    &:hover {
        text-decoration: underline;
    }
}

#login-form {
    left: 50px;
}

#register-form {
    left: 450px;
}
