body.auth-page {
    min-height: 100vh;
    margin: 0;
    color: #dbe7ff;
    background:
        radial-gradient(circle at 15% 20%, rgba(61, 130, 255, 0.28), transparent 24%),
        radial-gradient(circle at 85% 15%, rgba(0, 225, 255, 0.18), transparent 20%),
        linear-gradient(135deg, #07142f 0%, #0b1f4e 45%, #081634 100%);
}

.auth-page,
.auth-page * {
    box-sizing: border-box;
}

.auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 18%),
        linear-gradient(180deg, rgba(103, 160, 255, 0.06), transparent 28%);
    pointer-events: none;
}

.auth-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.auth-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(5, 18, 46, 0.78);
    border-bottom: 1px solid rgba(126, 175, 255, 0.14);
    box-shadow: 0 18px 36px rgba(0, 7, 28, 0.18);
}

.auth-header__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    text-decoration: none;
}

.auth-logo__mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2e6fff 0%, #56b1ff 100%);
    box-shadow: 0 14px 28px rgba(42, 106, 255, 0.28);
    position: relative;
}

.auth-logo__mark::before,
.auth-logo__mark::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
}

.auth-logo__mark::before {
    width: 16px;
    height: 16px;
    left: 8px;
    top: 8px;
}

.auth-logo__mark::after {
    width: 10px;
    height: 10px;
    right: 8px;
    bottom: 8px;
}

.auth-logo__text strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.auth-logo__text span {
    display: block;
    margin-top: 3px;
    color: rgba(213, 229, 255, 0.7);
    font-size: 12px;
    letter-spacing: 1.8px;
}

.auth-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.auth-nav a {
    color: rgba(219, 231, 255, 0.76);
    text-decoration: none;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.auth-nav a:hover,
.auth-nav a.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.auth-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 40px;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
}

.auth-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 440px);
    gap: 42px;
    align-items: center;
}

.auth-brand {
    position: relative;
    padding: 28px 10px 28px 0;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(122, 172, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #8ec0ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.auth-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #62d8ff;
    box-shadow: 0 0 14px rgba(98, 216, 255, 0.78);
}

.auth-brand h1 {
    margin: 22px 0 14px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 1px;
}

.auth-brand h2 {
    margin: 0 0 18px;
    color: #eef5ff;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.25;
    font-weight: 800;
}

.auth-brand p {
    max-width: 620px;
    margin: 0;
    color: rgba(220, 232, 255, 0.76);
    font-size: 17px;
    line-height: 1.9;
}

.auth-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.auth-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(123, 175, 255, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-point__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #80b9ff;
    font-size: 18px;
    background: rgba(31, 95, 232, 0.18);
}

.auth-point strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.auth-point span {
    display: block;
    color: rgba(212, 228, 255, 0.68);
    font-size: 14px;
    line-height: 1.6;
}

.auth-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(130, 178, 255, 0.14);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(8, 20, 48, 0.86);
    box-shadow:
        0 36px 70px rgba(0, 7, 28, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(0, 238, 255, 0.14), transparent 24%),
        radial-gradient(circle at bottom left, rgba(74, 128, 255, 0.18), transparent 24%);
    pointer-events: none;
}

.auth-panel__inner {
    position: relative;
    z-index: 1;
    padding: 34px 34px 30px;
}

.auth-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.auth-card-top__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8cbcff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.auth-card-top__tag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #63d7ff;
    box-shadow: 0 0 12px rgba(99, 215, 255, 0.74);
}

.auth-card-top__link {
    color: rgba(214, 229, 255, 0.76);
    text-decoration: none;
    font-size: 13px;
}

.auth-card-top__link:hover {
    color: #ffffff;
}

.auth-form-title {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
}

.auth-form-desc {
    margin: 0 0 28px;
    color: rgba(211, 227, 255, 0.72);
    font-size: 15px;
    line-height: 1.75;
}

.auth-form .layui-form-item {
    margin-bottom: 18px;
}

.auth-field {
    position: relative;
}

.auth-field .layui-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #7eaefb;
    font-size: 18px;
}

.auth-field .layui-input {
    height: 56px;
    padding: 0 18px 0 50px;
    border-radius: 16px !important;
    border: 1px solid rgba(128, 176, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 15px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.auth-field .layui-input:hover,
.auth-field .layui-input:focus {
    border-color: rgba(108, 162, 255, 0.44);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 4px rgba(62, 122, 255, 0.12);
}

.auth-field .layui-input::placeholder {
    color: rgba(215, 229, 255, 0.42);
}

.auth-captcha-group {
    position: relative;
    padding-right: 142px;
}

.auth-captcha-group .login-captcha {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 126px;
    height: 44px;
    border-radius: 13px !important;
    border: 1px solid rgba(124, 171, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
}

.auth-inline-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: -2px 0 10px;
    color: rgba(212, 228, 255, 0.68);
    font-size: 14px;
}

.auth-inline-note a,
.auth-agreement a {
    color: #7eb8ff !important;
}

.auth-inline-note a:hover,
.auth-agreement a:hover {
    color: #ffffff !important;
}

.auth-agreement {
    margin: -4px 0 12px;
    color: rgba(212, 228, 255, 0.68);
    font-size: 14px;
    line-height: 1.7;
}

.auth-submit {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 16px !important;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #2f71ff 0%, #53adff 100%) !important;
    box-shadow: 0 20px 36px rgba(42, 106, 255, 0.28);
}

.auth-submit:hover {
    opacity: 0.96;
}

.auth-submit[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
}

.auth-footer {
    margin-top: 24px;
    color: rgba(210, 227, 255, 0.56);
    font-size: 13px;
    text-align: center;
}

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

    .auth-brand {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .auth-header__inner,
    .auth-main {
        width: min(100% - 24px, 1180px);
    }

    .auth-header__inner {
        padding: 12px 0;
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .auth-main {
        padding: 30px 0 28px;
    }

    .auth-points {
        grid-template-columns: 1fr;
    }

    .auth-panel__inner {
        padding: 24px 20px 22px;
    }

    .auth-form-title {
        font-size: 26px;
    }

    .auth-captcha-group {
        padding-right: 0;
    }

    .auth-captcha-group .login-captcha {
        position: static;
        width: 100%;
        margin-top: 10px;
    }
}
