/* 登录注册区域样式 */
.auth-section {
    padding: 60px 0;
    margin-top: 80px;
    background-image: url('../images/login_bg.png');
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - 80px - 200px);
}

.auth-box {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 30px;
}

/* 标签切换样式 */
.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #DE2910;
    border-bottom: 2px solid #DE2910;
    margin-bottom: -2px;
}

/* 表单样式 */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #DE2910;
    outline: none;
}

.phone-group {
    display: flex;
    gap: 10px;
}

.phone-group input {
    flex: 1;
}

.verify-btn {
    padding: 0 15px;
    background: #FFD700;
    border: none;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

.verify-btn:hover {
    background: #ffd900;
}

/* 表单选项样式 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.forgot-password {
    color: #666;
    text-decoration: none;
}

.forgot-password:hover {
    color: #DE2910;
}

/* 提交按钮样式 */
.submit-btn {
    width: 100%;
    padding: 12px;
    background: #DE2910;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background: #c62410;
}

/* 社交登录样式 */
.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login p {
    color: #666;
    margin-bottom: 15px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #ddd;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}

/* 协议样式 */
.agreement {
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.agreement a {
    color: #DE2910;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .auth-box {
        margin: 0 15px;
    }

    .phone-group {
        flex-direction: column;
    }

    .verify-btn {
        width: 100%;
        padding: 12px;
    }
} 