/* 登录和注册页面样式 */

/* 认证页面区域 */
.auth-section {
    padding: 60px 0;
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
}

.auth-wrapper {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

/* 左侧内容 */
.auth-content {
    width: 50%;
    padding: 50px;
}

.auth-header {
    margin-bottom: 30px;
    text-align: center;
}

.auth-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.auth-header p {
    color: #666;
    font-size: 15px;
}

/* 表单样式 */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

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

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

.input-icon {
    position: relative;
}

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

.input-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 15px;
    transition: var(--transition);
}

.input-icon input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(31, 164, 91, 0.1);
    outline: none;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    width: 32px;
}

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

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

.remember-me input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.remember-me span {
    font-size: 14px;
    color: #666;
}

.remember-me span a {
    color: var(--primary-color);
    font-weight: 500;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 25px;
}

.btn-auth:hover {
    background-color: #178149;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(31, 164, 91, 0.2);
}

/* 社交登录 */
.social-login {
    margin-bottom: 25px;
    text-align: center;
}

.social-login p {
    position: relative;
    margin-bottom: 20px;
    color: #888;
    font-size: 14px;
}

.social-login p::before,
.social-login p::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 70px;
    height: 1px;
    background-color: #eaeaea;
}

.social-login p::before {
    left: 30px;
}

.social-login p::after {
    right: 30px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #eaeaea;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.social-btn.wechat {
    color: #07c160;
}

.social-btn.qq {
    color: #12b7f5;
}

.social-btn.weibo {
    color: #e6162d;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.auth-redirect {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.auth-redirect a {
    color: var(--primary-color);
    font-weight: 600;
}

/* 右侧图片 */
.auth-image {
    width: 50%;
    position: relative;
}

.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.overlay-content p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

/* 简化页脚 */
.simple-footer {
    background-color: white;
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
}

.simple-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.simple-footer p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #666;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* 响应式样式 */
@media (max-width: 992px) {
    .auth-content,
    .auth-image {
        width: 100%;
    }
    
    .auth-wrapper {
        flex-direction: column-reverse;
    }
    
    .auth-image {
        height: 200px;
    }
    
    .auth-content {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .auth-section {
        padding: 30px 0;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .social-login p::before,
    .social-login p::after {
        width: 40px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .simple-footer .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
} 