body.elp-auth-cold {
    background: #ffffff;
}

body.elp-auth-restoring .elp-auth-card {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

body.elp-auth-restoring .elp-auth-label,
body.elp-auth-restoring .elp-auth-error,
body.elp-auth-restoring .elp-auth-thanks,
body.elp-auth-restoring .elp-auth-thanks.is-visible,
body.elp-auth-restoring .elp-auth-help,
body.elp-auth-restoring .elp-auth-register,
body.elp-auth-restoring #elp-auth-submit {
    display: none !important;
}

.elp-auth-spinner {
    display: none;
    width: 32px;
    height: 32px;
    margin: 0 auto;
}

body.elp-auth-restoring .elp-auth-spinner {
    display: block;
}

body.elp-auth-restoring .elp-auth-logo {
    margin-bottom: 16px;
}

.elp-auth-spinner svg {
    display: block;
    width: 32px;
    height: 32px;
}

.elp-auth-restore-msg {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

body:not(.elp-auth-restoring) .elp-auth-restore-msg {
    display: none;
}

body.elp-auth-cold #elp-pos-root,
body.elp-auth-cold #loading,
body.elp-auth-cold #info-box,
body.elp-auth-cold #modal,
body.elp-auth-cold #modal1,
body.elp-auth-cold #modal2,
body.elp-auth-cold #modal3,
body.elp-auth-cold #lcm-modal {
    display: none !important;
}

.elp-auth-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #ffffff;
}

.elp-auth-screen[hidden] {
    display: none !important;
}

.elp-auth-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 420px;
}

.elp-auth-card {
    width: 100%;
    max-width: none;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 36px 32px 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.elp-auth-logo {
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}

.elp-auth-thanks {
    display: none;
    margin: 0 0 18px;
    padding: 14px 16px;
    background: #e8f7f3;
    border: 1px solid #b7e4d9;
    border-radius: 2px;
    color: #0e7a67;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.elp-auth-thanks.is-visible {
    display: block;
}

.elp-auth-thanks strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #0e7a67;
}

.elp-auth-thanks p {
    margin: 0;
}

.elp-auth-label {
    display: block;
    margin-bottom: 12px;
}

.elp-auth-card input[type=text],
.elp-auth-card input[type=password] {
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    font-size: 16px;
}

.elp-auth-card input[type=text]:focus,
.elp-auth-card input[type=password]:focus {
    border-color: #14ad92;
    outline: none;
}

.elp-auth-error {
    margin: 0 0 12px;
    color: #ad143c;
    font-size: 13px;
    min-height: 1em;
}

#elp-auth-submit {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 2px;
    background-color: #14ad92;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

#elp-auth-submit:hover,
#elp-auth-submit:focus {
    background-color: #0e7a67;
    color: #ffffff;
}

#elp-auth-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.elp-auth-help,
.elp-auth-register {
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #666666;
    text-align: left;
}

.elp-auth-register {
    margin-top: 10px;
}

.elp-auth-help a,
.elp-auth-register a {
    color: #14ad92;
    text-decoration: none;
}

.elp-auth-help a:hover,
.elp-auth-register a:hover {
    color: #0e7a67;
    text-decoration: underline;
}
