/* 登录 / 注册：与 CS CloudSite 官网一致的品牌化认证页 */
body.auth-body {
    min-height: 100vh;
    margin: 0;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14243d;
    background:
        radial-gradient(1100px 700px at 8% -10%, #e6efff 0, rgba(230, 239, 255, 0) 58%),
        radial-gradient(950px 640px at 104% 108%, #e3f7f2 0, rgba(227, 247, 242, 0) 55%),
        #f2f6fc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.auth-page {
    position: relative;
    width: min(1160px, 100%);
    min-height: 700px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: 0 36px 100px rgba(15, 31, 58, .16);
}

.auth-aside {
    position: relative;
    min-width: 0;
    padding: 40px 44px 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(620px 420px at 92% 0%, rgba(59, 130, 246, .40), transparent 62%),
        radial-gradient(520px 520px at -8% 104%, rgba(14, 159, 138, .20), transparent 64%),
        linear-gradient(148deg, #0b1830 0%, #10264b 64%, #0c1d3a 100%);
}

.auth-aside-grid {
    position: absolute;
    inset: 0;
    opacity: .18;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(135deg, #000 0%, transparent 72%);
    -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 72%);
}

.auth-aside::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -140px;
    top: -130px;
    border-radius: 50%;
    border: 1px solid rgba(147, 197, 253, .25);
    background: radial-gradient(circle at 35% 35%, rgba(96, 165, 250, .30), transparent 66%);
    pointer-events: none;
}

.auth-aside::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    left: -130px;
    bottom: -110px;
    border-radius: 50%;
    border: 1px solid rgba(45, 212, 191, .18);
    background: radial-gradient(circle at 50% 50%, rgba(13, 148, 136, .20), transparent 68%);
    pointer-events: none;
}

.auth-brand,
.auth-mobile-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #ffffff;
    text-decoration: none;
}

.auth-brand:hover { color: #ffffff; }

.auth-logo {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 8px 24px rgba(2, 10, 25, .22);
}

.auth-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.auth-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
}

.auth-brand-copy strong {
    font-size: 21px;
    letter-spacing: -.03em;
    color: #ffffff;
}

.auth-brand-copy small {
    margin-top: 5px;
    color: #a9c1df;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.auth-aside-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 48px 0 34px;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #9ebcf0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .17em;
}

.auth-eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: #60a5fa;
}

.auth-aside-copy h1 {
    margin: 17px 0 16px;
    color: #f7fbff;
    font-size: clamp(40px, 4.2vw, 50px);
    line-height: 1.2;
    letter-spacing: -.055em;
}

.auth-aside-copy h1 em {
    color: #8fc2ff;
    font-style: normal;
}

.auth-aside-copy p {
    max-width: 390px;
    margin: 0;
    color: #b7cae2;
    font-size: 13.5px;
    line-height: 1.9;
}

.auth-benefits {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 13px;
}

.auth-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b9cce4;
    font-size: 12.5px;
    line-height: 1.7;
}

.auth-benefits b {
    flex: 0 0 25px;
    color: #7fb6ee;
    font-size: 10px;
    letter-spacing: .08em;
    line-height: 1.9;
}

.auth-benefits strong {
    display: block;
    color: #edf5ff;
    font-size: 12.5px;
    font-weight: 700;
}

.auth-aside-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #7f96b5;
    font-size: 10.5px;
}

.auth-aside-footer a {
    color: #a7bdd9;
    text-decoration: none;
}

.auth-aside-footer a:hover { color: #ffffff; }

.auth-main {
    position: relative;
    min-width: 0;
    padding: 30px 58px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fbfdff;
}

.auth-home-link {
    align-self: flex-end;
    color: #73849b;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    transition: color .16s ease;
}

.auth-home-link:hover { color: #2563eb; }

.auth-mobile-brand {
    display: none;
    margin-bottom: 24px;
}

.auth-mobile-brand .auth-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    background: #ffffff;
    border-color: #dbe8f7;
    box-shadow: 0 8px 18px rgba(15, 31, 58, .08);
}

.auth-mobile-brand .auth-logo img { width: 37px; height: 37px; }

.auth-mobile-brand .auth-brand-copy strong { color: #14243d; }
.auth-mobile-brand .auth-brand-copy small { color: #7387a2; }

.auth-main .flash {
    width: min(470px, 100%);
    margin: 14px auto 0;
}

.auth-panel {
    width: min(470px, 100%);
    margin: auto;
    padding: 26px 0 16px;
}

.auth-heading {
    margin-bottom: 24px;
}

.auth-kicker {
    display: block;
    color: #2563eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.auth-heading h2 {
    margin: 10px 0 9px;
    color: #14243d;
    font-size: 31px;
    line-height: 1.25;
    letter-spacing: -.045em;
}

.auth-heading p {
    max-width: 430px;
    margin: 0;
    color: #6f8198;
    font-size: 13px;
    line-height: 1.8;
}

.auth-form { margin: 0; }

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

.auth-field label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    color: #35465c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
}

.auth-field .req { color: #dc2626; }

.auth-optional {
    color: #93a3b7;
    font-size: 10px;
    font-weight: 500;
}

.auth-field .input,
.auth-field .select {
    width: 100%;
    height: 46px;
    padding: 10px 13px;
    border: 1px solid #dbe6f3;
    border-radius: 10px;
    background: #f8fbff;
    color: #14243d;
    font-size: 13.5px;
    font-family: inherit;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.auth-field .input::placeholder { color: #9aabc0; }

.auth-field .input:focus,
.auth-field .select:focus {
    outline: none;
    border-color: #6ca5f5;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.auth-field .help {
    margin-top: 5px;
    color: #8a9bb0;
    font-size: 10.5px;
    line-height: 1.5;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
}

.auth-span-2 { grid-column: 1 / -1; }

.auth-form-section {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 21px 0 12px;
    color: #40536c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.auth-form-section:first-of-type { margin-top: 0; }

.auth-form-section b {
    color: #2563eb;
    font-size: 9px;
    letter-spacing: .1em;
}

.auth-form-section::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5edf7;
}

.auth-form-note {
    margin: 1px 0 16px;
    color: #8293a8;
    font-size: 10.5px;
    line-height: 1.7;
}

.auth-submit {
    width: 100%;
    min-height: 49px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #2563eb;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(37, 99, 235, .20);
    transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.auth-submit:hover {
    background: #174fc4;
    border-color: #174fc4;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, .26);
}

.auth-submit-arrow { font-size: 17px; font-weight: 500; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 23px 0 13px;
    color: #9aabbd;
    font-size: 10px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6edf6;
}

.auth-foot {
    text-align: center;
    color: #76879c;
    font-size: 12px;
}

.auth-foot-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.auth-foot-link:hover { color: #174fc4; }

.auth-main-foot {
    display: none;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e5edf7;
    color: #93a3b7;
    font-size: 10px;
    text-align: center;
}

.auth-main-foot a { color: #7387a2; text-decoration: none; }
.auth-main-foot a:hover { color: #2563eb; }

@media (max-width: 1060px) {
    .auth-page { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }
    .auth-aside { padding: 34px 32px 28px; }
    .auth-aside-copy h1 { font-size: 40px; }
    .auth-benefits li { font-size: 12px; }
    .auth-main { padding-left: 36px; padding-right: 36px; }
}

@media (max-width: 900px) {
    body.auth-body { padding: 20px; align-items: flex-start; }
    .auth-page {
        grid-template-columns: 1fr;
        width: min(620px, 100%);
        min-height: 0;
        margin: auto;
        border-radius: 22px;
    }
    .auth-aside { padding: 22px 28px; }
    .auth-aside-copy,
    .auth-aside-footer { display: none; }
    .auth-main { padding: 26px 32px 24px; justify-content: flex-start; }
    .auth-panel { margin: 14px auto 0; padding: 0; }
    .auth-home-link { align-self: flex-end; margin-top: 14px; }
    .auth-main .flash { margin-left: auto; margin-right: auto; }
    .auth-heading h2 { font-size: 29px; }
}

@media (max-width: 680px) {
    body.auth-body { padding: 0; background: #fbfdff; align-items: flex-start; }
    .auth-page {
        width: 100%;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
    }
    .auth-aside { display: none; }
    .auth-main { min-height: 100vh; padding: 24px 22px 20px; }
    .auth-mobile-brand { display: inline-flex; padding-right: 74px; }
    .auth-home-link {
        position: absolute;
        top: 28px;
        right: 22px;
        margin: 0;
    }
    .auth-panel { width: 100%; margin: 0; padding: 0 0 18px; }
    .auth-main-foot { display: flex; flex-direction: column; gap: 5px; margin-top: auto; }
    .auth-heading h2 { font-size: 27px; }
    .auth-form-grid { grid-template-columns: 1fr; }
    .auth-span-2 { grid-column: auto; }
    .auth-main .flash { width: 100%; margin: 0 0 12px; }
}

@media (max-width: 390px) {
    .auth-main { padding: 20px 18px 16px; }
    .auth-mobile-brand .auth-logo { width: 42px; height: 42px; flex-basis: 42px; }
    .auth-mobile-brand .auth-logo img { width: 34px; height: 34px; }
    .auth-heading h2 { font-size: 25px; }
}
