/* 登录页面专用样式 */
.login-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-card {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header h2 i {
    color: #3498db;
    margin-right: 8px;
}

.login-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.login-header p a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.login-header p a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.social-login {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.7rem 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: white;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn i {
    font-size: 1.2rem;
}

.social-btn.github:hover {
    background-color: #24292e;
    border-color: #24292e;
    color: white;
}

.social-btn.google:hover {
    background-color: #DB4437;
    border-color: #DB4437;
    color: white;
}

.social-btn.qq:hover {
    background-color: #1e9bff;
    border-color: #1e9bff;
    color: white;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider span {
    margin: 0 1rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group label i {
    color: #3498db;
    width: 20px;
    margin-right: 6px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-wrapper:focus-within {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
    background-color: white;
}

.input-wrapper i {
    padding: 0 12px;
    color: #95a5a6;
    font-size: 1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 0;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #333;
    outline: none;
}

.input-wrapper input::placeholder {
    color: #bdc3c7;
    font-size: 0.95rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3498db;
    cursor: pointer;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #2980b9;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(52,152,219,0.2);
}

.login-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.signup-prompt {
    text-align: center;
    margin-top: 2rem;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.signup-prompt a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.signup-prompt a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-card {
        padding: 2rem 1.2rem;
        margin: 1rem;
    }
    
    .social-login {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}