.loginCard {
    background-color: #2d313b;
    box-shadow: 0px 3px 27px rgba(0, 0, 0, 0.15);
    color: white;
    border-radius: 8px;
    padding: 35px;
    display: block;
    margin: 100px auto;
    width: 400px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.loginCard h1 {
    margin-bottom: 20px;
}

.loginCard input[type="submit"] {
    background-color: rgb(51, 153, 64);
    border-radius: 3px;
    text-align: center;
    padding: 10px;
    color: white;
    border: none;
    width: 100%;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 50px;
}

.loginCard .errorMessage {
    color: rgb(255, 131, 131);
    margin-bottom: 6px;
    font-weight: 500;
}

.loginCard .loadingOverlay {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    display: none;
}

.loginCard .loadingOverlay.active {
    display: flex;
}

.loginCard .loadingOverlay .loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #49a1db;
    width: 50px;
    height: 50px;
    animation: loading_spin 2s linear infinite;
}

@keyframes loading_spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.verificationSendOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    background-color: rgb(49, 117, 75);
    font-size: 22px;

    padding: 22px;
    box-sizing: border-box;

    display: flex;
    transition: 400ms;
    transform: translateX(100%);
}

.verificationSendOverlay.active {
    transform: translateX(0%);
}

.verificationSendOverlay p {
    text-align: center;
    font-weight: 500;
}

.verificationSendOverlay p:nth-child(2) {
    font-size: 14px;
    font-weight: 400;
    margin-top: 10px;
}

.verificationSendOverlay a {
    background-color: #2d313b;
    color: white;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.forgotPasswordOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    background-color: rgb(34, 43, 94);
    font-size: 22px;

    padding: 25px;
    box-sizing: border-box;

    display: flex;
    transition: 400ms;
    transform: translateX(100%);
}

.forgotPasswordOverlay.active {
    transform: translateX(0%);
}

.forgotPasswordOverlay .emailInputWrapper {
    width: 100%;
    margin-top: 50px;
}

.forgotPasswordOverlay .buttonWrapper {
    display: flex;
    margin-top: auto;
    width: 100%;
}

.forgotPasswordOverlay button.resetPassword {
    padding: 12px 20px;
    background-color: rgb(49, 117, 75);
    border: none;
    color: white;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;

    margin-left: auto;
}

.forgotPasswordOverlay button.back {
    padding: 12px 20px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    background-color: transparent;
    border: none;

    margin-right: auto;
}

.forgotPasswordOverlay .notDoneWrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.forgotPasswordOverlay .successWrapper {
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
}



.inputBoxLabelMove:last-of-type {
    margin-bottom: 10px !important;
}

.loginCard .forgotPassword {
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    text-decoration: underline;
}

.loginCard .signupButton {
    display: block;
    background-color: rgba(51, 95, 153, 0.75);
    border-radius: 3px;
    text-align: center;
    padding: 10px;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}

.loginCard .loginWithTwitchButton {
    display: block;
    background-color: #9147ff;
    border-radius: 3px;
    text-align: center;
    padding: 10px;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loginCard .loginWithTwitchButton i {
    font-size: 22px;
    margin-right: 8px;
}

.loginCard .separator {
    margin: 20px 0;
    display: flex;
    align-items: center;
    width: 100%;
}

.loginCard .separator .line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.25);
}

.loginCard .separator .text {
    margin: 0 10px;
}


.loginCard #loginForm .passwordInputWrapper .togglePasswordWrapper {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translate(0, -50%);
}

.loginCard #loginForm .passwordInputWrapper .togglePasswordWrapper i {
    color: rgb(194, 194, 194);
    cursor: pointer;
    font-size: 20px;
}

.loginCard #loginForm .passwordInputWrapper .togglePasswordWrapper i.hidePasswordIcon {
    display: none;
}

.loginCard #loginForm .passwordInputWrapper input {
    padding-right: 38px;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .loginCard {
        width: 92%;
        padding: 20px;
        box-sizing: border-box;
    }
}