

body.auth-body {
    display: block;
    min-height: 100vh;
    background-color: var(--main-bg-color);
}

.auth-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-aside {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    overflow: hidden;
    display: flex;
    padding: 48px;
    color: #fff;

    background-color: var(--theme-color);
    background-image:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.10) 0%,
            rgba(255, 255, 255, 0) 50%,
            rgba(255, 255, 255, 0.07) 100%);
}

.auth-aside__grid {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.auth-aside__blob {
    position: absolute;
    border-radius: 50%;
    -webkit-filter: blur(90px);
    filter: blur(90px);
    pointer-events: none;
}

.auth-aside__blob--1 {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -160px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-aside__blob--2 {
    width: 360px;
    height: 360px;
    bottom: -180px;
    left: -150px;
    background: rgba(0, 0, 0, 0.06);
}

.auth-aside__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
}

.auth-aside__brand {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
}

.auth-aside__brand:hover,
.auth-aside__brand:focus {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
}

.auth-aside__mid {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;

    align-items: center;
    min-height: 0;
    padding: 24px 0;
}

.auth-aside__slogan,
.auth-aside__list {
    align-self: center;
    text-align: center;
}

.characters-container {
    position: relative;
    width: 550px;
    height: 400px;
    flex: none;
    transform: scale(var(--char-scale, 1));
    transform-origin: bottom center;

    margin-bottom: calc((var(--char-scale, 1) - 1) * 400px);
}

.characters-container .char {
    position: absolute;
    bottom: 0;
    transform-origin: bottom center;
    transition: transform 0.7s ease-in-out;
}

.characters-container .purple {
    left: 70px;
    width: 180px;
    height: 290px;
    background: #6c3ff5;
    border-radius: 10px 10px 0 0;
    z-index: 1;
}

.characters-container .black {
    left: 240px;
    width: 120px;
    height: 310px;
    background: #2d2d2d;
    border-radius: 8px 8px 0 0;
    z-index: 2;
}

.characters-container .orange {
    left: 0;
    width: 240px;
    height: 200px;
    background: #ff9b6b;
    border-radius: 120px 120px 0 0;
    z-index: 3;
}

.characters-container .yellow {
    left: 310px;
    width: 140px;
    height: 230px;
    background: #e8d754;
    border-radius: 70px 70px 0 0;
    z-index: 4;
}

.characters-container .eyes {
    position: absolute;
    left: 50%;
    display: flex;
    transform: translateX(-50%);
}

.characters-container .purple .eyes {
    top: 46px;
    gap: 22px;
}

.characters-container .black .eyes {
    top: 42px;
    gap: 18px;
}

.characters-container .orange .eyes {
    top: 62px;
    gap: 40px;
}

.characters-container .yellow .eyes {
    top: 58px;
    gap: 26px;
}

.characters-container .eyeball {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
    transition: height 0.12s ease;
}

.characters-container .purple .eyeball {
    width: 18px;
    height: 18px;
}

.characters-container .black .eyeball {
    width: 16px;
    height: 16px;
}

.characters-container .eyeball.is-blinking {
    height: 2px;
}

.characters-container .pupil-inner {
    display: block;
    border-radius: 50%;
    background: #2d2d2d;
    transition: transform 0.1s ease-out;
}

.characters-container .purple .pupil-inner {
    width: 7px;
    height: 7px;
}

.characters-container .black .pupil-inner {
    width: 6px;
    height: 6px;
}

.characters-container .pupil-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2d2d2d;
    transition: transform 0.1s ease-out;
}

.characters-container .mouth {
    position: absolute;
    top: 96px;
    left: 50%;
    width: 60px;
    height: 4px;
    margin-left: -30px;
    background: #2d2d2d;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .characters-container .char,
    .characters-container .pupil-inner,
    .characters-container .pupil-dot,
    .characters-container .eyeball {
        transition: none;
    }
}

.auth-aside__slogan {
    max-width: 420px;
    margin: 32px 0 0;
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.92;
}

.auth-aside__list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    opacity: 0.8;
    font-size: 14px;
}

.auth-aside__list li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 9px 0;
}

.auth-aside__list i {
    flex: none;
    width: 1.4em;
    margin-right: 8px;
    text-align: center;
}

.auth-aside__foot {
    flex: none;
    font-size: 12px;
    line-height: 1.8;
    opacity: 0.72;
}

.auth-aside__beian {
    margin-left: 10px;
}

.auth-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 32px;
    background: var(--main-bg-color);
}

.auth-box {
    width: 100%;
    max-width: 420px;
}

.auth-main__tools {
    position: absolute;
    top: 20px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.auth-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--muted-color);
    background: var(--muted-bg-color);

    overflow: hidden;
    text-align: center;
    transition: 0.2s;
}

.auth-tool:hover,
.auth-tool:focus {
    color: var(--focus-color);
    background: var(--focus-color-opacity1);
    text-decoration: none;
}

.auth-tool > i,
.auth-tool > .nav-theme-ico {
    font-size: 15px;
    line-height: 1;
}

.nav-reset-radios {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.nav-reset-tabs {
    position: relative;
    margin: 0 0 6px;
    padding: 0;
}

.nav-reset-tabs > li {
    padding: 0;
}

.nav-reset-tabs > li > a {
    display: block;
    padding: 6px 2px 10px;
    font-size: 14px;
    color: var(--muted-color);
    transition: color 0.18s ease-out;
}

.nav-reset-tabs > li.active > a {
    color: var(--key-color);
    font-weight: 600;
}

.nav-reset-tabs > li > a:hover {
    color: var(--focus-color);
    text-decoration: none;
}

.nav-reset-tabs.has-tab-slider {
    position: relative;
}

.nav-reset-tabs .nav-tab-slider {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 2px;
    border-radius: 5px;
    background: var(--theme-color);
    box-shadow: 1px 1px 3px -1px var(--theme-color);
    opacity: 0;
    pointer-events: none;

    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

.nav-reset-tabs .nav-tab-slider.is-ready {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .nav-reset-tabs .nav-tab-slider,
    .nav-reset-tabs > li > a {
        transition: none;
    }
}

.auth-box__head {
    margin-bottom: 40px;
}

.auth-box__title {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3;
    color: var(--key-color);
}

.auth-box__welcome {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted-color);
}

.auth-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--muted-color);
}

.auth-tools--start {
    justify-content: flex-start;
    margin-bottom: 20px;
}

.auth-tools__link {
    color: var(--muted-2-color);
}

.auth-tools__link:hover,
.auth-tools__link:focus {
    color: var(--focus-color);
}

.auth-submit {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
    line-height: 1.4;
}

.auth-submit i {
    margin-right: 6px;
}

.auth-box__foot {
    margin: 24px 0 0;
    font-size: 13px;
    text-align: center;
    color: var(--muted-2-color);
}

.auth-box__foot a {
    color: var(--focus-color);
}

@media (max-width: 1023px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-aside {
        display: none;
    }

    .auth-main {
        min-height: 100vh;
    }
}

@media (max-width: 767px) {
    .auth-main {
        padding: 72px 22px 40px;

        align-items: flex-start;
    }

    .auth-box__title {
        font-size: 26px;
    }

    .auth-box__head {
        margin-bottom: 30px;
    }

    .auth-main__tools {
        top: 16px;
        right: 16px;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .auth-aside {
        padding: 36px;
    }

    .auth-aside__art {
        max-width: 280px;
    }
}

.line-form.has-error .line-form-line,
.line-form.has-error .line-form-line:before {
    background: #ef5350;
    width: 100%;
}

.line-form.has-error .scale-placeholder {
    color: #ef5350;
    opacity: 0.9;
}

.line-form .passw {
    cursor: pointer;
    transition: color 0.2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.line-form .passw:hover {
    color: var(--focus-color);
}

.form-checkbox input[type='checkbox'],
.form-checkbox input[type='radio'] {
    vertical-align: -2px;
    accent-color: var(--theme-color);
}

.form-checkbox label {
    font-weight: normal;
    margin: 0;
    cursor: pointer;
}

.auth-field {
    margin-bottom: 4px;
}

.auth-field .line-form-field {
    position: relative;
    padding-top: 22px;
}

.auth-field .line-form-input {
    margin-top: 0;
    padding: 0 2.2em 8px 4px;
    height: 34px;
    font-size: 15px;
    line-height: 26px;
    opacity: 1;
    color: var(--main-color);
}

.auth-field .scale-placeholder {
    bottom: 8px;
    font-size: 15px;
    line-height: 26px;
}

.auth-field .line-form-field > .abs-right {
    top: 39px;
    bottom: auto;
    right: 2px;
    margin-top: 0;
    transform: translateY(-50%);
}

.auth-field .msg-box {
    display: block !important;
    position: static;
    min-height: 20px;
    margin: 2px 0 0;
    padding: 0;
    font-size: 12px;
    line-height: 18px;
    white-space: normal;
    text-align: left;
}

.auth-field .msg-box .msg-wrap {
    white-space: normal;
}

.auth-field .msg-box .n-arrow {
    display: none;
}

.auth-field .msg-box .n-error {
    color: #ef5350;
}

.auth-field .msg-box .n-ok {
    color: #4caf50;
}

.auth-captcha .input-group {
    display: flex;
    align-items: center;
    width: 100%;
    height: 34px;
}

.auth-captcha .form-control {
    flex: 1 1 auto;
    width: auto;
    height: 34px;
    border: none;
    box-shadow: none;
    background: transparent;
    color: var(--main-color);
    padding: 0 8px 0 4px;
    font-size: 15px;
    line-height: 26px;
    border-radius: 0;
}

.auth-captcha .form-control:focus {
    box-shadow: none;
}

.auth-captcha .input-group-btn {
    display: block;
    width: auto;
    flex: 0 0 auto;
    font-size: 0;
    vertical-align: middle;
}

.auth-captcha .input-group-btn img {
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: block;
}

.auth-captcha .input-group-btn .btn {
    border-radius: 50px;
    padding: 0.3em 1em;
    font-size: 12px;
}

.nav-user .line-form.form-group {
    margin-bottom: 34px;
}

.nav-user .line-form .msg-box {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 1px 0 0;
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
    text-align: left;
}

.nav-user .line-form .msg-box .n-arrow {
    display: none;
}

.nav-user .line-form .msg-box .n-error {
    color: #ef5350;
}

.nav-user .line-form .msg-box .n-ok {
    color: #4caf50;
}

.sign-page {
    padding-top: 30px;
    padding-bottom: 60px;
}

.nav-user .author-header {
    overflow: hidden;
}

.nav-user .page-cover.user-cover {
    background: linear-gradient(120deg, var(--theme-color), var(--theme-color-2, var(--theme-color)));
}

.nav-user .page-cover.user-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.35), transparent 55%);
}

.nav-user .author-header .page-cover {
    padding-bottom: calc(8% + 90px);
}

.nav-user .author-header .avatar-img .avatar {
    background: var(--main-bg-color);
}

.nav-user .author-header .header-content {
    padding: 16px 24px 18px;
}

.nav-user .author-header .header-info > .header-avatar {
    margin-top: -70px;
}

.nav-user .author-header .avatar-img {
    --this-size: 110px;
}

.nav-user .user-identity > .but {
    cursor: default;
    background: var(--muted-bg-color);
    color: var(--muted-color);
}

.nav-user .user-identity > .but i {
    margin-right: 5px;
}

.user-side {
    padding: 0;
    overflow: hidden;
}

.user-side__stat {
    display: flex;
    align-items: stretch;
    padding: 14px 6px;
    text-align: center;

    border-bottom: 1px solid var(--main-border-color);
}

.user-statistics-item {
    display: block;
    flex: 1;
    min-width: 0;
    color: inherit;
    padding: 6px 2px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

a.user-statistics-item:hover,
a.user-statistics-item:focus {
    color: var(--focus-color);
    background: var(--focus-color-opacity05);
    text-decoration: none;
}

.user-side__num {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--key-color);
}

a.user-statistics-item:hover .user-side__num {
    color: var(--focus-color);
}

.user-side__label {
    margin-top: 5px;
    font-size: 12px;
    color: var(--muted-2-color);
}

.user-center-nav > li > a,
.user-center-nav .tab-nav-theme > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 14px;
    border-radius: var(--main-radius);
    color: var(--main-color);
    line-height: 1.4;
}

.user-center-nav > li > a:hover,
.user-center-nav .tab-nav-theme > li > a:hover {
    background: var(--focus-color-opacity05);
    color: var(--focus-color);
    text-decoration: none;
}

.user-center-nav > li.active > a,
.user-center-nav .tab-nav-theme > li.active > a {
    background: var(--focus-color-opacity1);
    color: var(--focus-color);
    font-weight: bold;
}

.user-center-nav > li .nav-ico,
.user-center-nav .tab-nav-theme > li .nav-ico {
    width: 1.4em;
    margin-right: 8px;
    text-align: center;
}

.user-center-nav > li:before,
.user-center-nav .tab-nav-theme > li:before {
    display: none;
}

.user-center-nav {
    padding: 8px;
}

.user-center-nav > li > a,
.user-center-nav .tab-nav-theme > li > a {
    position: relative;
}

.user-center-nav > li.active > a::after {
    position: absolute;
    content: '';

    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--theme-color);
}

.user-center-nav__quit {
    margin-top: 6px;
    border-top: 1px solid var(--main-border-color);
    padding-top: 6px;
}

.user-center-nav__quit > a {
    color: var(--muted-2-color) !important;
}

.user-center-nav__quit > a:hover {
    color: #fb5454 !important;
    background: rgba(251, 84, 84, 0.08) !important;
}

.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 10px;
    margin-top: 14px;
}

.user-info {
    padding: 12px 14px;
    background: var(--muted-border-color);
    border-radius: var(--main-radius);
}

.user-info--wide {
    grid-column: 1 / -1;
}

.user-info__label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--muted-2-color);
}

.user-info__value {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--key-color);
    word-break: break-all;
}

.nav-user .form-line-list {
    max-width: 460px;
}

.nav-user .avatar-set-box {
    position: relative;
    width: 110px;
}

.nav-user .avatar-set-box img {
    width: 110px;
    height: 110px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.nav-user .avatar-set-box .avatar-set-mask {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.2s;
    font-size: 13px;
}

.nav-user .avatar-set-box:hover .avatar-set-mask {
    opacity: 1;
}

.nav-user .avatar-set-box .faupload {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-user .logout-box {
    max-width: 380px;
    margin: 30px auto;
    text-align: center;
}

.nav-user .logout-box .logout-icon {
    font-size: 46px;
    color: var(--theme-color);
    margin-bottom: 14px;
}

.nav-user .fixed-table-container,
.nav-user .table > thead > tr > th,
.nav-user .table > tbody > tr > td {
    border-color: var(--main-border-color);
}

.nav-user .table {
    color: var(--main-color);
}

.nav-user .table > tbody > tr:hover > td {
    background: var(--focus-color-opacity05);
}

@media (max-width: 767px) {
    .sign-page {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .nav-user .author-header .header-content {
        padding: 12px 16px 14px;
    }

    .nav-user .author-header .avatar-img {
        --this-size: 100px;
    }

    .nav-user .author-header .header-info > .header-avatar {
        margin-top: -60px;
        margin-right: 0;
    }

    .nav-user .author-header .header-btns {
        top: 2px;
    }

    .nav-user .user-identity {
        flex-wrap: wrap;
    }

    .nav-user .form-line-list {
        max-width: 100%;
    }
}

.nav-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr));
    gap: 10px;
    margin-top: 15px;
}

.nav-stat {
    padding: 14px 10px;
    text-align: center;
    border-radius: var(--main-radius, 8px);
    background: var(--body-bg-2, rgba(0, 0, 0, 0.02));
}

.nav-stat__num {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--key-color, #333);
}

.nav-stat__num > small {
    font-size: 14px;
    font-weight: 400;
    color: var(--muted-3-color, #999);
}

.nav-stat__label {
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted-2-color, #888);
}

.nav-data-table {
    margin-top: 15px;
    overflow-x: auto;
}

.nav-data-table > table {
    width: 100%;
    border-collapse: collapse;
}

.nav-data-table th,
.nav-data-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid var(--main-border-color);
    vertical-align: top;
}

.nav-data-table th {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted-2-color, #888);
    white-space: nowrap;
}

.nav-data-table tbody tr:last-child td {
    border-bottom: 0;
}

.nav-data-table__num {
    text-align: right !important;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.nav-data-table__name {
    font-weight: 600;
    color: var(--key-color, #333);
}

.nav-data-table__sub {
    margin-top: 3px;
    font-size: 12px;
}

.nav-data-table__badge {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 400;
    vertical-align: 1px;
}

.nav-data-table__badge--pending {
    --this-bg: var(--warning-color, #f0a13c);
}

.nav-data-table__badge--rejected {
    --this-bg: var(--danger-color, #ec5b56);
}

.nav-data-table__badge--approved {
    --this-bg: var(--success-color, #23b26d);
}
