@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
}

.box{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.form{
    width: 400px;
    min-height: 400px;
    padding: 32px;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.form img{
    display: block;
    margin: auto;
}

.form-title{
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 20px;
}

.form-group{
    height: 48px;
    margin-bottom: 20px;
    position: relative;
}

.form-control{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    border: 1px solid #a1a1a1;
    outline: none;
    padding: 16px;
    border-radius: 3px;
    z-index: 1;
}

.form-label{
    position: absolute;
    top: 13px;
    left: 13px;
    color: #a1a1a1;
    padding: 0 6px;
    font-size: 14px;
    transition: 0.3s;
    background-color: white;
}

.form-control:focus + .form-label{
    top: -8px;
    z-index: 2;
    color: #1866c9;
    font-weight: 500;
}

.form-control:focus{
    border: 1px solid #1866c9;
}

.form-control:not(:focus):valid+label{
    top: -8px;
    z-index: 10;
}

.showlabel{
    font-size: 14px;
}

.bottom-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
}

.bottom-box a{
    color: #1866c9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.form-button{
    display: block;
    padding: 12px 32px;
    outline: none;
    border: none;
    background-color: #1866c9;
    color: #fff;
    transition: 0.3s;
}

.form-button:hover{
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}