/* =========================
   X超哥会员模块
========================= */

.xcg-auth-wrapper {
    max-width: 1300px;
    margin: auto;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 32px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 500px;
    box-shadow: 0 20px 50px rgba(15,23,42,0.04);
    align-items: stretch;
}
/* 左侧 */

.xcg-auth-left {
    position: relative;
    overflow: hidden;
    background: #eef2f6;
}
/* 图片容器 */

.xcg-auth-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
/* 关键 */

.xcg-auth-image img {
    height: 100%;
    width: auto;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
/* 浅色遮罩 */

.xcg-auth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.70), rgba(255,255,255,0.10)), radial-gradient(circle at top right, rgba(212,166,61,0.10), transparent 32%);
    z-index: 1;
}
/* 内容 */

.xcg-auth-float {
    position: absolute;
    left: 54px;
    top: 26%;
    z-index: 2;
    max-width: 520px;
}
.xcg-auth-logo {
    width: 62px;
    margin-bottom: 24px;
}
.xcg-auth-title {
    font-size: 35px;
    line-height: 1.25;
    font-weight: 700;
    color: #111827;
    letter-spacing: -1px;
}
.xcg-auth-title span {
    color: #ff4d4f;
}
.xcg-auth-desc {
    margin-top: 22px;
    color: #667085;
    line-height: 2;
    font-size: 16px;
}
.xcg-auth-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}
.xcg-auth-tag {
    height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    color: #344054;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(15,23,42,0.04);
}
/* 右侧 */

.xcg-auth-right {
    padding: 56px 48px;
    background: #fff;
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(236,238,242,0.6);
}
.xcg-auth-panel {
    width: 100%;
}
/* tabs */

.xcg-auth-tabs {
    display: flex;
    gap: 36px;
    border-bottom: 1px solid #eceef2;
    margin-bottom: 34px;
}
.xcg-auth-tab {
    border: none;
    background: none;
    height: 56px;
    font-size: 18px;
    color: #98a2b3;
    cursor: pointer;
    position: relative;
}
.xcg-auth-tab.active {
    color: #0f172a;
}
.xcg-auth-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background: #ff4d4f;
}
/* form */

.xcg-auth-form {
    display: none;
}
.xcg-auth-form.active {
    display: block;
}
.xcg-auth-input {
    margin-bottom: 18px;
}
.xcg-auth-input input {
    width: 100%;
    height: 58px;
    border-radius: 18px;
    border: 1px solid #e7eaf0;
    background: #fafafa;
    padding: 0 18px;
    font-size: 15px;
    outline: none;
    transition: .2s;
}
.xcg-auth-input input:focus {
    border-color: #ff4d4f;
    background: #fff;
}
/* 验证码 */
.xcg-auth-captcha-row {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.xcg-auth-captcha-row .xcg-auth-input {
    flex: 1;
    margin-bottom: 0;
}

.xcg-auth-captcha {
    width: 130px;
    height: 58px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e7eaf0;

    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.xcg-auth-captcha span {
    display: contents;
}

/* 图片验证码 */
.xcg-auth-captcha img {
    max-width: 100%;
    height: 80%;
    object-fit: contain;
}

/* 文字验证码 */
.xcg-auth-captcha a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    text-decoration: none;
    color: #111827;
    font-size: 13px;
}
/* options */

.xcg-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
    font-size: 14px;
    color: #667085;
}
.xcg-auth-options a, .xcg-auth-bottom a {
    color: #667085;
    text-decoration: none;
}
/* button */

.xcg-auth-btn {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #111827, #0f172a);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
    box-shadow: 0 10px 20px rgba(15,23,42,0.12);
}
.xcg-auth-btn:hover {
    transform: translateY(-1px);
}
/* bottom */

.xcg-auth-bottom {
    margin-top: 24px;
    text-align: center;
    color: #667085;
    font-size: 14px;
}

/* 响应式 */

@media(max-width:1100px) {
.xcg-auth-wrapper {
    grid-template-columns: 1fr;
    border-radius: 0;
        border: none;
            box-shadow: none;
}
.xcg-auth-float {

    top: 16%;
}
.xcg-auth-right {
    border-left: none;
    border-top: 1px solid #eceef2;
}
.xcg-auth-left {
    min-height: 420px;
}
.xcg-auth-image img {
    width: 100%;
    height: auto;
}
}

@media(max-width:768px) {
    .main {
        padding: 16px 0;
    }
    .xcg-auth-tags {
            margin-top: 16px;
    }
.xcg-auth-right {
    padding: 34px 24px;
}
.xcg-auth-tag{
    font-size: 12px;
}
.xcg-auth-float {
    left: 28px;
    right: 28px;
    top: 12%;
}
.xcg-auth-title {
    font-size: 25px;
}
.xcg-auth-logo {
    width: 52px;
}
.xcg-auth-desc {
    font-size: 15px;
    line-height: 1.9;
}
}