html,
body {
    height: 100%;
    margin: 0;
}

img,
svg {
    vertical-align: top;
}

* {
    box-sizing: border-box;
}

.page {
    width: 100%;
    height: 100%;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.justify-start {
    display: flex;
    justify-content: flex-start;
}

.justify-center {
    display: flex;
    justify-content: center;
}

.justify-end {
    display: flex;
    justify-content: flex-end;
}

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

.items-start {
    display: flex;
    align-items: flex-start;
}

.items-end {
    display: flex;
    align-items: flex-end;
}

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

.no-shrink {
    flex-shrink: 0;
}

.login-container {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    background-color: #fff;
    flex-direction: column;
}

.login-form {
    max-width: 368px;
    position: relative;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.login-header {
    gap: 8px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.login-title-section {
    gap: 12px;
    width: 100%;
    display: flex;
    align-items: center;
}

.login-title {
    font-size: 28px;
    color: #000000;
    white-space: pre;
}

.login-subtitle {
    font-size: 14px;
    color: rgba(0, 0, 0, .5);
    white-space: pre;
}

.logo {
    width: 96px;
    height: 28px;
}

.input-field {
    height: 48px;
    display: flex;
    position: relative;
    align-items: center;
    padding: 13px 15px;
    gap: 16px;
    font-size: 14px;
    line-height: 20px;
    color: rgba(0, 0, 0, .375);
    background-color: #fff;
    margin: 36px 0 0 0;
    align-self: stretch;
}

.input-icon {
    width: 20px;
    height: 20px;
    z-index: 1;
    flex-shrink: 0;
}

.input-text {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 0;
    outline: none;
    padding: 13px 15px 13px 51px;
    position: absolute;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 0;
}

.input-text:hover,
.input-text:focus {
    border: 1px solid rgba(0, 0, 0, .375);
}

.password-field {
    margin-top: 24px;
}

.login-footer {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.terms-text {
    flex-shrink: 0;
    line-height: 24px;
    margin: 24px 0;
}

.terms-normal,
.terms-and,
.terms-period {
    font-size: 14px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.terms-link,
.privacy-link {
    font-size: 14px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.75);
    margin: 0 auto;
}

.login-actions {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.register-link-section {
    flex-shrink: 0;
    line-height: 24px;
}

.register-text {
    font-size: 14px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.register-link {
    font-size: 14px;
    line-height: 24px;
    text-decoration: underline;
    color: #000000;
    margin: 0 auto;
}

.login-button {
    color: #fff;
    height: 48px;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: #000;
    padding: 12px 22px 12px 20px;
    transition: background-color .1s;
}

.button-content {
    gap: 16px;
    display: flex;
    font-size: 18px;
    align-items: center;
    justify-content: flex-end;
}

.button-text {
    flex-shrink: 0;
}

.button-icon {
    width: 33px;
    height: 19px;
    flex-shrink: 0;
    transition: transform .15s ease-in-out;
    margin: -1px -1px -1px 0;
}

.button-loader {
    width: 24px;
    height: 24px;
    animation: login-loading-icon-rotate 1s linear infinite;
}

.login-button:focus,
.login-button:hover {
    background-color: rgba(0, 0, 0, .875);
}

.login-button:focus .button-icon,
.login-button:hover .button-icon {
    transform: translateX(2px);
}

.login-button:disabled {
    background-color: rgba(0, 0, 0, .5);
    cursor: not-allowed;
}

.login-button:disabled .button-icon {
    transform: none;
}

.social-login {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 36px auto;
}

.social-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.page-footer {
    width: 100%;
    height: 72px;
    margin-top: auto;
    background-color: #f4f4f4;
    padding: 24px 32px;
}

.footer-container {
    gap: 24px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    max-width: 368px;
    justify-content: space-between;
    align-items: center;
}

.language-selector {
    height: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
}

.language-icon {
    width: 24px;
    height: 24px;
}

.language-text {
    height: 24px;
    display: flex;
    align-items: center;
}

.help-link {
    flex-shrink: 0;
    text-align: right;
    font-size: 14px;
    line-height: 24px;
    text-decoration: underline;
    color: #000;
}

.under-line {
    position: relative;
    white-space: nowrap;
    text-decoration: none;
}

.under-line::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    display: inline-block;
    border-bottom: 1px solid currentColor;
    color: inherit;
}

a:focus,
input:focus,
button:focus,
[tabindex="0"]:focus,
.under-line:focus {
    outline: dashed 1px rgba(0, 0, 0, .5);
    outline-offset: 2px;
}

.login-loading {
    width: 100%;
    height: 100%;
    display: flex;
    padding: 32px;
    align-items: center;
    justify-content: center;
}

.login-loading-icon {
    width: 40px;
    height: 40px;
    animation: login-loading-icon-rotate 1s linear infinite;
}

.help-content {
    width: 100%;
    display: flex;
    padding: 36px 0;
    flex-direction: column;
}

.help-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1rem;
}

.help-item-icon {
    width: 64px;
    height: 64px;
    margin-right: 1rem;
}

.help-item-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.help-item-title {
    height: 32px;
    font-size: 20px;
    color: rgba(0, 0, 0, 1);
}

.help-item-desc {
    height: 18px;
    font-size: 14px;
    color: rgba(0, 0, 0, .5);
}

.back-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.back-link span {
    color: rgba(0, 0, 0, 1);
    font-size: 14px;
    line-height: 24px;
    margin-left: .75rem;
}

.quickauth {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 1rem !important;
}

.quickauth-brand {
    height: 24px;
    margin-top: 1rem;
}

.quickauth-desc {
    padding: 16px 0;
    font-size: 14px;
    text-align: center;
    color: rgba(0, 0, 0, .5);
}

.quickauth-user {
    margin: .75rem 0;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.quickauth-avatar {
    width: 72px;
    height: 72px;
    margin: 16px 0;
    border-radius: 36px;
}

.quickauth-nickname {
    font-size: 20px;
    text-align: center;
    color: rgba(0, 0, 0, .75);
}

.quickauth-agreements {
    margin: 24px 0;
    font-size: 14px;
    text-align: center;
    color: rgba(0, 0, 0, .5)
}

.quickauth-agreements a {
    color: rgba(0, 0, 0, .75)
}

.quickauth-switch-link {
    margin: 24px 0;
    font-size: 14px;
    text-align: center;
    color: rgba(0, 0, 0, .75)
}

@media (max-width: 432px) {
    .page {
        height: 100%;
    }

    .login-form {
        margin: 48px 32px 0 32px;
    }
}

@media (min-width: 433px) {
    .login-form {
        min-width: 368px;
    }
}

@media (min-width: 576px) and (min-height: 768px) {
    body {
        background-color: #f6f6f6;
        background-image: url('../images/texture/login.svg')
    }

    .page {
        height: auto;
        display: flex;
        padding: 32px 0;
        min-height: 100%;
        align-items: center;
        justify-content: center;
    }

    .login-container {
        width: auto;
        height: auto;
        background-color: #fff;
        box-shadow: 0px 4px 50px 0px rgba(0, 0, 0, .05);
        border: solid 1px rgba(0, 0, 0, .125);
    }

    .login-form {
        margin: 48px 32px 0 32px;
    }

    .page-footer {
        margin-top: 12px;
    }
}

@keyframes login-loading-icon-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.SeriaCAPTCHA,
.SeriaCAPTCHA_slider_bg,
.SeriaCAPTCHA_slider_track,
.SeriaCAPTCHA_slider_loading,
.SeriaCAPTCHA_voice_input,
.SeriaCAPTCHA_prompt img,
.SeriaCAPTCHA_actions_item_button,
.SeriaCAPTCHA_btn_default {
    border-radius: 0 !important;
}