/* 登录注册页面样式 */
.auth-section {
    padding: 80px 0;
    background-color: #f7f9fc;
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
}

.auth-container {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

/* 左侧banner区域 */
.auth-banner {
    width: 40%;
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    padding: 60px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://24344043.s21i.faiusr.com/4/ABUIABAEGAAg0em0vwYo7fPU_QQw6wc45QY.png');
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.auth-image {
    width: 100%;
    height: 220px;
    background: url('https://24344043.s21i.faiusr.com/4/ABUIABAEGAAg0em0vwYo7fPU_QQw6wc45QY.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.register-image {
    background: url('https://24344043.s21i.faiusr.com/4/ABUIABAEGAAg0em0vwYo7fPU_QQw6wc45QY.png');
}

/* 右侧表单区域 */
.auth-form-container {
    flex: 1;
    padding: 40px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.auth-tab {
    padding: 12px 30px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
    color: #666;
}

.auth-tab a {
    color: inherit;
}

.auth-tab.active {
    font-weight: bold;
    color: #1976d2;
}

.auth-tab.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #1976d2;
}

.auth-form {
    max-width: 400px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.form-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
    outline: none;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
}

.verification-group {
    display: flex;
}

.verification-group input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.btn-verify {
    width: 120px;
    background-color: #1976d2;
    color: #fff;
    border: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-verify:hover {
    background-color: #1565c0;
}

.btn-verify.disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #1976d2;
}

.btn-auth {
    width: 100%;
    padding: 12px;
    background-color: #1976d2;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-auth:hover {
    background-color: #1565c0;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #eee;
}

.auth-divider span {
    position: relative;
    background-color: #fff;
    padding: 0 10px;
    color: #999;
    font-size: 14px;
}

.social-auth {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-radius: 5px;
    transition: all 0.3s;
    color: #fff;
    font-size: 14px;
}

.social-btn i {
    font-size: 24px;
    margin-bottom: 8px;
}

.social-btn.wechat {
    background-color: #4CAF50;
}

.social-btn.wechat:hover {
    background-color: #43A047;
}

.social-btn.phone {
    background-color: #FF9800;
}

.social-btn.phone:hover {
    background-color: #F57C00;
}

.social-btn.qq {
    background-color: #1DA1F2;
}

.social-btn.qq:hover {
    background-color: #0D95E8;
}

/* 密码强度指示器 */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 5px;
    background-color: #eee;
    border-radius: 3px;
    margin-bottom: 5px;
}

.strength-level {
    height: 100%;
    width: 33%;
    border-radius: 3px;
    background-color: #F44336;
    transition: all 0.3s;
}

.strength-level.medium {
    width: 66%;
    background-color: #FFC107;
}

.strength-level.strong {
    width: 100%;
    background-color: #4CAF50;
}

.strength-text {
    font-size: 12px;
    color: #999;
}

/* 链接样式 */
.text-link {
    color: #1976d2;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
        max-width: 500px;
    }
    
    .auth-banner {
        width: 100%;
        padding: 40px 20px;
    }
    
    .auth-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .auth-section {
        padding: 40px 0;
    }
    
    .auth-form-container {
        padding: 30px 20px;
    }
    
    .auth-tab {
        padding: 12px 20px;
    }
    
    .social-auth {
        flex-direction: column;
    }
    
    .social-btn {
        flex-direction: row;
        justify-content: center;
    }
    
    .social-btn i {
        margin-right: 10px;
        margin-bottom: 0;
    }
} 