﻿.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    display: block;
    align-items: center; /* Centers content horizontally */
    background-color: rgb(255, 255, 255);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    width: 300px;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.login-heading {
    font-size: 28px;
    line-height: 40px;
    font-weight: bold;
}

.login-input-field .login-input-field-inner {
    min-height: 48px;
    position: relative;
    margin-bottom: 22px;
}

.login-input-field .login-input-field-inner .login-input-field {
    color: rgb(23, 33, 40);
    font-size: 16px;
    box-sizing: border-box;
    width: 100%;
    margin: 0px;
    padding: 6px 0px;
    border-radius: 0px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: transparent !important;
    box-shadow: none !important;
    border-width: 0px 0px 1px !important;
    border-style: solid !important;
    border-color: transparent transparent rgb(231, 232, 234) !important;
    border-image: initial !important;
}

.login-input-field .login-input-field-inner .login-field-label {
    position: absolute;
    bottom: 6px;
    transition: bottom 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s, top 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s, font-size 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s, color 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    pointer-events: none;
    color: rgb(82, 88, 91);
    font-size: 16px;
    display: block;
    margin-top: 18px;
    font-weight: 400;
}

.login-input-field .login-input-field-inner .login-field-error {
    font-size: 12px;
    position: absolute;
    bottom: -16px;
    color: #FF3B30;
}

.login-input-field .login-input-field-inner .login-input-field:focus {
    outline: none;
}

.login-input-field .input-field-inner .login-input-field:focus ~ .login-field-label {
    font-size: 12px;
    bottom: 30px;
    color: #329cd5;
}

.login-input-field .login-input-field-inner .login-field-underline {
    border-width: 0px 0px 1px;
    border-style: solid;
    border-color: transparent transparent #198DCC;
    border-image: initial;
    bottom: 0px;
    left: 0px;
    position: absolute;
    width: 100%;
    transform-origin: left bottom;
    transition: all 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    transform: scale(1);
}

.login-input-field .login-input-field-inner .login-input-field:focus ~ .login-field-underline {
    outline: none;
    transform: scale(1);
}

.login-btn {
    display: inline-block;
    outline: none;
    padding: 0px 18px;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
    background-color: #329cd5;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 2px 0px;
    border: none;
    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    transition: box-shadow 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s, border-color 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s, background-color 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    width: 100%;
}

.login-btn:disabled, .login-btn:disabled:hover {
    opacity: 0.5;
    cursor: default;
    background-color: #878787;
}

.otp-container p {
    margin-bottom: 10px;
}

.api-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.logo-image img {
    display: table;
    margin: 0 auto;
}

.login-container .logo-wrapper {
    position: relative;
}

.resend-btn {
    color: #329cd5;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.logo-image img {
    display: table;
    margin: 0 auto;
}

.loggedin-text {
    font-size: 15px;
    margin-bottom: 20px;
    display: block;
    margin-top: 20px;
}

.logout-btn {
    display: inline-block;
    outline: none;
    padding: 0px 18px;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
    background-color: #329cd5;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 1px 2px 0px;
    border: none;
    cursor: pointer;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    transition: box-shadow 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s, border-color 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s, background-color 225ms cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
    width: 48%;
    margin-right: 7px;
    margin-bottom: 25px;
}

.logout-btn:disabled, .logout-btn:disabled:hover {
    opacity: 0.5;
    cursor: default;
    background-color: #878787;
}

.login-input-field .login-input-field-inner .login-input-field:valid ~ .login-field-label {
    font-size: 12px;
    bottom: 30px;
    color: #329cd5;
}

.login-remember-me {
    margin-top: -30px;
    background-color: green;
    bottom: 30px;
}

.login-input-field {
    background-color: red;
}

/* New Stuff */

.portal-login-wrapper {
    background-color: #fff;
    border: 0 solid #000;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    width: 400px;
    height: auto;
    margin-top: 50px;
}

.login-header {
    margin-top: auto;
    margin-bottom: 0;
    margin-left: 0;
    padding-top: 40px;
    padding-bottom: 10px;
    padding-left: 20px;
    font-family: Open Sans, sans-serif;
    font-size: 28px;
    line-height: 30px;
    display: flex;
}

.login-input-phone-number {
    outline-offset: 0px;
    border: 1px solid #329cd5;
    outline: 3px #d9d9d9;
    width: 360px;
    max-width: 100%;
    margin-bottom: 0;
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 5px;
    padding-right: 0;
}

.login-form {
    padding-bottom: 20px;
    display: block;
}

.login-label-phone-number {
    color: #329cd5;
    margin-top: 10px;
    padding-left: 20px;
    font-size: 12px;
}

.login-submit-button {
    vertical-align: baseline;
    border-radius: 25px;
    width: 360px;
    height: 50px;
    margin-bottom: 0;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 20px;
    line-height: 25px;
    display: block;
}

.login-block {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    flex-flow: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    align-items: center;
    display: flex;
}

.login-checkbox-wrapper {
    align-self: auto;
    height: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.login-checkbox-label {
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.form-text-error {
    color: #721c24;
    background-color: #f8d7da;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    padding: .75rem 1.25rem;
    color: #721c24;
    position: relative;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.form-text-error-logo-upload {
    color: #721c24;
    background-color: #f8d7da;
    /*margin-left: 20px;*/
    margin-right: 20px;
    margin-bottom: 20px;
    padding: .75rem 1.25rem;
    color: #721c24;
    position: relative;
    border: 1px solid transparent;
    border-radius: .25rem;
    width: 200px;
}

.form-text-error-otp-code {
    color: #721c24;
    background-color: #f8d7da;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    padding: .75rem 1.25rem;
    color: #721c24;
    position: relative;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.login-resend-link-wrapper {
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
}

.login-resend-link {
    color: #329cd5;
}
.login-enter-code-label {
    padding-top: 40px;
    padding-left: 20px;
}

.back-btn {
    content: "\2039";
    font-size: 28px;
    line-height: 28px;
    font-weight: bold;
    left: 0;
    top: 0px;
    color: white;
    background-color: #329cd5;
     border-radius: 15px;
    width: 30px;
    height: 30px;
    margin-top: 30px;
    margin-left: 20px;
    text-align: center;
    cursor: pointer;
}

.login-back-btn-text {
    color: #fff;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    font-size: 24px;
    line-height: 30px;
    display: flex;
}

.login-text-verification-message {  
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
}

/*currently not using this*/
#loading-indicator {   
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #329cd5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}