﻿@import "theme.css";

body {
    background-image: var(--gradient-color1);
}

.login-container {
    background-color: white;
    max-width: 450px !important;
    min-height: 550px;
    margin-top: 3%;
    padding-top: 30px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
    display: block;
    padding-bottom: 30px;
}

.login-page-header-panel {
    margin-left: auto;
    margin-right: auto;
    min-width: 100%;
    text-align: center;
}

.login-page-logo {
    width: auto;
    max-height: 67px;
}

@media screen and (max-width: 300px) {
    .login-page-logo {
        max-height: 22vw;
    }
}

.evoucher-logo {
    font-weight: 900;
    margin-top: 30px;
    margin-bottom: 10px;
}

    .evoucher-logo span {
        font-size: 28px;
    }

@media screen and (max-width: 300px) {
    .evoucher-logo span {
        font-size: 9vw;
    }
}

.login-page-detail-panel {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.mfa-page-detail-panel {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.login-page-detail-panel .login-failed-message {
    color: red;
    margin-bottom: 3px;
    /*background-color: red;*/
    width: 100%;
    text-align: center;
    font-weight: 600;
    display: none;
    font-size: 12px;
}

    .login-page-detail-panel .login-failed-message.show {
        display: block;
    }

.success-status-message {
    min-height: 150px;
    max-height: 350px;
    text-align: center;
    align-content: center;
    font-weight: 600;
    font-size: 12px;
}

.failed-status-message {
    min-height: 150px;
    max-height: 350px;
    text-align: center;
    align-content: center;
    color: red;
    font-weight: 600;
    font-size: 12px;
}

.create-failed-message {
    color: red;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

.create-success-message {
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
}

.evoucher-logo h3 {
    font-weight: 400;
    margin-bottom: 50px;
}

.login-text {
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 300;
}

.mfa-text {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 300;
}

.login-form div input:invalid {
    /*border-color: red;*/
}

@media screen and (max-width: 300px) {
    .login-text {
        font-size: 9vw;
    }
}

.login-form {
    min-width: 100%;
    font-weight: 500;
}

.login-field {
    position: relative;
    margin-bottom: 1.25em;
}

    .login-field input {
        border-radius: 30px !important;
        outline: none;
        padding-left: 15px;
        font-size: 1em;
        height: 50px;
    }

    .login-field label {
        position: absolute;
        top: 14px;
        left: 15px;
        display: flex;
        align-items: center;
        color: gray;
        font-weight: 400;
        pointer-events: none;
    }

    .login-field input:focus + label,
    .login-field input:valid + label,
    .login-field input:not(:placeholder-shown) + label {
        color: gray;
        font-size: .75em;
        top: 2px;
        left: 23px;
        pointer-events: none;
    }

.field-validation-error {
    /*font-size: smaller;*/
}

.forgot-password-link {
    font-size: 14px;
    cursor: pointer;
}

.login-btn {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 20px;
    float: right;
    margin-top: 10px;
    width: 100px;
    font-weight: 600;
}

.forgot-password-btn {
    background-color: var(--secondary-color);
    color: white;
    border-radius: 20px;
    /*float: right;*/
    margin-top: 10px;
    width: 100px;
    font-weight: 600;
}

.logout-panel {
    min-width: 100%;
    padding-top: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logout-label {
    color: white;
    font-size: 50px;
}

.redirect-label {
    color: white;
    font-size: 20px;
}

.reset-password-field, .create-password-field, .forgot-password-field {
    position: relative;
    margin-bottom: 1em;
}

    /*.reset-password-field .text-danger,
    .create-password-field .text-danger,
    .forgot-password-field .text-danger {
        margin-bottom: 15px;
    }*/
    .reset-password-field input,
    .create-password-field input,
    .forgot-password-field input {
        border-radius: 30px !important;
        outline: none;
        padding-left: 15px;
        font-size: 1em;
        height: 40px;
        /*padding-top: 15px;Add spacing*/
    }

    .reset-password-field label,
    .create-password-field label {
        position: absolute;
        top: 10px;
        left: 15px;
        display: flex;
        align-items: center;
        color: gray;
        font-weight: 400;
        pointer-events: none;
    }

    .reset-password-field input:focus + label,
    .reset-password-field input:valid + label,
    .reset-password-field input:not(:placeholder-shown) + label,
    .create-password-field input:focus + label,
    .create-password-field input:valid + label,
    .create-password-field input:not(:placeholder-shown) + label {
        color: gray;
        font-size: .75em;
        top: 2px;
        left: 23px;
        pointer-events: none;
    }

.reset-password-text, .create-password-text, .forgot-password-text {
    font-weight: 900;
    margin-bottom: 30px;
    font-size: 20px;
}

.password-conditions {
    font-size: 11px;
}

@media screen and (max-width: 500px) {
    .login-btn {
        width: 100%;
        height: 50px;
        float: unset;
        border-radius: 30px;
    }
}

.login-btn:hover {
    background-image: linear-gradient(rgb(0 0 0/30%) 0 0);
    color: white;
}

.lowercase {
    text-transform: none !important;
}

.forgot-password-container {
    min-width: 500px;
    min-height: 500px !important;
}

.forgot-password-panel {
    min-width: 480px;
}

.forgot-password-button-panel {
    text-align: center;
}

.forgotpassword label {
    margin-top: -2px;
    top: 0px !important;
    margin-left: 7px;
    font-size: 11px;
}

.left-margin {
    margin-right: 5px;
}
