*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0FAFF;
}

.wrapper {
    position: relative;
    max-width: 470px;
    width: 100%;
    border-radius: 12px;
    padding: 20px 30px 120px;
    background: #AD0D0D;
    overflow: hidden;
}

.wrapper.forgotPassword{
    padding: 20px;
}

.form.login{
    position: absolute;
    left: 50%;
    bottom: -90%;
    transform: translateX(-50%);
    width: calc(100% + 400px);
    padding: 20px 140px;
    border-radius: 50%;
    height: 100%;
    background: #FFF;
    transition: all .6s ease;
}

.form.login header{
    color: #333;
}

.wrapper.active .form.login{
    bottom: -8%;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    border-radius: 35%;
}

.form header{
    font-size: 30px;
    text-align: center;
    color: #FFFFFF;
    font-weight: 600;
    cursor: pointer;
}

.wrapper form{
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input{
    height: 40px;
    outline: none;
    border: none;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 8px;
}

.form.login input{
    border: 1px solid #AAA;
    width: 70%;
    margin: auto;
}

.form.login input:focus{
    box-shadow: 0 1px 0 #DDD;
}

form .signupType{
    height: 40px;
    outline: none;
    border: none;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 8px;
    background: #FFF;
}

form .captcha{
    margin: 15px 0;
}

form .alert.success{
    padding: 5px;
    border: 1px solid #008614;
    border-radius: 5px;
    background: #2dff4d;
    opacity: .9;
    color: #FFF;
    text-align: center;
}

form .alert.danger{
    padding: 5px;
    border: 1px solid #6c0000;
    border-radius: 5px;
    background: #ff3333;
    opacity: .9;
    color: #FFF;
    text-align: center;
}

form .alert.success>p.dangerText{
    display: none;
}

form .alert.danger>p.successText{
    display: none;
}

form .captcha .preview{
    color: #555;
    width: 100%;
    text-align: center;
    border-radius: unset;
    height: 40px;
    line-height: 40px;
    letter-spacing: 8px;
    border: 1px dashed #FF4949;
    font-family: "monospace";
    -webkit-user-select: none;
    user-select: none;
    cursor: default;
}

form .captcha .preview span{
    display: inline-block;
    user-select: none;
}

form .captcha .captcha-form{
    display: flex;
}

form .captcha .captcha-form input{
    width: 100%;
    padding: 8px;
    border: none;
    outline: none;
    border-radius: unset;
}

form .captcha .captcha-form .captcha-refresh{
    width: 40px;
    border: none;
    outline: none;
    background: #FF4949;
    color: #EEE;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

form .checkbox{
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input.signupCheck{
    height: 16px;
    width: 16px;
    accent-color: #FFF;
    cursor: pointer;
}

form .checkbox label{
    cursor: pointer;
    color: #FFF;
}

form a.forgotPassword{
    color: #333;
    text-decoration: none;
    text-align: center;
}

form a:hover{
    color: #FF4949;
}

form .signupBtn{
    margin-top: 15px;
    padding: none;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    height: 40px;
    border: none;
    outline: none;
    border-radius: 8px;
    background: #FFFFFF;
    transition: all .30s ease;
}

form .signupBtn:hover{
    background: #FF4949;
    color: #FFF;
}

form .loginBox{
    display: flex;
    align-items: center;
    justify-content: center;
}

form .loginBox input{
    margin: unset !important;
}

form .loginBox label{
    color: #333;
}

form .signinBtn{
    margin: 15px auto 0;
    padding: none;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    height: 40px;
    border: none;
    outline: none;
    border-radius: 8px;
    background: #AD0D0D;
    color: #FFF;
    transition: all .30s ease;
    width: 70%;
}

form .signinBtn:hover{
    background: #FF4949;
    color: #FFF;
}

.container{
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 30px;
    max-width: 1000px;
    text-align: center;
}
  
.code-container{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}
  
.code{
    caret-color: transparent;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border: 1px solid #eee;
    font-size: 30px;
    font-family: "Lato", sans-serif;
    width: 75px;
    height: 80px;
    margin: 10px;
    text-align: center;
    font-weight: 300;
    outline: none;
}

.code:focus{
    outline: 2px solid #6C0000;
}
  
@media (max-width: 600px) {
    .code-container{
        flex-wrap: wrap;
    }
    .code{
        font-size: 24px;
        height: 50px;
        max-width: 50px;
        margin: 2px;
        font-size: bold;
    }
}
  
@media (max-width: 480px) {
    .code{
        font-size: 14px;
        height: 30px;
        width: 30px;
        max-width: 100px;
    }
    .btn{
        min-width: 200px !important;
        letter-spacing: unset;
    }
}
  
.code::-webkit-outer-spin-button,
.code::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"]{
    -moz-appearance: textfield;
}
  
.code:valid {
    border-color: #AD0D0D;
    box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.25);
}
  
.btn{
    font-family: "Lato", sans-serif;
    min-width: 400px;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    cursor: pointer;
    border: 1px solid transparent;
    margin: 0px 0px 20px 0px;
    padding: 0.775rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7;
}
  
.btn-primary{
    color: #fff;
    background-color: #AD0D0D;
    border-color: #6C0000;
}