/**
 * 注册/登录页样式 v2 - 柔和少女漫风格
 */
.auth-wrapper {
    min-height: calc(100vh - 64px - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    position: relative;
}
/* 背景装饰：散落的光斑 */
.auth-wrapper::before {
    content: '';
    position: absolute;
    top: 10%; left: 12%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(251,100,173,0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatA 8s ease-in-out infinite;
}
.auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: 10%; right: 14%;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(123,92,255,0.10), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatB 10s ease-in-out infinite;
}
@keyframes floatA {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -16px); }
}
@keyframes floatB {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-24px, 20px); }
}

.auth-card {
    width: 460px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 44px 40px 36px;
    box-shadow: 0 20px 60px rgba(251,100,173,0.18), 0 4px 16px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
/* 顶部粉色装饰条 */
.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--primary-grad-h);
}
/* 右上角樱花装饰 */
.auth-card::after {
    content: '\f004';  /* fa heart */
    font-family: FontAwesome;
    position: absolute;
    top: 28px; right: 28px;
    font-size: 18px;
    color: var(--primary-soft);
    transform: rotate(-12deg);
    pointer-events: none;
}

.auth-tabs {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-bottom: 32px;
    margin-top: 8px;
    position: relative;
}
.auth-tabs a {
    font-size: 22px;
    font-weight: 600;
    padding-bottom: 12px;
    color: var(--text-tip);
    position: relative;
    transition: color .2s;
    letter-spacing: 1px;
}
.auth-tabs a:hover { color: var(--primary); }
.auth-tabs a.active {
    color: var(--text-main);
    background: var(--primary-grad-h);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.auth-tabs a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 3px;
    background: var(--primary-grad-h);
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(251,100,173,0.40);
}

.auth-form .form-group { margin-bottom: 18px; }
.auth-form .form-label {
    font-size: 13px;
    color: var(--text-sub);
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.auth-form .form-label i {
    color: var(--primary);
    font-size: 13px;
}

.auth-form .form-input {
    padding: 13px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    background: #FFFCFE;
    border-color: var(--border-light);
}
.auth-form .form-input:hover {
    background: #fff;
    border-color: #F2C7DE;
}
.auth-form .form-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(251,100,173,0.12);
}

/* 验证码行 */
.captcha-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.captcha-row .form-input {
    flex: 1;
}
.captcha-img {
    height: 48px;
    width: 120px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    object-fit: cover;
    background: #fff;
    transition: all .2s;
}
.captcha-img:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(251,100,173,0.15);
    transform: translateY(-1px);
}

.btn-sms {
    width: 130px;
    flex-shrink: 0;
    padding: 0 8px;
    height: 48px;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
}
.btn-sms:disabled {
    background: #F8ECF4;
    color: var(--text-tip);
    border-color: var(--border-light);
}

/* 协议勾选 */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
    user-select: none;
}
.checkbox-wrapper input[type=checkbox] {
    margin-right: 8px;
    margin-top: 3px;
    width: 16px; height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}
.checkbox-wrapper a {
    color: var(--primary);
    text-decoration: none;
    transition: color .2s;
}
.checkbox-wrapper a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 提交按钮 */
.auth-form .btn-block {
    margin-top: 8px;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
}

/* 底部提示 */
.auth-tips {
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
    color: var(--text-tip);
}
.auth-tips a {
    color: var(--primary);
    margin-left: 4px;
    font-weight: 500;
    transition: color .2s;
}
.auth-tips a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 第三方登录区（预留，目前为空） */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 18px;
    color: var(--text-tip);
    font-size: 12px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}
