.auth-page {
    --auth-accent: #0F73D4;
    --auth-accent-dark: #0A5EAF;
    --auth-ring: rgba(15, 115, 212, .16);
    --auth-card: #FFFFFF;
    --auth-ink: #201F35;
    --auth-muted: #4B4B57;
    --auth-faint: #9DA0AA;
    --auth-line: #D9DAE0;
    --auth-field-line: #CACBD3;
    --auth-plate: #F1F2F6;
    --auth-err: #B3261E;

    margin: 0;
    min-height: 100vh;
    background-color: #F2F3F4;
    color: #201F35;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 18px;
    box-sizing: border-box;
}

.auth-page *,
.auth-page *:before,
.auth-page *:after {
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 384px;
    background: var(--auth-card);
    border: 1px solid var(--auth-line);
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(32, 31, 53, .07);
    overflow: hidden;
}

.auth-body {
    padding: 26px 28px 22px;
}

.auth-hi {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--auth-faint);
    margin: 0 0 8px;
}

.auth-title {
    font-size: 18px;
    font-weight: normal;
    color: var(--auth-ink);
    margin: 0 0 5px;
}

.auth-sub {
    font-size: 11px;
    color: var(--auth-muted);
    margin: 0 0 14px;
    line-height: 1.5;

    min-height: 33px;
}

.auth-label {
    display: block;
    font-size: 10px;
    font-weight: normal;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--auth-faint);
    margin: 0 0 6px;
}

.auth-group {
    margin-bottom: 14px;
}

.auth-seg {
    display: flex;
    width: 100%;
    background: var(--auth-plate);
    border: 1px solid var(--auth-line);
    border-radius: 3px;
    padding: 2px;
    margin-bottom: 16px;
}

.auth-seg button {
    flex: 1 1 0;
    min-width: 0;
    font-family: inherit;
    font-size: 11px;
    font-weight: normal;
    text-align: center;
    padding: 7px 6px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: var(--auth-muted);
    cursor: pointer;
}

.auth-seg button {
    transition: background-color .15s ease, color .15s ease;
}

.auth-seg button:not(.is-on):hover {
    background: rgba(255, 255, 255, .7);
    color: var(--auth-ink);
}

.auth-seg button.is-on {
    background: var(--auth-card);
    color: var(--auth-ink);
    border: 1px solid var(--auth-line);
    padding: 6px 5px;
}

.auth-brands {
    display: flex;
    width: 100%;
    gap: 8px;
}

.auth-brand {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    background: var(--auth-card);
    border: 1px solid var(--auth-field-line);
    border-radius: 3px;
    padding: 12px 8px 9px;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    font-family: inherit;
}

.auth-brand {
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.auth-brand:hover {
    border-color: var(--auth-accent);
    box-shadow: 0 4px 12px rgba(15, 115, 212, .14);
    transform: translateY(-1px);
}

.auth-brand:hover .auth-bname {
    color: var(--auth-accent);
}

.auth-brand.is-on {
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 2px var(--auth-ring);
}

.auth-plate {
    display: block;
    height: 40px;
    line-height: 40px;
    background: var(--auth-plate);
    border-radius: 2px;
    margin-bottom: 8px;
    text-align: center;
}

.auth-plate img {
    max-height: 24px;
    max-width: 80%;
    vertical-align: middle;
}

.auth-bname {
    display: block;
    font-size: 9px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--auth-muted);
}

.auth-tick {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--auth-accent);
    color: #fff;
    font-size: 9px;
    line-height: 14px;
    text-align: center;
    display: none;
}

.auth-brand.is-on .auth-tick {
    display: block;
}

.auth-field {
    position: relative;
}

.auth-field .auth-ic {
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -7px;
    width: 14px;
    height: 14px;
    color: var(--auth-faint);
    pointer-events: none;
}

.auth-field input[type="text"],
.auth-field input[type="password"] {
    width: 100%;
    font-family: inherit;
    font-size: 12px;
    color: var(--auth-ink);
    padding: 8px 10px 8px 32px;
    background: var(--auth-card);
    border: 1px solid var(--auth-field-line);
    border-radius: 3px;
}

.auth-field input::-ms-reveal,
.auth-field input::-ms-clear {
    display: none;
}

.auth-field input::-webkit-input-placeholder { color: var(--auth-faint); }
.auth-field input:-ms-input-placeholder { color: var(--auth-faint); }
.auth-field input::placeholder { color: var(--auth-faint); }

.auth-field input:hover {
    border-color: #A6A9B2;
}

.auth-field input:focus {
    outline: none;
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 2px var(--auth-ring);
}

.auth-field.has-toggle input {
    padding-right: 62px;
}

.auth-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    margin-top: -11px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    color: var(--auth-muted);
    padding: 3px 5px;
    text-decoration: underline;
}

.auth-toggle:hover {
    color: var(--auth-accent);
}

.auth-picker {
    position: relative;
}

.auth-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 3px;
    z-index: 30;
    max-height: 208px;
    overflow-y: auto;
    border: 1px solid #A9BBE2;
    border-radius: 3px;
    background: var(--auth-card);
    box-shadow: 0 4px 12px rgba(32, 31, 53, .15);
    display: none;
}

.auth-list.is-open {
    display: block;
}

.auth-caret {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -2px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--auth-faint);
    pointer-events: none;
}

.auth-opt {
    display: block;
    width: 100%;
    text-align: left;
    padding: 7px 11px;
    border: 0;
    border-bottom: 1px solid #ECEDF0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    color: var(--auth-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-opt:last-child {
    border-bottom: 0;
}

.auth-opt:hover,
.auth-opt.is-cursor {
    background: var(--auth-plate);
}

.auth-opt.is-on {
    background: #E4EEF8;
    color: var(--auth-accent);
}

.auth-opt.is-on.is-cursor {
    background: #D3E4F5;
}

.auth-empty {
    padding: 12px 11px;
    font-size: 11px;
    color: var(--auth-faint);
}

.auth-check {
    display: block;
    position: relative;
    padding-left: 22px;
    margin: 2px 0 18px;
    cursor: pointer;
}

.auth-check input {
    position: absolute;
    left: 0;
    top: 2px;
    width: 13px;
    height: 13px;
    margin: 0;
}

.auth-check:hover .auth-ct {
    color: var(--auth-accent);
}

.auth-check .auth-ct {
    display: block;
    font-size: 11px;
    color: var(--auth-ink);
}

.auth-check .auth-cs {
    display: block;
    font-size: 10px;
    color: var(--auth-faint);
    line-height: 1.45;
    margin-top: 1px;
}

.auth-submit {
    display: block;
    position: relative;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: 12px;
    color: #fff;
    background: var(--auth-accent);
    border: 1px solid var(--auth-accent);
    border-radius: 3px;
    padding: 10px 34px 10px 14px;
    cursor: pointer;
}

.auth-submit .auth-arw {
    position: absolute;
    right: 14px;
    top: 50%;
    margin-top: -9px;
    font-size: 14px;
    line-height: 18px;
}

.auth-submit {
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.auth-submit:hover {
    background: var(--auth-accent-dark);
    border-color: var(--auth-accent-dark);
    box-shadow: 0 4px 12px rgba(15, 115, 212, .28);
}

.auth-submit:hover .auth-arw {
    transform: translateX(3px);
}

.auth-submit .auth-arw {
    transition: transform .15s ease;
}

.auth-foot {
    border-top: 1px solid var(--auth-line);
    padding: 10px 28px 12px;
    overflow: hidden;
    background: #FAFAFB;
}

.auth-lang {
    float: left;
    background: var(--auth-plate);
    border: 1px solid var(--auth-line);
    border-radius: 3px;
    padding: 1px;
}

.auth-lang button {
    font-family: inherit;
    font-size: 10px;
    letter-spacing: .04em;
    border: 0;
    background: transparent;
    color: var(--auth-muted);
    padding: 3px 8px;
    border-radius: 2px;
    cursor: pointer;
}

.auth-lang button:not(.is-on):hover {
    background: rgba(255, 255, 255, .7);
    color: var(--auth-ink);
}

.auth-lang button.is-on {
    background: var(--auth-card);
    color: var(--auth-ink);
}

.auth-legal {
    float: right;
    font-size: 10px;
    color: var(--auth-faint);
    line-height: 22px;
}

.auth-alert {
    background: #FDF4F4;
    border: 1px solid #E8CDCB;
    border-left: 2px solid var(--auth-err);
    border-radius: 3px;
    padding: 9px 11px;
    margin: 0 0 16px;
    font-size: 11px;
    color: #7E241D;
    line-height: 1.5;
}

.auth-info {
    background: #F2F6F3;
    border: 1px solid #CEDFD4;
    border-left: 2px solid #3D7A54;
    border-radius: 3px;
    padding: 9px 11px;
    margin: 0 0 16px;
    font-size: 11px;
    color: #2C5A3D;
}

.auth-page .validation-summary-errors {
    background: #FDF4F4;
    border: 1px solid #E8CDCB;
    border-left: 2px solid var(--auth-err);
    border-radius: 3px;
    padding: 9px 11px;
    margin: 0 0 16px;
    font-size: 11px;
    color: #7E241D;
    line-height: 1.5;
}

.auth-page .validation-summary-errors span {
    display: block;
}

.auth-page .validation-summary-errors ul {
    margin: 3px 0 0;
    padding: 0 0 0 15px;
}

.auth-page .field-validation-error {
    display: block;
    font-size: 10px;
    color: var(--auth-err);
    margin-top: 5px;
}

.auth-page .field-validation-valid {
    display: none;
}

.auth-page .input-validation-error {
    border-color: var(--auth-err) !important;
}

.auth-page .validation-summary-valid {
    display: none;
}

.auth-otp {
    display: flex;
    width: 100%;
    gap: 6px;
    margin-bottom: 5px;
}

.auth-otp input {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    text-align: center;
    font-family: Consolas, "Courier New", monospace;
    font-size: 19px;
    color: var(--auth-ink);
    background: var(--auth-card);
    border: 1px solid var(--auth-field-line);
    border-radius: 3px;
    padding: 0;
}

.auth-otp input:focus {
    outline: none;
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 2px var(--auth-ring);
}

.auth-otp input.is-filled {
    border-color: var(--auth-accent);
}

.auth-mailbox {
    background: var(--auth-plate);
    border: 1px solid var(--auth-line);
    border-radius: 3px;
    padding: 8px 11px;
    margin-bottom: 16px;
}

.auth-mailbox .auth-ml {
    display: block;
    font-size: 10px;
    color: var(--auth-faint);
    line-height: 1.3;
}

.auth-mailbox .auth-mv {
    display: block;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    color: var(--auth-ink);
}

.auth-resend {
    margin-top: 12px;
    overflow: hidden;
}

.auth-resend form {
    float: left;
    margin: 0;
}

.auth-resend button {
    font-family: inherit;
    font-size: 11px;
    color: var(--auth-accent);
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.auth-resend button[disabled] {
    color: var(--auth-faint);
    cursor: default;
    text-decoration: none;
}

.auth-resend .auth-cd {
    float: right;
    font-size: 10px;
    color: var(--auth-faint);
}

.auth-back {
    display: inline-block;
    margin-top: 12px;
    font-size: 11px;
    color: var(--auth-muted);
    text-decoration: none;
}

.auth-back:hover {
    color: var(--auth-accent);
    text-decoration: underline;
}

.auth-hidden {
    display: none !important;
}

.auth-note {
    font-size: 10px;
    color: var(--auth-faint);
    margin: 6px 0 0;
}

.auth-page a:focus,
.auth-page button:focus,
.auth-page input:focus {
    outline-offset: 1px;
}

@media (max-width: 480px) {
    .auth-page {
        padding: 16px 12px;
        align-items: flex-start;
    }

    .auth-body {
        padding: 22px 18px 18px;
    }

    .auth-foot {
        padding: 10px 18px 12px;
    }

    .auth-otp input {
        height: 40px;
        font-size: 17px;
    }
}