/* 个人资料页样式 */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.main-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.profile-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.profile-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.profile-header p {
    color: #666;
    font-size: 0.9rem;
}

.profile-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    font-weight: 500;
    color: #333;
    width: 120px;
    flex-shrink: 0;
}

.info-item span {
    color: #666;
    word-break: break-all;
}

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

.logout-button {
    display: inline-block;
    background-color: #ff4757;
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.logout-button:hover {
    background-color: #ff3742;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .profile-card {
        padding: 1.5rem;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
    
    .profile-header h3 {
        font-size: 1.3rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-item label {
        width: auto;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .main-content h2 {
        font-size: 1.5rem;
    }
    
    .profile-card {
        padding: 1rem;
    }
    
    .logout-button {
        width: 100%;
        text-align: center;
    }
}