/* 登录页面样式 */

/* 主要内容区 */
.main-content {
    padding: 40px 0;
}

.login-container {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

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

.login-header h1 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 登录表单 */
.login-form {
    margin-bottom: 30px;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0,102,204,0.1);
}

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

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

.remember-me label {
    color: #666;
    font-weight: normal;
    margin-bottom: 0;
}

.forgot-password a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.form-actions {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0052a3;
}

.btn-full {
    width: 100%;
}

/* 分隔线 */
.login-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

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

.login-divider span {
    position: relative;
    background: #fff;
    padding: 0 20px;
    color: #999;
    font-size: 0.9rem;
}

/* 社交登录 */
.social-login {
    margin-bottom: 30px;
}

.social-login h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

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

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f9f9f9;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-btn:hover {
    background: #f0f0f0;
    border-color: #0066cc;
    color: #0066cc;
}

.social-icon {
    font-size: 1.2rem;
}

/* 登录底部 */
.login-footer {
    text-align: center;
}

.login-footer p {
    color: #666;
}

.login-footer a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* 侧边栏 */
.login-sidebar {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
}

.sidebar-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.login-tips {
    list-style: none;
    margin-bottom: 30px;
}

.login-tips li {
    margin-bottom: 10px;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.login-tips li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.login-benefits {
    margin-top: 30px;
}

.login-benefits h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.login-benefits ul {
    list-style: none;
}

.login-benefits li {
    margin-bottom: 10px;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.login-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-container {
        padding: 30px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        justify-content: center;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}