.login-message {
    color: darkred;
    font-weight: bold;
    font-size: 21px;
    display: block;
    text-align: center;
}

.upgrade-progress {
    width: 70%;
    max-width: 420px;
    margin: 12px auto 0;
    text-align: center;
}

.upgrade-progress__track {
    height: 14px;
    overflow: hidden;
    border-radius: 8px;
    background: #d9e4ea;
    border: 1px solid #b7c9d3;
}

html.lg-theme .upgrade-progress__track {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(255, 255, 255, 0.55);
}

.upgrade-progress__fill {
    height: 100%;
    width: 0;
    border-radius: 8px;
    background: #006186;
    transition: width 0.25s ease;
}

html.lg-theme .upgrade-progress__fill {
    background: rgb(18 132 255);
}

.upgrade-progress__fill--indeterminate {
    width: 40% !important;
    animation: upgrade-progress-slide 1.2s ease-in-out infinite;
}

.upgrade-progress__label {
    margin-top: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #006186;
}

html.lg-theme .upgrade-progress__label {
    color: rgb(18 132 255);
}

@keyframes upgrade-progress-slide {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(280%); }
}

.upgrade-dialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

html.lg-theme .upgrade-dialog {
    background: rgba(15, 23, 42, 0.28);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.upgrade-dialog__panel {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

html.lg-theme .upgrade-dialog__panel {
    background: rgba(245, 248, 252, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(28px);
    backdrop-filter: saturate(180%) blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.upgrade-dialog__title {
    font-size: 24px;
    font-weight: bold;
    color: #006186;
    text-align: center;
    margin-bottom: 16px;
}

.upgrade-dialog__message {
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 24px;
}

.upgrade-dialog__hint {
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    color: #666;
    margin: -12px 0 24px;
}

.upgrade-dialog__actions {
    display: flex;
    gap: 12px;
}

.upgrade-dialog__actions .button {
    flex: 1;
}

.login-auth-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    background: rgba(15, 23, 42, 0.28);
    display: none;
}

.login-auth-backdrop.fadein {
    display: block;
}

.login-auth-pad.numPad {
    z-index: 901;
    background-color: #fff;
    border-radius: 6px;
    display: none;
    position: fixed;
    top: 12%;
    left: 50%;
    width: 420px;
    max-width: 92vw;
    height: 520px;
    margin-left: -210px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.login-auth-pad.numPad.fadein {
    display: block;
}

@media (max-width: 480px) {
    .login-auth-pad.numPad {
        margin-left: 0;
        left: 4vw;
        width: 92vw;
        height: auto;
        min-height: 460px;
        padding-bottom: 20px;
    }

    .login-auth-pad .membership-code-sample {
        height: auto !important;
        flex-direction: column;
        align-items: center;
    }

    .login-auth-pad .membership-code-sample img {
        width: 140px !important;
        height: auto !important;
    }
}

.login-auth-pad .numPadHeader {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background-color: #f8f8f8;
    height: 30px;
    padding: 5px;
    line-height: 30px;
    text-align: center;
    font-size: 17px;
    position: relative;
}

.login-auth-pad .numPadContent {
    padding: 10px;
}

.login-auth-pad .membership-code-sample {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-auth-pad .pass-label {
    color: green;
}

.col {
    text-align: center;
}

.row {
    margin-bottom: 20px;
}

/* mobile phone portrait */
@media
only screen and (max-width: 360px), screen and (max-height: 335px)
{
    .main-image {
        line-height: 105px;
    }

    .main-image-wrapper {
        height: 90px;
    }
}