/* ==========================================================================
   会员登录 / 会员注册 页面样式（上优化 GEO）
   页面结构：User.Master + Login/index.aspx、Register/index.aspx
   所有类名统一 auth- 前缀，避免与站点原有 bootstrap / style.css 冲突
   ========================================================================== */

.auth-page {
    --au-primary: #FF4900;
    --au-primary-2: #FF8A1E;
    --au-ink: #1B2130;
    --au-sub: #5A6474;
    --au-muted: #8A93A3;
    --au-line: #E5E9F1;
    --au-soft: #F7F9FC;
    position: relative;
    padding: 170px 18px 96px;
    background:
        radial-gradient(1000px 460px at 10% -10%, #FFF0E4 0%, rgba(255, 240, 228, 0) 62%),
        radial-gradient(820px 420px at 94% 2%, #E9F0FF 0%, rgba(233, 240, 255, 0) 58%),
        linear-gradient(180deg, #FBFCFE 0%, #F3F6FB 100%);
    overflow: hidden;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Verdana, Arial, sans-serif;
}

.auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#DDE3EE 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .45;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 88%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 88%);
    pointer-events: none;
}

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

/* ---------------- 卡片 ---------------- */
.auth-card {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 416px minmax(0, 1fr);
    width: 100%;
    max-width: 1010px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(27, 33, 48, .06);
    box-shadow: 0 34px 80px -36px rgba(23, 36, 74, .35), 0 3px 10px rgba(23, 36, 74, .05);
    overflow: hidden;
}

/* ---------------- 左侧品牌区 ---------------- */
.auth-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px 38px 34px;
    color: #fff;
    background: linear-gradient(158deg, #FF9A2E 0%, #FF6A00 42%, #F03B00 100%);
    overflow: hidden;
}

.auth-side::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -150px;
    top: -130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, 0) 68%);
}

.auth-side::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -170px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .07), 0 0 0 70px rgba(255, 255, 255, .045);
}

.auth-side__inner {
    position: relative;
    z-index: 2;
}

.auth-side__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .32);
    font-size: 12.5px;
    letter-spacing: .5px;
    color: #fff;
}

.auth-side__badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFE07A;
    box-shadow: 0 0 0 4px rgba(255, 224, 122, .28);
}

.auth-side__title {
    margin: 26px 0 0;
    font-size: 30px;
    line-height: 1.4;
    font-weight: 800;
    color: #fff;
    letter-spacing: .5px;
}

.auth-side__title em {
    font-style: normal;
    display: block;
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, .86);
    margin-top: 10px;
    letter-spacing: .3px;
}

.auth-side__list {
    list-style: none;
    margin: 34px 0 0;
    padding: 0;
}

.auth-side__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .95);
}

.auth-side__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .5);
}

.auth-side__list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 6px;
    height: 3px;
    border-left: 1.6px solid #fff;
    border-bottom: 1.6px solid #fff;
    transform: rotate(-45deg);
}

.auth-side__foot {
    position: relative;
    z-index: 2;
    margin-top: 34px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 12.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .92);
    word-break: break-all;
}

.auth-side__foot b {
    color: #FFF3C4;
    font-weight: 700;
}

/* ---------------- 右侧表单区 ---------------- */
.auth-main {
    padding: 46px 52px 42px;
}

.auth-main__head {
    margin-bottom: 26px;
}

.auth-main__eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: 2.4px;
    color: var(--au-primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.auth-main__title {
    margin: 0;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--au-ink);
    letter-spacing: .5px;
}

.auth-main__sub {
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--au-muted);
}

.auth-main__sub a {
    color: var(--au-primary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 73, 0, .45);
    padding-bottom: 1px;
    margin-left: 2px;
}

.auth-main__sub a:hover {
    color: #E23C00;
    border-bottom-color: #E23C00;
}

.auth-note {
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #FFF6F1;
    border-left: 3px solid #FFB27A;
    font-size: 12.5px;
    line-height: 1.75;
    color: #8B5A44;
}

.auth-note b {
    color: var(--au-primary);
    font-weight: 700;
}

/* ---------------- 表单控件 ---------------- */
.auth-field {
    margin-top: 18px;
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #3D4757;
    letter-spacing: .3px;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap > svg,
.auth-input-wrap > .auth-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #A8B0BF;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    transition: stroke .2s;
}

.auth-input-wrap:focus-within > svg,
.auth-input-wrap:focus-within > .auth-ico {
    stroke: var(--au-primary-2);
}

.auth-input {
    display: block;
    width: 100%;
    height: 50px;
    line-height: 48px;
    padding: 0 14px 0 42px;
    font-size: 15px;
    color: var(--au-ink);
    background: #FAFBFD;
    border: 1.5px solid var(--au-line);
    border-radius: 12px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.auth-input::placeholder {
    color: #B4BBC8;
}

.auth-input:hover {
    border-color: #D3D9E5;
}

.auth-input:focus {
    background: #fff;
    border-color: var(--au-primary-2);
    box-shadow: 0 0 0 4px rgba(255, 138, 30, .13);
}

/* 验证码：控件由 Vincent.AutoAuthCode 输出（内部是 table 布局），这里统一改写外观 */
.auth-cap {
    width: 100%;
}

.auth-cap table {
    width: auto;
    height: auto;
    border-collapse: separate;
    border-spacing: 10px 0;
    margin-left: -10px;
}

.auth-cap td {
    padding: 0 !important;
    vertical-align: middle;
}

.auth-cap input.chk {
    display: block;
    width: 168px !important;
    height: 50px !important;
    line-height: 48px !important;
    padding: 0 14px !important;
    font-size: 15px !important;
    color: var(--au-ink);
    background: #FAFBFD;
    border: 1.5px solid var(--au-line);
    border-radius: 12px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.auth-cap input.chk:focus {
    background: #fff;
    border-color: var(--au-primary-2);
    box-shadow: 0 0 0 4px rgba(255, 138, 30, .13);
}

.auth-cap img {
    height: 50px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
    border: 1.5px solid var(--au-line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.auth-cap img:hover {
    border-color: #FFC49B;
}

/* ---------------- 协议勾选 ---------------- */
.auth-agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--au-sub);
}

.auth-agree input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    accent-color: var(--au-primary);
    cursor: pointer;
    flex: none;
}

.auth-agree label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    color: var(--au-sub);
}

.auth-agree a {
    color: var(--au-primary);
    text-decoration: none;
}

.auth-agree a:hover {
    text-decoration: underline;
}

/* ---------------- 按钮 ---------------- */
.auth-btn {
    display: block;
    width: 100%;
    height: 52px;
    margin-top: 24px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF9A2E 0%, #FF4900 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    cursor: pointer;
    box-shadow: 0 14px 26px -12px rgba(255, 73, 0, .72);
    transition: transform .2s, box-shadow .2s, filter .2s;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -12px rgba(255, 73, 0, .78);
    filter: saturate(1.05);
}

.auth-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px -10px rgba(255, 73, 0, .7);
}

.auth-btn:disabled,
.auth-btn.is-disabled {
    background: #DCE1EA;
    color: #fff;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.auth-tip {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #E23C00;
}

.auth-foot {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--au-line);
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--au-muted);
    text-align: center;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
    .auth-page {
        padding: 140px 16px 72px;
    }

    .auth-card {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .auth-side {
        padding: 26px 28px;
    }

    .auth-side__title {
        margin-top: 14px;
        font-size: 22px;
    }

    .auth-side__title em {
        font-size: 14px;
        margin-top: 6px;
    }

    .auth-side__list,
    .auth-side__foot {
        display: none;
    }

    .auth-main {
        padding: 32px 28px 34px;
    }
}

@media (max-width: 560px) {
    .auth-page {
        padding: 120px 12px 56px;
    }

    .auth-card {
        border-radius: 18px;
    }

    .auth-main {
        padding: 26px 20px 28px;
    }

    .auth-main__title {
        font-size: 22px;
    }

    .auth-side {
        padding: 22px 20px;
    }

    .auth-side__title {
        font-size: 19px;
    }

    .auth-cap input.chk {
        width: 132px !important;
    }

    .auth-cap img {
        height: 46px !important;
    }
}
