* {
    box-sizing: border-box;
    outline: none;
}
/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    display: swap;
    src: local(''), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/roboto-v30-latin-regular.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    display: swap;
    src: local(''), url('../fonts/roboto-v30-latin-500.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/roboto-v30-latin-500.woff') format('woff');
    /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

:root {
    --black: #000;
    --dark: #061308;
    --dark32: #323232;
    --green: #39b54a;
    --light: #f7fcf8;
    --border-grey: #bdbdbd;
    --border-light-grey: #efefef;
    --dark-grey: #4f4f4f;
    --white: #fff;
    --box-shadow: #00000021;
    --box-shadow-grey: #aab2ba80;
    --grey-disabled: #c1c4c0;
    --red: #d4394b;
    --grey: #7f8e9b;
    --dark-blue: #0D4F59;
    --light-blue: #E9F9FC;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
}

#body-dim {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--dark);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: .25s;
}

    #body-dim.active {
        opacity: 0.75;
        visibility: visible;
    }

#toast {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark32);
    color: var(--white);
    font-size: 12px;
    padding: 21px 24px;
    z-index: 99;
    cursor: pointer;
}

    #toast.active {
        display: block;
    }

button {
    cursor: pointer;
    padding: 0;
}

    .btn.loading, .btn.disabled, button:disabled {
        pointer-events: none;
        cursor: default;
        box-shadow: none;
        background-color: var(--grey-disabled);
    }

a.loading, a.disabled {
    pointer-events: none;
    cursor: default;
    color: var(--grey-disabled);
}

button .fa-spin, a .fa-spin {
    display: none;
}

button.loading .fa-spin, a.loading .fa-spin {
    margin-left: -12px;
    margin-right: 8px;
    display: inline-block;
}

.flex-container {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-space-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

::placeholder {
    color: var(--dark);
    opacity: 0.5;
}

:-ms-input-placeholder {
    color: var(--dark);
    opacity: 0.25;
}

::-ms-input-placeholder {
    color: var(--dark);
    opacity: 0.25;
}

.wrapper {
    display: flex;
    min-height: 100vh;
}

.form-container {
    position: relative;
    margin: auto;
    padding: 24px 16px 34px;
    width: 460px;
}

.logo {
    display: block;
    width: 108px;
    height: auto;
    margin: 0 auto 0px;
}

.error-msg.validation-summary-errors ul {
    list-style-type: none;
    margin-left: 0; 
    padding-left: 0; 
    margin-top: 0;
}


.label {
    display: block;
    color: var(--black);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.customer-group {
    width: 100%;
    background-color: var(--light);
    padding: 8px 10px 8px 6px;
    border-radius: 7px;
    box-shadow: 0 4px 8px 0 var(--box-shadow);
    border: none;
}

    .customer-group .text {
        margin-left: 12px;
    }

.input {
    display: block;
    border: 2px solid var(--border-grey);
    border-radius: 7px;
    padding: 20px 2px 20px 13px;
    margin-top: 24px;
    position: relative;
}

    .input span {
        display: block;
        font-size: 12px;
        margin-bottom: 10px;
        cursor: pointer;
    }

    .input input {
        border: none;
        width: 95%;
        min-width: 0;
        font-size: inherit;
        padding: 0;
    }

    .input .input-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-60%) translateX(+15%);
        cursor: pointer;
    }

    .input.error {
        border-color: var(--red);
    }

        .input.error > span {
            color: var(--red);
        }

#input-phone-number, #input-account-number {
    display: none;
}

    #input-phone-number.active, #input-account-number.active {
        display: block;
    }

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

label.has-icon {
    /* padding: 7px 1px 13px 16px;
     */
    /* background: white;
     */
}

.btn {
    font-size: 16px;
    font-weight: 500;
    display: block;
    width: 100%;
    background-color: var(--green);
    border-radius: 7px;
    box-shadow: 0 4px 8px 0 var(--box-shadow);
    padding: 13px 16px;
    border: none;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 28px;
}

p {
    margin: 0;
}

a {
    color: var(--green);
    font-weight: 500;
    text-decoration: none;
}

.forgot-pin {
    display: block;
    margin-top: 16px;
    text-align: center;
}

#supportLink {
    color: var(--green);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    margin: 20px;
    margin-top: 370px;
}

.new-customer-ui {
    display: block;
    margin-top: 16px;
    text-align: center;
}

.login-text {
    padding-bottom: 15px;
    font-weight: 500;
}

.forgot-pin > label {
    cursor: pointer;
}

.activate-account {
    display: block;
    margin-top: 25px;
    text-align: center;
}

.obscured-pin {
    -webkit-text-security: disc;
}

.new-user-section {
    margin-top: 48px;
}

.new-user-section {
    border-top: 1px solid var(--border-light-grey);
}

.btn.new-customer {
    display: flex;
    text-transform: initial;
    text-align: left;
    margin-top: 20px;
    text-decoration: none;
    background-color: var(--white);
}

    .btn.new-customer span {
        display: block;
        color: var(--green);
    }

        .btn.new-customer span.small {
            font-size: 12px;
            font-weight: 400;
            margin-top: 5px;
        }

.popup {
    width: 428px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    background-color: var(--white);
    border-radius: 7px;
    box-shadow: 0.5px 2px 6px 1px var(--box-shadow-grey);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s;
}

    .popup.active {
        opacity: 1;
        visibility: visible;
    }

    .popup span {
        display: block;
        font-size: 24px;
        font-weight: 500;
        color: var(--dark-grey);
        padding: 13px 17px 7px;
    }

    .popup button {
        display: block;
        width: 100%;
        background-color: transparent;
        border: none;
        color: var(--dark-grey);
        font-size: 16px;
        text-align: left;
        padding: 15px 17px;
    }

        .popup button:hover, .popup button.active {
            background-color: rgba(6, 19, 8, .15);
        }

            .popup button.active, .popup button.active span {
                font-weight: 500;
            }

.country-code-toggle {
    border: none;
    background-color: transparent;
}

.input span.country-code {
    margin: 0 8px 0 0;
    font-size: 16px;
    line-height: 1;
    cursor: initial;
}

.country-codes button {
    display: flex;
}

.popup.country-codes span:not(.popup-title) {
    font-size: 16px;
    padding: 0;
}

.popup.country-codes span.country-code {
    font-weight: 400;
    margin-right: 10px;
}

.error-msg
{
    display: block;
    font-size: 12px;
    padding: 5px 18px 0;
    color: var(--red);
}

.account-error-msg,
.password-error-msg {
    display: none;
    font-size: 12px;
    padding: 5px 18px 0;
    color: var(--red);
}

.error-msg-login {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--red);
}

    .error-msg-login ul {
        list-style-type: none;
        padding: 0px 10px;
    }

.error-msg-login-rate-limit {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: var(--red);
    padding: 0px 18px;
    margin-top: -10px;
}

.new-user-info {
    line-height: 22px;
}


.pin-code-help {
    display: block;
    font-size: 16px;
    font-weight: 300;
    padding: 10px 34px 0;
    color: var(--grey);
}

.registration-label {
    display: block;
    color: var(--black);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

.reset-password-label {
    display: block;
    color: var(--black);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1.2px;    
    margin-bottom: 16px;
}

.error-msg-registration {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--red);
}

.error-msg-registration ul {
    list-style-type: none;
    padding: 0px 10px;
}

.error-msg-registration ul li {
    padding: 4px 0px;
}

.footer-row {
    background: var(--light-blue);
    margin-left: 1px;
    margin-right: 10px;
    padding: 10px;
    border-radius: 8px;
    bottom: 0px;
    color: var(--dark-blue);
    margin-top: 5px;
}

.horizontal-line {
    height: 1px;
    margin: 1rem 0;
    color: inherit;
    background-color: currentColor;
    border: 0;
    opacity: .25;
    margin-top: 10%;
}

@media (max-width: 480px) {
    .wrapper {
        height: 100vh;
    }

    .form-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    form {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .btn.bottom, .new-user-section {
        margin-top: auto;
    }

    .popup {
        width: calc(100% - 32px);
    }

    .terms {
        position: absolute;
        bottom: 95px;
    }
}

@media (max-width: 375px) {
    br.hidden-xs {
        display: none;
    }
}

@media (max-height: 600px) {
    .logo {
        margin-bottom: 20px;
    }

    .form-container {
        padding: 10px 16px;
    }

    label[for='retype-pin-code'] {
        margin-bottom: 24px;
    }

    p, .forgot-pin {
        margin-bottom: 16px;
    }
}

fieldset {
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    border-color: #bdbdbd;
}

legend {
    font-size: 11px;
    font-weight: bold;
    color: #bdbdbd;
}

.remind-attempts {
    display: block;
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    padding: 5px 18px 0;
    font-weight: bold;
}

.label-name {
    margin-top: -28px;
    background: #FFFFFF;
    height: 14px;
    padding: 2px 5px 2px 5px;
    float: left;
    font-size: 14px !important;
    color: #A6A6A6;
}

.input-tip-message {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.4000000059604645px;
    text-align: left;
    color: #39B54A;
    display: none;
    margin-left: 13px;   
}

.input-tip {
    margin-top: 5px;
}

.customer-setup-success {
    text-align: center !important;
    margin-top: 40px;
    font-weight: bolder;
    font-size: larger;
    margin-bottom: 10px;
}

.success-info {
    text-align: center;
}

.material-icons {
    font-size: 16px !important;
}

.otp-validity {
    opacity: 0.4; 
    filter: alpha(opacity = 60);
}

.alarm-clock {
    height: 18px;
    margin-right: 5px;
    margin-bottom: -3px;
}

.otp-validity-text {
    font-size: 14px !important;
}

#img-container {
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    height: 25vh;
}

.img-container img {
    width: 200px;
    height: auto;
}

.password-tip {
    background-color: #E4FAE7;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}

.password-tip ul {
    padding: 0;
    position: relative;
    font-size: 13px !important;
    margin-left: 15px;
}

.password-tip li {
    margin-bottom: 8px;
}

.password-tip-header {
    color: #184E20;
}

.password-tip-list {
    color: #121212;
}

.image-text-container {
    margin-top: 20% !important;
    margin-bottom: 20% !important;
}

.set-border-color {
    border-color: #DB2431;
}

.submit-otp-timer {
    display: block;
    text-align: center;
    font-size: 15px !important;
    font-weight: bold;
    opacity: 0.2; 
    filter: alpha(opacity = 60);     
}

@media (prefers-color-scheme: dark) {
    body {
        margin: 0;
        padding: 0;
        font-family: 'Roboto', sans-serif;
        font-size: 16px;
        color: var(--white);
        -webkit-font-smoothing: antialiased;
        background: black
    }

    .label {
        display: block;
        color: var(--white);
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

        input {
            color: white;
            background: none;
        }

    .input-icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-20%);
        cursor: pointer;
    }

    ::placeholder {
        /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: var(--white);
        opacity: 0.5;
    }

    .popup {
        width: (100%-32px);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 999;
        background-color: var(--black);
        border-radius: 7px;
        box-shadow: 0.5px 2px 6px 1px var(--box-shadow-grey);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s;
    }

    .popup.active {
        opacity: 1;
        visibility: visible;
    }

    .popup span {
        display: block;
        font-size: 24px;
        font-weight: 500;
        color: white;
        padding: 13px 17px 7px;
    }

    .popup button {
        display: block;
        width: 100%;
        background-color: transparent;
        border: none;
        color: white;
        font-size: 16px;
        text-align: left;
        padding: 15px 17px;
    }

    .popup button:hover, .popup button.active {
        background-color: var(--dark-grey);
    }

    .popup button.active, .popup button.active span {
        font-weight: 500;
        background-color: var(--dark-grey);
    }

    .flex-container {
        display: flex;
        color: white;
    }

    .country-codes button {
        display: flex;
    }

    .customer-group {
        width: 100%;
        background-color: var(--dark-grey);
        padding: 8px 10px 8px 6px;
        border-radius: 7px;
        box-shadow: 0 4px 8px 0 var(--box-shadow);
        border: none;
    }

    .btn.new-customer {
        display: flex;
        text-transform: initial;
        text-align: left;
        margin-top: 20px;
        text-decoration: none;
        background-color: var(--dark-grey);
    }

    .btn.new-customer span {
        display: block;
        color: var(--white);
    }

    .registration-label {
        display: block;
        color: var(--white);
        font-size: 18px;
        font-weight: 500;
        letter-spacing: 1.2px;
        margin-bottom: 16px;
    }

    .reset-password-label {
        display: block;
        color: var(--white);
        font-size: 18px;
        font-weight: bold;
        letter-spacing: 1.2px;
        margin-bottom: 16px;
    }

    .label-name {
        margin-top: -28px;
        background: black;
        height: 14px;
        padding: 2px 5px 2px 5px;
        float: left;
        font-size: 14px !important;
        color: white;
    }

    .password-tip {
        background-color: #E4FAE7 !important;
        color: #fff;
        padding: 10px;
        border-radius: 5px;
        margin-top: 10px;
        display: none;
    }

    .password-tip ul {
        padding: 0;
        position: relative;
        font-size: 13px !important;
    }

    .password-tip li {
        margin-bottom: 8px;
    }

    .password-tip-header {
        color: #184E20;
    }

    .password-tip-list {
        color: #121212;
    }

    .submit-otp-timer {
        display: block;
        margin-top: 16px;
        text-align: center;
        font-size: 12px;
        padding: 5px 18px 0;
        font-weight: bold;
        color: var(--white);
    }
}

@media (min-width: 480px) {
    .terms {
        margin-top: 24px;
    }
}
